summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Morton <akpm@linux-foundation.org>2013-11-07 12:09:59 +1100
committerStephen Rothwell <sfr@canb.auug.org.au>2013-11-11 17:11:00 +1100
commit2cb56450e57a79e8db64fa9e7a961786a77b078a (patch)
tree7e0f90b5d488eff6053842fdbc1ba4fc3ab98b7f
parent8caf617351b63a26f1d853ce3aed70bd0c8f1c05 (diff)
kfifo-api-type-safety-checkpatch-fixes
ERROR: code indent should use tabs where possible #201: FILE: include/linux/kfifo.h:504: + ^Itypeof(__tmp->ptr_const) __buf = (buf); \$ WARNING: please, no space before tabs #201: FILE: include/linux/kfifo.h:504: + ^Itypeof(__tmp->ptr_const) __buf = (buf); \$ WARNING: please, no spaces at the start of a line #201: FILE: include/linux/kfifo.h:504: + ^Itypeof(__tmp->ptr_const) __buf = (buf); \$ total: 1 errors, 2 warnings, 221 lines checked NOTE: whitespace errors detected, you may wish to use scripts/cleanpatch or scripts/cleanfile ./patches/kfifo-api-type-safety.patch has style problems, please review. If any of these errors are false positives, please report them to the maintainer, see CHECKPATCH in MAINTAINERS. Please run checkpatch prior to sending patches Cc: Stefani Seibold <stefani@seibold.net> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
-rw-r--r--include/linux/kfifo.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/kfifo.h b/include/linux/kfifo.h
index b358d9ab675e..552d51efb429 100644
--- a/include/linux/kfifo.h
+++ b/include/linux/kfifo.h
@@ -501,7 +501,7 @@ __kfifo_uint_must_check_helper( \
#define kfifo_in(fifo, buf, n) \
({ \
typeof((fifo) + 1) __tmp = (fifo); \
- typeof(__tmp->ptr_const) __buf = (buf); \
+ typeof(__tmp->ptr_const) __buf = (buf); \
unsigned long __n = (n); \
const size_t __recsize = sizeof(*__tmp->rectype); \
struct __kfifo *__kfifo = &__tmp->kfifo; \