Search Linux Wireless

Re: [PATCH] brcmsmac: Replace kmalloc/memset with kzalloc

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

 



On 12/15/2011 03:23 AM, Larry Finger wrote:
> In ai_attach(), space is allocated for an si_info struct. Immediately
> after the allocation, routine ai_doattach() is called and that allocated
> space is set to zero. As no other routine calls ai_doattach(), kzalloc()
> can be utilized.
> 

Acked-by: Arend van Spriel <arend@xxxxxxxxxxxx>

> Signed-off-by: Larry Finger <Larry.Finger@xxxxxxxxxxxx>
> ---
> 
> John,
> 
> This is 3.3 material.
> 
> Larry

Thanks, Larry

Gr. AvS

--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux