lkml.org 
[lkml]   [2020]   [Jun]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH net] net: dsa: qca8k: Fix "Unexpected gfp" kernel exception
From
From: Michal Vokáč <michal.vokac@ysoft.com>
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 devm_kzalloc function.
>
> This fix mitigates the following kernel exception:
...
> Fixes: 7e99e3470172 ("net: dsa: remove dsa_switch_alloc helper")
> Cc: <stable@vger.kernel.org>

Please do not CC: stable for networking changes.

> Signed-off-by: Michal Vokáč <michal.vokac@ysoft.com>

Applied and queued up for -stable, thank you.

\
 
 \ /
  Last update: 2020-06-05 00:48    [W:0.612 / U:0.232 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site