Kernel style uses parenthesis around sizeof.
Signed-off-by: Joe Perches
---
Add check that works for sizeof *foo as well as sizeof foo
scripts/checkpatch.pl |6 ++
1 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl
index
Kernel style uses parenthesis around sizeof.
Signed-off-by: Joe Perches j...@perches.com
---
Add check that works for sizeof *foo as well as sizeof foo
scripts/checkpatch.pl |6 ++
1 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/scripts/checkpatch.pl
2 matches
Mail list logo