From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marek Vasut Date: Sat, 9 Jun 2012 02:04:36 +0200 Subject: [U-Boot] [PATCH RESEND] Fix misuse of calloc() in linux/compat.h header In-Reply-To: <20120608235856.1C1392000F5@gemini.denx.de> References: <1339176514-13137-1-git-send-email-marex@denx.de> <201206090148.40933.marex@denx.de> <20120608235856.1C1392000F5@gemini.denx.de> Message-ID: <201206090204.36302.marex@denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Dear Wolfgang Denk, > Dear Marek Vasut, > > In message <201206090148.40933.marex@denx.de> you wrote: > > > Multiplication being commutative, I see zero effect in this patch? > > > > Weeeeell, not in every algebraic system. It has zero effect, it's only > > about correctness [1]. Will applying this break anything? > > In which way is "a * b" more (or less?) correct than "b * a" ? In our natural integer system, it's all perfectly OK. > What is the difference between allocating a contiguous sequence of > 4096 single bytes, or allocating a single block of size 4096? None. > Best regards, > > Wolfgang Denk Best regards, Marek Vasut