]> git.baikalelectronics.ru Git - kernel.git/commit
qed: fix old-style function definition
authorArnd Bergmann <arnd@arndb.de>
Fri, 16 Dec 2016 08:47:41 +0000 (09:47 +0100)
committerDavid S. Miller <davem@davemloft.net>
Sun, 18 Dec 2016 02:37:41 +0000 (21:37 -0500)
commit7e1d53ba2a5d7fda70ed5bd6fdd1531e36978913
treeab4bd8641b04a4e17b9740b8c7c5e05995f9b13f
parent1e560e06bc8f196b9b3d0af56fe8aafbd2e15399
qed: fix old-style function definition

The newly added file causes a harmless warning, with "make W=1":

drivers/net/ethernet/qlogic/qed/qed_iscsi.c: In function 'qed_get_iscsi_ops':
drivers/net/ethernet/qlogic/qed/qed_iscsi.c:1268:29: warning: old-style function definition [-Wold-style-definition]

This makes it a proper prototype.

Fixes: dc70fa7ed164 ("qed: Add support for hardware offloaded iSCSI.")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/qlogic/qed/qed_iscsi.c