diff options
| author | Rosen, Rami <[email protected]> | 2016-09-02 11:11:57 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2016-09-02 18:00:21 +0000 |
| commit | dd19bde36739702bbd9a832b5d4995bc0fa8d6d7 (patch) | |
| tree | e73d25e2e7a362d5c7bb0778201a98f88e65c541 /net/tipc/node.c | |
| parent | Merge branch 'bpf-perf-hw-sw-events' (diff) | |
| download | kernel-dd19bde36739702bbd9a832b5d4995bc0fa8d6d7.tar.gz kernel-dd19bde36739702bbd9a832b5d4995bc0fa8d6d7.zip | |
switchdev: Fix return value of switchdev_port_fdb_dump().
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 <[email protected]>
Acked-by: Roopa Prabhu <[email protected]>
Reported-by: Eric Dumazet <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/tipc/node.c')
0 files changed, 0 insertions, 0 deletions
