Re: [PATCH net] net: dsa: qca8k: Fix "Unexpected gfp" kernel exception

2020-06-04 Thread David Miller
From: Michal Vokáč Date: Wed, 3 Jun 2020 13:31:39 +0200 > Commit 7e99e3470172 ("net: dsa: remove dsa_switch_alloc helper") > replaced the dsa_switch_alloc helper by devm_kzalloc in all DSA > drivers. Unfortunately it introduced a typo in qca8k.c driver and > wrong argument is passed to the

Re: [PATCH net] net: dsa: qca8k: Fix "Unexpected gfp" kernel exception

2020-06-03 Thread Andrew Lunn
On Wed, Jun 03, 2020 at 03:41:21PM +0200, Andrew Lunn wrote: > On Wed, Jun 03, 2020 at 01:31:39PM +0200, Michal Vokáč wrote: > > Commit 7e99e3470172 ("net: dsa: remove dsa_switch_alloc helper") > > replaced the dsa_switch_alloc helper by devm_kzalloc in all DSA > > drivers. Unfortunately it

Re: [PATCH net] net: dsa: qca8k: Fix "Unexpected gfp" kernel exception

2020-06-03 Thread Andrew Lunn
On Wed, Jun 03, 2020 at 01:31:39PM +0200, Michal Vokáč wrote: > Commit 7e99e3470172 ("net: dsa: remove dsa_switch_alloc helper") > replaced the dsa_switch_alloc helper by devm_kzalloc in all DSA > drivers. Unfortunately it introduced a typo in qca8k.c driver and > wrong argument is passed to the

[PATCH net] net: dsa: qca8k: Fix "Unexpected gfp" kernel exception

2020-06-03 Thread Michal Vokáč
Commit 7e99e3470172 ("net: dsa: remove dsa_switch_alloc helper") replaced the dsa_switch_alloc helper by devm_kzalloc in all DSA drivers. Unfortunately it introduced a typo in qca8k.c driver and wrong argument is passed to the devm_kzalloc function. This fix mitigates the following kernel