From mboxrd@z Thu Jan 1 00:00:00 1970 From: Wolfgang Denk Date: Fri, 11 May 2012 22:13:07 +0200 Subject: [U-Boot] [PATCH v7 03/23] Add abs() macro to return absolute value In-Reply-To: References: <1336685875-13177-4-git-send-email-sjg@chromium.org> <20120511191626.D331620348D@gemini.denx.de> Message-ID: <20120511201307.5D9A7206496@gemini.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 Simon Glass, In message you wrote: > > So I will go back to the more complicated way, and this time just copy what > the kernel does. The difference is that it doesn't use typeof(). I have to admit that I tend to prefer the typeof() version, and I wonder why the kernel doesn;t use that. I guess there are reasons for that. Does anybody know what these might be? Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de Reader, suppose you were an idiot. And suppose you were a member of Congress. But I repeat myself. - Mark Twain