From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga11.intel.com ([192.55.52.93]) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1X7IXC-0004Rj-Vx for linux-mtd@lists.infradead.org; Wed, 16 Jul 2014 06:17:47 +0000 Message-ID: <1405491443.1829.22.camel@sauron.fi.intel.com> Subject: Re: [PATCH 1/1] fs/ubifs/super.c: replace count*size kzalloc by kcalloc From: Artem Bityutskiy Reply-To: dedekind1@gmail.com To: Fabian Frederick Date: Wed, 16 Jul 2014 09:17:23 +0300 In-Reply-To: <1405491038.1829.20.camel@sauron.fi.intel.com> References: <1403541683-10898-1-git-send-email-fabf@skynet.be> <1405491038.1829.20.camel@sauron.fi.intel.com> Content-Type: text/plain; charset="UTF-8" Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Cc: linux-mtd@lists.infradead.org, linux-kernel@vger.kernel.org, Adrian Hunter List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Wed, 2014-07-16 at 09:10 +0300, Artem Bityutskiy wrote: > On Mon, 2014-06-23 at 18:41 +0200, Fabian Frederick wrote: > > kcalloc manages count*sizeof overflow. > > > > Cc: Artem Bityutskiy > > Cc: Adrian Hunter > > Cc: linux-mtd@lists.infradead.org > > Signed-off-by: Fabian Frederick > > In the commit message, please, try to not only tell _what_ you do, > but also _why_ you do this. And ideally, but not necessary for this > case, I think, how this was tested (e.g., compile-tested only). Oh, I'm sorry, you did tell "why" in this patch, I was looking an the a different patch of yours (seq_printf). I've applied this patch to linux-ubifs.git, thanks! -- Best Regards, Artem Bityutskiy