]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
xpc_sn2: fix max() warning about pointers of different types
authorRobin Holt <holt@sgi.com>
Thu, 2 Apr 2009 23:59:14 +0000 (16:59 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 3 Apr 2009 02:05:07 +0000 (19:05 -0700)
commit6e873ec71d091f52510f6aa9bc71d4732438522a
tree2da4c9f58fb700e0389bd4a31fb6cebeca45e311
parent1bc4faa59b0e6aa5ede2d5d8fa74b6e051b31dca
xpc_sn2: fix max() warning about pointers of different types

Fix a minor compile warning when building on ia64.

drivers/misc/sgi-xp/xpc_sn2.c: In function `xpc_clear_remote_msgqueue_flags_sn2':
drivers/misc/sgi-xp/xpc_sn2.c:1746: warning: comparison of distinct pointer types lacks a cast

Signed-off-by: Robin Holt <holt@sgi.com>
Cc: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/misc/sgi-xp/xpc_sn2.c