linux-next: build failure after merge of the net-next tree

Mark Brown
2021-08-05T12:02:11Z

Hi all,

After merging the mac80211-next tree, today's linux-next build
(x86 allmodconfig) failed like this:

/tmp/next/build/drivers/net/wwan/mhi_wwan_mbim.c: In function 'mhi_mbim_probe':
/tmp/next/build/drivers/net/wwan/mhi_wwan_mbim.c:611:8: error: too few arguments to function 'mhi_prepare_for_transfer'
err = mhi_prepare_for_transfer(mhi_dev);
^~~~~~~~~~~~~~~~~~~~~~~~
In file included from /tmp/next/build/drivers/net/wwan/mhi_wwan_mbim.c:18:
/tmp/next/build/include/linux/mhi.h:726:5: note: declared here
int mhi_prepare_for_transfer(struct mhi_device *mhi_dev,
^~~~~~~~~~~~~~~~~~~~~~~~

Caused by commit

aa730a9905b7b079ef2ff ("net: wwan: Add MHI MBIM network driver")

That API has been modified in ce78ffa3ef16810 ("net: really fix the
build...") in the net tree. I've used the net-next tree from yesterday.