Thread (4 messages) 4 messages, 4 authors, 2016-09-02

Re: [PATCH net-next] switchdev: Fix return value of switchdev_port_fdb_dump().

flat view

From: David Miller <davem@davemloft.net>
Date: 2016-09-02 18:00:43

From: Rami Rosen <redacted>
Date: Fri,  2 Sep 2016 14:11:57 +0300
This patch fixes the retun value of switchdev_port_fdb_dump() when
CONFIG_NET_SWITCHDEV is not set. This avoids getting "warning: return makes
integer from pointer without a cast [-Wint-conversion]" when building
when CONFIG_NET_SWITCHDEV is not set under several compiler versions.
This warning is due to commit d297653dd6f07afbe7e6c702a4bcd7615680002e
("rtnetlink: fdb dump: optimize by saving last interface markers").

Signed-off-by: Rami Rosen <redacted>
Applied, thanks.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help