Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1759510AbaGXQsD (ORCPT ); Thu, 24 Jul 2014 12:48:03 -0400 Received: from unicorn.mansr.com ([81.2.72.234]:36139 "EHLO unicorn.mansr.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756598AbaGXQsB convert rfc822-to-8bit (ORCPT ); Thu, 24 Jul 2014 12:48:01 -0400 From: =?iso-8859-1?Q?M=E5ns_Rullg=E5rd?= To: Nick Krause Cc: Steven Rostedt , Greg KH , John Stultz , paul.gortmaker@windriver.com, gang.chen.5i5j@gmail.com, yongjun_wei@trendmicro.com.cn, Dan Carpenter , tomas.winkler@intel.com, "devel\@driverdev.osuosl.org" , "linux-kernel\@vger.kernel.org" Subject: Re: [PATCH] staging: Change kzalloc to kcalloc References: <1406156581-6052-1-git-send-email-xerofoify@gmail.com> <20140724144725.GA32669@home.goodmis.org> <20140724105132.3cf221c2@gandalf.local.home> Date: Thu, 24 Jul 2014 17:47:57 +0100 In-Reply-To: (Nick Krause's message of "Thu, 24 Jul 2014 12:35:54 -0400") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8BIT Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Nick Krause writes: > On Thu, Jul 24, 2014 at 12:34 PM, M?ns Rullg?rd wrote: >> Nick Krause writes: >> >>> On Thu, Jul 24, 2014 at 12:15 PM, M?ns Rullg?rd wrote: >>>> Steven Rostedt writes: >>>> >>>>> On Thu, 24 Jul 2014 10:47:25 -0400 >>>>> Steven Rostedt 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. > > 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. Most kernel devs most certainly did NOT get started by spamming lkml with unnecessary and incorrect patches despite being repeatedly told to go away and stop wasting everybody's time. -- M?ns Rullg?rd mans@mansr.com -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/