From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stephen Rothwell Subject: linux-next: build warning after merge of the wireless-drivers-next tree Date: Fri, 8 Jul 2016 11:32:14 +1000 Message-ID: <20160708113214.7f371cb3@canb.auug.org.au> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Return-path: Sender: linux-kernel-owner@vger.kernel.org To: Kalle Valo , linux-wireless@vger.kernel.org, David Miller , netdev@vger.kernel.org, Johannes Berg Cc: linux-next@vger.kernel.org, linux-kernel@vger.kernel.org, Xinming Hu , Amitkumar Karwar , Avraham Stern , David Spinadel , Assaf Krauss , Luca Coelho List-Id: linux-next.vger.kernel.org Hi all, After merging the wireless-drivers-next tree, today's linux-next build (arm multi_v7_defconfig, x86_64 allmodconfig) produced this warning: drivers/net/wireless/marvell/mwifiex/scan.c: In function 'mwifiex_cancel_scan': drivers/net/wireless/marvell/mwifiex/scan.c:2031:44: warning: passing argument 2 of 'cfg80211_scan_done' makes pointer from integer without a cast [-Wint-conversion] cfg80211_scan_done(priv->scan_request, 1); ^ In file included from include/net/mac80211.h:23:0, from drivers/net/wireless/marvell/mwifiex/decl.h:30, from drivers/net/wireless/marvell/mwifiex/scan.c:20: include/net/cfg80211.h:4104:6: note: expected 'struct cfg80211_scan_info *' but argument is of type 'int' void cfg80211_scan_done(struct cfg80211_scan_request *request, ^ Introduced by commit a9c790ba23eb ("mwifiex: factor out mwifiex_cancel_scan") interacting with commit 1d76250bd34a ("nl80211: support beacon report scanning") from the net-next (and mac80211-next) tree. This will need some merge fix patch ... please send me or Dave one. -- Cheers, Stephen Rothwell