[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <475E244E.5040301@cosmosbay.com>
Date: Tue, 11 Dec 2007 06:46:54 +0100
From: Eric Dumazet <dada1@...mosbay.com>
To: YOSHIFUJI Hideaki / 吉藤英明
<yoshfuji@...ux-ipv6.org>
CC: davem@...emloft.net, netdev@...r.kernel.org
Subject: Re: [PATCH] NETLINK : kzalloc() conversion
YOSHIFUJI Hideaki / 吉藤英明 a écrit :
> In article <475E22C2.9050700@...mosbay.com> (at Tue, 11 Dec 2007 06:40:18 +0100), Eric Dumazet <dada1@...mosbay.com> says:
>
>> nl_pid_hash_alloc() is renamed to nl_pid_hash_zalloc().
>> It is now returning zeroed memory to its callers.
>
> I do think you do not need (and you should not) rename it
> because XXX_zalloc() would imply we have raw XXX_alloc().
>
Well, its a static function, so a single grep should satisfy
reader's concern :)
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists