diff options
| author | 2021-03-15 18:06:00 +0100 | |
|---|---|---|
| committer | 2021-03-16 12:23:16 +0100 | |
| commit | 6aa8b0d561b6bafe84762e2eee948cd97bb9f6d0 (patch) | |
| tree | f8c281ac793e7ad876bbc023384ac9799d358f09 | |
| parent | Staging: rtl8723bs: fix spaces in HalPwrSeqCmd.h (diff) | |
Staging: rtl8723bs: fix spaces in basic_types.h
This commit fixes the following checkpatch.pl error:
ERROR:POINTER_LOCATION: "(foo*)" should be "(foo *)"
#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>
| -rw-r--r-- | drivers/staging/rtl8723bs/include/basic_types.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/rtl8723bs/include/basic_types.h b/drivers/staging/rtl8723bs/include/basic_types.h index d0b2ec25327a..76304086107a 100644 --- a/drivers/staging/rtl8723bs/include/basic_types.h +++ b/drivers/staging/rtl8723bs/include/basic_types.h @@ -13,7 +13,7 @@ #include <linux/types.h> -#define FIELD_OFFSET(s, field) ((__kernel_ssize_t)&((s*)(0))->field) +#define FIELD_OFFSET(s, field) ((__kernel_ssize_t)&((s *)(0))->field) #define SIZE_PTR __kernel_size_t #define SSIZE_PTR __kernel_ssize_t |
