[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <c42f3558-a126-5b68-8203-b937998ec8db@canonical.com>
Date: Tue, 29 May 2018 10:23:40 +0100
From: Colin Ian King <colin.king@...onical.com>
To: Johannes Berg <johannes@...solutions.net>,
Kalle Valo <kvalo@...eaurora.org>,
"David S . Miller" <davem@...emloft.net>,
linux-wireless@...r.kernel.org, netdev@...r.kernel.org
Cc: kernel-janitors@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] mac80211_hwsim: add error check to call to
rhashtable_init
On 29/05/18 10:17, Johannes Berg wrote:
> On Tue, 2018-05-29 at 10:14 +0100, Colin King wrote:
>>
>> @@ -3573,7 +3573,9 @@ static int __init init_mac80211_hwsim(void)
>> hwsim_wq = alloc_workqueue("hwsim_wq", 0, 0);
>> if (!hwsim_wq)
>> return -ENOMEM;
>> - rhashtable_init(&hwsim_radios_rht, &hwsim_rht_params);
>> + err = rhashtable_init(&hwsim_radios_rht, &hwsim_rht_params);
>> + if (err)
>> + return err;
>
> That's missing a workqueue free, but I can fix that while applying if
> you prefer.
Please do. Thanks
>
> johannes
>
Powered by blists - more mailing lists