[PATCH] staging: Change kzalloc to kcalloc

Nick Krause xerofoify at gmail.com
Thu Jul 24 16:35:54 UTC 2014


On Thu, Jul 24, 2014 at 12:34 PM, Måns Rullgård <mans at mansr.com> wrote:
> Nick Krause <xerofoify at gmail.com> writes:
>
>> On Thu, Jul 24, 2014 at 12:15 PM, Måns Rullgård <mans at mansr.com> wrote:
>>> Steven Rostedt <rostedt at goodmis.org> writes:
>>>
>>>> On Thu, 24 Jul 2014 10:47:25 -0400
>>>> Steven Rostedt <rostedt at goodmis.org> wrote:
>>>>
>>>>> The three parameters are the number of elements, the size of each individual
>>>>> element, and then finally the flags used on how to allocate that memory.
>>>>> I have to say, you did get the flags part correct.
>>>>>
>>>>> Now lets look at what you did. For the size you had:
>>>>
>>>> That should have read "For the count you had:"
>>>>
>>>> Oh well, you get my point anyway.
>>>
>>> I have some doubts about the last bit.
>>
>> I am have this discussion with other kernel developers and just
>> because I send out one patch as a newbie like this doesn't mean I
>> don't known C.
>
> Now I no longer have doubts; I know for certain that the point didn't
> get across.
>
> --
> Måns Rullgård
> mans at mansr.com

I get your point try other things but I talked to other kernel developers and
most of them seemed to get this feedback to when they started.
Nick


More information about the devel mailing list