]> err.no Git - linux-2.6/commit
alpha: atomic_add_return() should return int
authorAndrew Morton <akpm@linux-foundation.org>
Tue, 5 Feb 2008 06:30:02 +0000 (22:30 -0800)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Tue, 5 Feb 2008 17:44:21 +0000 (09:44 -0800)
commit26a6e661b118b95422ccfcd10c9997db5967df58
tree949c2a205da22372c603f125e8d1d7c1eaaa67dc
parente820ce72d3aaadb8b53455cbdf213d3439f6c280
alpha: atomic_add_return() should return int

Prevents stuff like

drivers/crypto/hifn_795x.c:2443: warning: format '%d' expects type 'int', but argument 4 has type 'long int'
drivers/crypto/hifn_795x.c:2443: warning: format '%d' expects type 'int', but argument 4 has type 'long int'

(at least).

Cc: Richard Henderson <rth@twiddle.net>
Cc: Ivan Kokshaysky <ink@jurassic.park.msu.ru>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/asm-alpha/atomic.h