staging: emxx_udc: Remove unnecessary blank line
PATCH 1/1 staging: emxx_udc: Remove unnecessary blank line
This patch fixes the checkpatch.pl warning:
Blank lines aren't necessary before a close brace '}'
--- drivers/staging/emxx_udc/emxx_udc.c | 1 - 1 file changed, 1 deletion(-)
drivers/staging/emxx_udc/emxx_udc.c +0 -1
@@ -131,7 +131,6 @@ static void _nbu2ss_dump_register(struct nbu2ss_udc *udc) reg_data =_nbu2ss_readl ( (u32 *)IO_ADDRESS (USB_BASE_ADDRESS + i +12 ));dev_dbg (&udc->dev," %08x\n" , (int )reg_data); - }spin_lock (&udc->lock);
Signature · 1 line
2.7.4
Quoted 13 lines · Rehas Sachdeva
This patch fixes the checkpatch.pl warning:
Blank lines aren't necessary before a close brace '}'Signed-off-by Rehas Sachdeva <[email protected]>--- drivers/staging/emxx_udc/emxx_udc.c | 1 - 1 file changed, 1 deletion(-)drivers/staging/emxx_udc/emxx_udc.c +0
-0
drivers/staging/emxx_udc/emxx_udc.c static void _nbu2ss_dump_register(struct nbu2ss_udc *udc) · line 136
Quoted 7 lines
drivers/staging/emxx_udc/emxx_udc.c +0
-1@@ -131,7 +131,6 @@ static void _nbu2ss_dump_register(struct nbu2ss_udc *udc) reg_data =_nbu2ss_readl ( (u32 *)IO_ADDRESS (USB_BASE_ADDRESS + i +12 ));dev_dbg (&udc->dev," %08x\n" , (int )reg_data); - }spin_lock (&udc->lock);
This looks like a good start :)
For this round, however, you should also submit the patch to the maintainers of the file, as described here:
https://kernelnewbies.org/FirstKernelPatch#submit_a_patch
The tutorial was just updated with this information yesterday, so you may have missed it, if you got started before.
julia
Greg KH
maintainerQuoted 7 lines · Rehas Sachdeva
This patch fixes the checkpatch.pl warning:
Blank lines aren't necessary before a close brace '}'Signed-off-by Rehas Sachdeva <[email protected]>--- drivers/staging/emxx_udc/emxx_udc.c | 1 - 1 file changed, 1 deletion(-)
Nice job, but you forgot to also cc: the maintainer of this file.
Oh, that's me, hm, nevermind...
now applied, nice work as the first submitted patch of the application process, and also the first accepted one into the kernel tree :)
greg k-h