* [PATCH v2] Drivers: memstick: host: Fixed missing a blank line warning
@ 2014-12-07 9:14 Athira Lekshmi
2014-12-08 8:14 ` Lee Jones
0 siblings, 1 reply; 2+ messages in thread
From: Athira Lekshmi @ 2014-12-07 9:14 UTC (permalink / raw)
To: rogerable; +Cc: linux-kernel, lee.jones, Athira Lekshmi
Added a new line after declaration to fix the warning message
'Missing a blank line after declarations'
Signed-off-by: Athira Lekshmi <andnlnbn18@gmail.com>
---
drivers/memstick/host/rtsx_usb_ms.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/memstick/host/rtsx_usb_ms.c b/drivers/memstick/host/rtsx_usb_ms.c
index a7282b7..cefd745 100644
--- a/drivers/memstick/host/rtsx_usb_ms.c
+++ b/drivers/memstick/host/rtsx_usb_ms.c
@@ -59,6 +59,7 @@ static inline struct device *ms_dev(struct rtsx_usb_ms *host)
static inline void ms_clear_error(struct rtsx_usb_ms *host)
{
struct rtsx_ucr *ucr = host->ucr;
+
rtsx_usb_ep0_write_register(ucr, CARD_STOP,
MS_STOP | MS_CLR_ERR,
MS_STOP | MS_CLR_ERR);
--
1.7.9.5
^ permalink raw reply related [flat|nested] 2+ messages in thread* Re: [PATCH v2] Drivers: memstick: host: Fixed missing a blank line warning
2014-12-07 9:14 [PATCH v2] Drivers: memstick: host: Fixed missing a blank line warning Athira Lekshmi
@ 2014-12-08 8:14 ` Lee Jones
0 siblings, 0 replies; 2+ messages in thread
From: Lee Jones @ 2014-12-08 8:14 UTC (permalink / raw)
To: Athira Lekshmi; +Cc: rogerable, linux-kernel
Not a bad attempt.
The subject line should match the subsystem. You can see what that is
by issuing `git log --oneline -- drivers/memstick/` (supplement
drivers/memstick for the subsystem that you're submitting to).
> Added a new line after declaration to fix the warning message
> 'Missing a blank line after declarations'
>
> Signed-off-by: Athira Lekshmi <andnlnbn18@gmail.com>
> ---
> drivers/memstick/host/rtsx_usb_ms.c | 1 +
> 1 file changed, 1 insertion(+)
Apart from my comment at the top (which a kind maintainer can fix for
you on this occasion I'm sure ;) ), the patch looks good:
Acked-by: Lee Jones <lee.jones@linaro.org>
Now make 3 such changes (you can use checkpatch on some other files)
and send them as a patch-set.
> diff --git a/drivers/memstick/host/rtsx_usb_ms.c b/drivers/memstick/host/rtsx_usb_ms.c
> index a7282b7..cefd745 100644
> --- a/drivers/memstick/host/rtsx_usb_ms.c
> +++ b/drivers/memstick/host/rtsx_usb_ms.c
> @@ -59,6 +59,7 @@ static inline struct device *ms_dev(struct rtsx_usb_ms *host)
> static inline void ms_clear_error(struct rtsx_usb_ms *host)
> {
> struct rtsx_ucr *ucr = host->ucr;
> +
> rtsx_usb_ep0_write_register(ucr, CARD_STOP,
> MS_STOP | MS_CLR_ERR,
> MS_STOP | MS_CLR_ERR);
--
Lee Jones
Linaro STMicroelectronics Landing Team Lead
Linaro.org │ Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-12-08 8:14 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-12-07 9:14 [PATCH v2] Drivers: memstick: host: Fixed missing a blank line warning Athira Lekshmi
2014-12-08 8:14 ` Lee Jones
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox