[golan] Fix build error on some versions of gcc
authorChristian Hesse <mail@eworm.de>
Tue, 22 Mar 2016 20:26:06 +0000 (21:26 +0100)
committerMichael Brown <mcb30@ipxe.org>
Wed, 23 Mar 2016 05:59:44 +0000 (05:59 +0000)
commit05027a7a125eee751e7aa2cd93f3a95f683f901a
tree01ae36d0816df2d8200c1be8a5b3ab8cb46f942a
parent0a20373a2fb78622043277b4774676c55bbea22b
[golan] Fix build error on some versions of gcc

Some versions of gcc complain that "'__bswap_variable_32' is static
but used in inline function 'golan_check_rc_and_cmd_status' which is
not static".

Fix by making golan_check_rc_and_cmd_status() a static inline.

Modified-by: Michael Brown <mcb30@ipxe.org>
Signed-off-by: Michael Brown <mcb30@ipxe.org>
src/drivers/infiniband/golan.c