[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <ed6a9fe3-9197-4ffd-9fd4-c1a959b7fdc9@quicinc.com>
Date: Mon, 25 Sep 2023 17:27:18 -0700
From: Jeff Johnson <quic_jjohnson@...cinc.com>
To: Christophe JAILLET <christophe.jaillet@...adoo.fr>
CC: <kernel-janitors@...r.kernel.org>, <kvalo@...nel.org>,
<linux-kernel@...r.kernel.org>, <linux-wireless@...r.kernel.org>,
<quic_kvalo@...cinc.com>
Subject: Re: [PATCH wireless 1/2] ath: dfs_pattern_detector: Fix a memory
initialization issue
On 9/25/2023 1:54 PM, Christophe JAILLET wrote:
> Le 25/09/2023 à 20:46, Jeff Johnson a écrit :
>> On 9/23/2023 11:57 PM, Christophe JAILLET wrote:
>>> - cd->detectors = kmalloc_array(dpd->num_radar_types,
>>> + cd->detectors = kcalloc(dpd->num_radar_types,
>>> sizeof(*cd->detectors), GFP_ATOMIC);
>>
>> nit: align descendant on (
>
> Agreed, but as the code is removed in patch 2/2, I thought that having a
> smaller diff was a better option.
>
> Let me know if I should resend the serie.
nevermind, don't bother
Powered by blists - more mailing lists