* [PATCH] drivers: staging: rtl8188eu: include: Fix semicolon after macro definition
@ 2017-01-14 18:17 Kartikey Singh
2017-01-14 18:39 ` Greg KH
0 siblings, 1 reply; 2+ messages in thread
From: Kartikey Singh @ 2017-01-14 18:17 UTC (permalink / raw)
To: gregkh, insafonov, devel, linux-kernel
fixed a trailing semicolon after macro definition
Signed-off-by: Kartikey Singh <dr.kartikeynrc@gmail.com>
---
drivers/staging/rtl8188eu/include/basic_types.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/staging/rtl8188eu/include/basic_types.h b/drivers/staging/rtl8188eu/include/basic_types.h
index 69c4d49..cbd6f92 100644
--- a/drivers/staging/rtl8188eu/include/basic_types.h
+++ b/drivers/staging/rtl8188eu/include/basic_types.h
@@ -128,7 +128,7 @@ value to host byte ordering.*/
( \
LE_BITS_CLEARED_TO_2BYTE(__pstart, __bitoffset, __bitlen) | \
((((u16)__val) & BIT_LEN_MASK_16(__bitlen)) << (__bitoffset)) \
- );
+ )
#define SET_BITS_TO_LE_1BYTE(__pstart, __bitoffset, __bitlen, __val) \
*((u8 *)(__pstart)) = EF1BYTE \
--
2.9.3
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] drivers: staging: rtl8188eu: include: Fix semicolon after macro definition
2017-01-14 18:17 [PATCH] drivers: staging: rtl8188eu: include: Fix semicolon after macro definition Kartikey Singh
@ 2017-01-14 18:39 ` Greg KH
0 siblings, 0 replies; 2+ messages in thread
From: Greg KH @ 2017-01-14 18:39 UTC (permalink / raw)
To: Kartikey Singh; +Cc: insafonov, devel, linux-kernel
On Sat, Jan 14, 2017 at 11:47:56PM +0530, Kartikey Singh wrote:
> fixed a trailing semicolon after macro definition
>
> Signed-off-by: Kartikey Singh <dr.kartikeynrc@gmail.com>
> ---
> drivers/staging/rtl8188eu/include/basic_types.h | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/staging/rtl8188eu/include/basic_types.h b/drivers/staging/rtl8188eu/include/basic_types.h
> index 69c4d49..cbd6f92 100644
> --- a/drivers/staging/rtl8188eu/include/basic_types.h
> +++ b/drivers/staging/rtl8188eu/include/basic_types.h
> @@ -128,7 +128,7 @@ value to host byte ordering.*/
> ( \
> LE_BITS_CLEARED_TO_2BYTE(__pstart, __bitoffset, __bitlen) | \
> ((((u16)__val) & BIT_LEN_MASK_16(__bitlen)) << (__bitoffset)) \
> - );
> + )
This macro, and others in this file, are also never used, can you just
remove them too?
thanks,
greg k-h
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2017-01-14 18:38 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-01-14 18:17 [PATCH] drivers: staging: rtl8188eu: include: Fix semicolon after macro definition Kartikey Singh
2017-01-14 18:39 ` Greg KH
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®