From: Pedro Guilherme Siqueira Moreira <pedro.guilherme@espectro.eng.br>
To: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Cc: mchehab@kernel.org, linux-media@vger.kernel.org,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH 1/3] media: uvc_driver: fix missing newline after declarations
Date: Mon, 24 Oct 2022 22:53:53 -0300 [thread overview]
Message-ID: <ffe53ee7-cd96-6183-bf71-81af2d728ec2@espectro.eng.br> (raw)
In-Reply-To: <Y1c9nS04fpoLqPVe@pendragon.ideasonboard.com>
Hi Laurent,
Thanks for the heads up! I'm fixing it right now.
On 10/24/22 22:36, Laurent Pinchart wrote:
> Hi Pedro,
>
> Thank you for the patch.
>
> On Mon, Oct 24, 2022 at 10:03:01PM -0300, Pedro Guilherme Siqueira Moreira wrote:
>
> The code change looks good, but the commit message is missing. Same for
> the other two patches in the series.
>
>> Signed-off-by: Pedro Guilherme Siqueira Moreira <pedro.guilherme@espectro.eng.br>
>> ---
>> drivers/media/usb/uvc/uvc_driver.c | 4 ++++
>> 1 file changed, 4 insertions(+)
>>
>> diff --git a/drivers/media/usb/uvc/uvc_driver.c b/drivers/media/usb/uvc/uvc_driver.c
>> index 215fb483efb0..b591ad823c66 100644
>> --- a/drivers/media/usb/uvc/uvc_driver.c
>> +++ b/drivers/media/usb/uvc/uvc_driver.c
>> @@ -732,6 +732,7 @@ static int uvc_parse_streaming(struct uvc_device *dev,
>> /* Parse the alternate settings to find the maximum bandwidth. */
>> for (i = 0; i < intf->num_altsetting; ++i) {
>> struct usb_host_endpoint *ep;
>> +
>> alts = &intf->altsetting[i];
>> ep = uvc_find_endpoint(alts,
>> streaming->header.bEndpointAddress);
>> @@ -1859,12 +1860,14 @@ static void uvc_delete(struct kref *kref)
>>
>> list_for_each_safe(p, n, &dev->chains) {
>> struct uvc_video_chain *chain;
>> +
>> chain = list_entry(p, struct uvc_video_chain, list);
>> kfree(chain);
>> }
>>
>> list_for_each_safe(p, n, &dev->entities) {
>> struct uvc_entity *entity;
>> +
>> entity = list_entry(p, struct uvc_entity, list);
>> #ifdef CONFIG_MEDIA_CONTROLLER
>> uvc_mc_cleanup_entity(entity);
>> @@ -1874,6 +1877,7 @@ static void uvc_delete(struct kref *kref)
>>
>> list_for_each_safe(p, n, &dev->streams) {
>> struct uvc_streaming *streaming;
>> +
>> streaming = list_entry(p, struct uvc_streaming, list);
>> usb_driver_release_interface(&uvc_driver.driver,
>> streaming->intf);
>
next prev parent reply other threads:[~2022-10-25 2:14 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-10-25 1:03 Pedro Guilherme Siqueira Moreira
2022-10-25 1:03 ` [PATCH 2/3] media: uvc_driver: fix assignments inside if statements Pedro Guilherme Siqueira Moreira
2022-10-25 1:03 ` [PATCH 3/3] media: uvc_driver: fix usage of symbolic permissions to octal Pedro Guilherme Siqueira Moreira
2022-10-25 1:36 ` [PATCH 1/3] media: uvc_driver: fix missing newline after declarations Laurent Pinchart
2022-10-25 1:53 ` Pedro Guilherme Siqueira Moreira [this message]
2022-10-25 2:19 ` [PATCH v2 " Pedro Guilherme Siqueira Moreira
2022-10-25 2:19 ` [PATCH v2 2/3] media: uvc_driver: fix assignment inside if condition Pedro Guilherme Siqueira Moreira
2022-10-25 2:19 ` [PATCH v2 3/3] media: uvc_driver: fix usage of symbolic permissions to octal Pedro Guilherme Siqueira Moreira
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=ffe53ee7-cd96-6183-bf71-81af2d728ec2@espectro.eng.br \
--to=pedro.guilherme@espectro.eng.br \
--cc=laurent.pinchart@ideasonboard.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-media@vger.kernel.org \
--cc=mchehab@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®