diff options
author | Sudip Mukherjee <sudipm.mukherjee@gmail.com> | 2017-02-23 00:40:35 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2017-02-23 01:41:27 +0100 |
commit | af0de7815e2cdb7b3cf1d5faef0ca45c1dfb3ba2 (patch) | |
tree | 0af9902259cd46e020b4a2188bc8cc52a397da44 /lib/rhashtable.c | |
parent | m32r: use generic current.h (diff) | |
download | linux-af0de7815e2cdb7b3cf1d5faef0ca45c1dfb3ba2.tar.xz linux-af0de7815e2cdb7b3cf1d5faef0ca45c1dfb3ba2.zip |
m32r: fix build warning
Some m32r builds were having a warning:
arch/m32r/include/asm/cmpxchg.h:191:3: warning: value computed is not used
arch/m32r/include/asm/cmpxchg.h:68:3: warning: value computed is not used
Taking the idea from commit e001bbae7147 ("ARM: cmpxchg: avoid warnings
from macro-ized cmpxchg() implementations") the m32r implementation is
changed to use a similar construct with a compound expression instead of
a typecast, which causes the compiler to not complain about an unused
result.
Link: http://lkml.kernel.org/r/1484432664-7015-1-git-send-email-sudipm.mukherjee@gmail.com
Signed-off-by: Sudip Mukherjee <sudip.mukherjee@codethink.co.uk>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'lib/rhashtable.c')
0 files changed, 0 insertions, 0 deletions