Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1MU2l6-00038o-N1 for mharc-grub-devel@gnu.org; Thu, 23 Jul 2009 14:11:12 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MU2l4-000385-7r for grub-devel@gnu.org; Thu, 23 Jul 2009 14:11:10 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MU2kz-00035k-UT for grub-devel@gnu.org; Thu, 23 Jul 2009 14:11:09 -0400 Received: from [199.232.76.173] (port=56660 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MU2kz-00035U-GF for grub-devel@gnu.org; Thu, 23 Jul 2009 14:11:05 -0400 Received: from mail-ew0-f228.google.com ([209.85.219.228]:52468) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MU2kz-00036R-24 for grub-devel@gnu.org; Thu, 23 Jul 2009 14:11:05 -0400 Received: by ewy28 with SMTP id 28so207702ewy.42 for ; Thu, 23 Jul 2009 11:11:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:subject:from:to:in-reply-to :references:content-type:date:message-id:mime-version:x-mailer; bh=MAPF8aVxz+qebpIJJ6LMITMN0d5rbCdoCP7dQqoIIvw=; b=j/h4DH6R/i4oyAPHesjsj+2b2EEVhk3oHNZtTa/AdwBjoTPTaqAjsSIicbLoDjmxmC sFeHE/k4XpmaFQqUOLIJ9pw1KFNZtwnIgOuKPG0F6LWCtDiec6SQSvhni8zcvyy3DS6/ I02nLQyhfQx3jExAv4SyUC0em/dbXwToDS9/E= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=subject:from:to:in-reply-to:references:content-type:date:message-id :mime-version:x-mailer; b=Q2MuykAcllAITlDDDiqlC5S74nBYqWnp4AN2Fv7wd5pMerK6uqFYtA1ccCOhDkvhFT 2w2EoG+/i0++P37v2c2t9CS8tuDnzTF4y/GkFV1tDiSAmqxqpqhOoQj+6nwfsyQtRNeW 5MucylyfEXeVlTZxbBuzh2UEChlLscIBr8sWY= Received: by 10.210.36.10 with SMTP id j10mr3014983ebj.30.1248372661068; Thu, 23 Jul 2009 11:11:01 -0700 (PDT) Received: from ?192.168.1.100? (89.141.11.145.dyn.user.ono.com [89.141.11.145]) by mx.google.com with ESMTPS id 7sm26515eyg.36.2009.07.23.11.10.59 (version=SSLv3 cipher=RC4-MD5); Thu, 23 Jul 2009 11:11:00 -0700 (PDT) From: Javier =?ISO-8859-1?Q?Mart=EDn?= To: The development of GRUB 2 In-Reply-To: References: <1248347411.4660.81.camel@accesodirecto.casa> <1248359851.7855.2.camel@mj> <1248363011.4660.157.camel@accesodirecto.casa> Content-Type: multipart/signed; micalg="pgp-sha1"; protocol="application/pgp-signature"; boundary="=-cZ4uX67N4RIKgyXUTchG" Date: Thu, 23 Jul 2009 20:11:02 +0200 Message-Id: <1248372662.4660.161.camel@accesodirecto.casa> Mime-Version: 1.0 X-Mailer: Evolution 2.26.1 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Subject: Re: [PATCH] Check for the appropriate condition in types.h X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: The development of GRUB 2 List-Id: The development of GRUB 2 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 Jul 2009 18:11:10 -0000 --=-cZ4uX67N4RIKgyXUTchG Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable El jue, 23-07-2009 a las 17:40 +0200, Vladimir 'phcoder' Serbinenko escribi=C3=B3: > Actualy I should have used ALIGN_UP here It's just a random sample of code, brought up by a search for (long). I'm pretty sure more examples abound. > > Regarding the ChangeLog entry, I always have problems with them. What > > about this one?: > > 2009-07-23 Javier Martin > > * include/grub/types.h (GRUB_CPU_SIZEOF_VOID_P): substitute for > This would suggest that you modify GRUB_CPU_SIZEOF_VOID_P macro which > isn't the case. I would prefer something like: > [GRUB_CPU_SIZEOF_VOID_P =3D=3D 8]: Changed to ... > [GRUB_CPU_SIZEOF_LONG =3D=3D 8]: ... this. Ok, let's adopt this form instead. The proposed ChangeLog would now be: 2009-07-23 Javier Martin * include/grub/types.h [GRUB_CPU_SIZEOF_VOID_P =3D=3D 8]: Changed to ... [GRUB_CPU_SIZEOF_LONG =3D=3D 8]: ...this (UINT_TO_PTR): move outside wordsize conditionals (PTR_TO_UINT): new macro --=20 -- Lazy, Oblivious, Recurrent Disaster -- Habbit --=-cZ4uX67N4RIKgyXUTchG Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Esto es una parte de mensaje firmado digitalmente -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) iQIcBAABAgAGBQJKaKexAAoJEKSl+Fbdeo72Ma4P/jOwKK4z9brL3wyW9/IRQffO Tn3SJNU2+/PH+A0dJ4KEnkt7zR4TDxpLeuoF66yhy2e3l3NshjLXq64IFLMy/OLS MP2ERbv/SNGOyh23h0bT6r23xb1qHGKTRgMNYhMuFyjHkOUczcZI2c7S6SZUJFLw QFmjDVq9RdbIOCDRC+MTnlEjKf460c+En8h0zYjlo0R69tTCaPsAcBV2R2QwLxU0 2F7e/8lfHD3M6yTK3E4KOhzYQnh/aLQ7P9sSGJbXc29Bii/ry/q5IIvZc+NinSVj z0f/nTuvuTMBO95sghnx8mIsSbDQJfmodkYAuJM18XihEbod7DCAucW9qn/if3BC I6S7pOTXVW+47vCLAdQZeBU7ZsUMALmy07hkVVRcL53Wn/YIOaJMBOB5vKapk21H Rn8FIlZ9tMquV7i7DUs48in6oWtr/MEY9MoiOCMI8jhcrYy8QyhUt8foaoE9Btrs h94kEEMWfPRasFrGHmnoP885JVqdeWamXFTujNm9vZ8fzVQhuJNuemxCf4P4R112 C165vz1AUmY3vq84KXyVy8UAmtnGPsZjy/rJ+y77WbcOgs1ufs+My+BrJYbaBxwC 3glLaPN1cz6i4Cl6tVZAvSiMFQWrYYe/cHuPwJoMZ32vvC1nW2cHWQZvU4YYY1R/ 9Z7UJhj4Bse/znFvY1YA =DJNN -----END PGP SIGNATURE----- --=-cZ4uX67N4RIKgyXUTchG--