[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20160902.110041.2180958025092176907.davem@davemloft.net>
Date: Fri, 02 Sep 2016 11:00:41 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: rami.rosen@...el.com
Cc: netdev@...r.kernel.org, roopa@...ulusnetworks.com,
eric.dumazet@...il.com, wkok@...ulusnetworks.com
Subject: Re: [PATCH net-next] switchdev: Fix return value of
switchdev_port_fdb_dump().
From: Rami Rosen <rami.rosen@...el.com>
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 <rami.rosen@...el.com>
Applied, thanks.
Powered by blists - more mailing lists