]> git.karo-electronics.de Git - karo-tx-linux.git/commit
rwsem-support-optimistic-spinning-checkpatch-fixes
authorAndrew Morton <akpm@linux-foundation.org>
Thu, 22 May 2014 00:54:33 +0000 (10:54 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Fri, 30 May 2014 06:58:40 +0000 (16:58 +1000)
commitc34041af6d0f9fdad0abbf95643fb0fb1e3c745b
treeeb42ff0f8d6826cbfe7b1bfdef10892fe7116bf7
parent3e97e1bd97f2cbd7569547cf85ad31ee2b1df9ea
rwsem-support-optimistic-spinning-checkpatch-fixes

WARNING: line over 80 characters
#205: FILE: kernel/locking/rwsem-xadd.c:275:
+ old = cmpxchg(&sem->count, count, count + RWSEM_ACTIVE_WRITE_BIAS);

WARNING: line over 80 characters
#376: FILE: kernel/locking/rwsem-xadd.c:434:
+  * If there were already threads queued before us and there are no

WARNING: line over 80 characters
#377: FILE: kernel/locking/rwsem-xadd.c:435:
+  * active writers, the lock must be read owned; so we try to wake

total: 0 errors, 3 warnings, 417 lines checked

./patches/rwsem-support-optimistic-spinning.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: Davidlohr Bueso <davidlohr@hp.com>
Cc: Tim Chen <tim.c.chen@linux.intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
kernel/locking/rwsem-xadd.c