Skip to content

Commit 6aa8b0d

Browse files
Marco Cesatigregkh
authored andcommitted
Staging: rtl8723bs: fix spaces in basic_types.h
This commit fixes the following checkpatch.pl error: ERROR:POINTER_LOCATION: "(foo*)" should be "(foo *)" torvalds#16: FILE: ./include/basic_types.h:16: +#define FIELD_OFFSET(s, field) ((__kernel_ssize_t)&((s*)(0))->field) Reviewed-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Marco Cesati <marcocesati@gmail.com> Link: https://lore.kernel.org/r/20210315170618.2566-40-marcocesati@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
1 parent fc05601 commit 6aa8b0d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/staging/rtl8723bs/include/basic_types.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313

1414
#include <linux/types.h>
1515

16-
#define FIELD_OFFSET(s, field) ((__kernel_ssize_t)&((s*)(0))->field)
16+
#define FIELD_OFFSET(s, field) ((__kernel_ssize_t)&((s *)(0))->field)
1717

1818
#define SIZE_PTR __kernel_size_t
1919
#define SSIZE_PTR __kernel_ssize_t

0 commit comments

Comments
 (0)