The patch titled Subject: mac80211_hwsim: use DEFINE_IDA has been added to the -mm tree. Its filename is mac80211_hwsim-use-define_ida.patch This patch should soon appear at http://ozlabs.org/~akpm/mmots/broken-out/mac80211_hwsim-use-define_ida.patch and later at http://ozlabs.org/~akpm/mmotm/broken-out/mac80211_hwsim-use-define_ida.patch Before you just go and hit "reply", please: a) Consider who else should be cc'ed b) Prefer to cc a suitable mailing list as well c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's *** Remember to use Documentation/process/submit-checklist.rst when testing your code *** The -mm tree is included into linux-next and is updated there every 3-4 working days ------------------------------------------------------ From: Matthew Wilcox <mawilcox@xxxxxxxxxxxxx> Subject: mac80211_hwsim: use DEFINE_IDA This is preferred to opencoding an IDA_INIT. Link: http://lkml.kernel.org/r/20180313132639.17387-2-willy@xxxxxxxxxxxxx Signed-off-by: Matthew Wilcox <mawilcox@xxxxxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- drivers/net/wireless/mac80211_hwsim.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff -puN drivers/net/wireless/mac80211_hwsim.c~mac80211_hwsim-use-define_ida drivers/net/wireless/mac80211_hwsim.c --- a/drivers/net/wireless/mac80211_hwsim.c~mac80211_hwsim-use-define_ida +++ a/drivers/net/wireless/mac80211_hwsim.c @@ -253,7 +253,7 @@ static inline void hwsim_clear_chanctx_m static unsigned int hwsim_net_id; -static struct ida hwsim_netgroup_ida = IDA_INIT; +static DEFINE_IDA(hwsim_netgroup_ida); struct hwsim_net { int netgroup; _ Patches currently in -mm which might be from mawilcox@xxxxxxxxxxxxx are autofs4-use-wait_event_killable.patch radix-tree-use-gfp_zonemask-bits-of-gfp_t-for-flags.patch mac80211_hwsim-use-define_ida.patch arm64-turn-flush_dcache_mmap_lock-into-a-no-op.patch unicore32-turn-flush_dcache_mmap_lock-into-a-no-op.patch export-__set_page_dirty.patch fscache-use-appropriate-radix-tree-accessors.patch xarray-add-the-xa_lock-to-the-radix_tree_root.patch page-cache-use-xa_lock.patch -- To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html