Re: [PATCH wireless 1/2] ath: dfs_pattern_detector: Fix a memory initialization issue

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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




[Index of Archives]     [Kernel Development]     [Kernel Announce]     [Kernel Newbies]     [Linux Networking Development]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Device Mapper]

  Powered by Linux