Search Linux Wireless

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]     [Linux Host AP]     [ATH6KL]     [Linux Wireless Personal Area Network]     [Linux Bluetooth]     [Wireless Regulations]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Hiking]     [MIPS Linux]     [ARM Linux]     [Linux RAID]

  Powered by Linux