public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Marek Vasut <marex@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH RESEND] Fix misuse of calloc() in linux/compat.h header
Date: Sat, 9 Jun 2012 02:04:36 +0200	[thread overview]
Message-ID: <201206090204.36302.marex@denx.de> (raw)
In-Reply-To: <20120608235856.1C1392000F5@gemini.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

      reply	other threads:[~2012-06-09  0:04 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-06-08 17:28 [U-Boot] [PATCH RESEND] Fix misuse of calloc() in linux/compat.h header Marek Vasut
2012-06-08 23:43 ` Wolfgang Denk
2012-06-08 23:48   ` Marek Vasut
2012-06-08 23:58     ` Wolfgang Denk
2012-06-09  0:04       ` Marek Vasut [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=201206090204.36302.marex@denx.de \
    --to=marex@denx.de \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox