]> www.infradead.org Git - users/jedix/linux-maple.git/commit
qed: fix old-style function definition
authorArnd Bergmann <arnd@arndb.de>
Fri, 16 Dec 2016 08:47:41 +0000 (09:47 +0100)
committerChuck Anderson <chuck.anderson@oracle.com>
Mon, 6 Mar 2017 05:00:21 +0000 (21:00 -0800)
commitace8c650b6edb82bc2c7a900891819bd8c5a29a5
tree44f558ad7520668c4733e1382754ba0f59f759b9
parentbabf1279723623b4bf83ca7820ba354e5e89744d
qed: fix old-style function definition

Orabug: 25477939

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: fc831825f99e ("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>
(cherry picked from commit 7729bad4fd95e48bcafcb2222c63a8a5cdc42f61)
Signed-off-by: Brian Maly <brian.maly@oracle.com>
drivers/net/ethernet/qlogic/qed/qed_iscsi.c