lkml.org 
[lkml]   [2003]   [Jun]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectRe: [2.5 patch] postfix a constant in efi.h with ULL
On Mon, Jun 23, 2003 at 04:27:07PM -0500, Matt_Domsch@Dell.com wrote:
> > The patch below postfixes a constant in efi.h with ULL, on 32 bit archs
> > this constant is too big for an int.
> > -#define GPT_HEADER_SIGNATURE 0x5452415020494645L
> > +#define GPT_HEADER_SIGNATURE 0x5452415020494645ULL
>
> Sounds good. Please submit for 2.4.x also.

Marcelo, this trivial patch is below. Please apply.

> Thanks,
> Matt

cu
Adrian

--- linux-2.5.73-not-full/fs/partitions/efi.h.old 2003-06-23 21:01:29.000000000 +0200
+++ linux-2.5.73-not-full/fs/partitions/efi.h 2003-06-23 21:01:42.000000000 +0200
@@ -40,7 +40,7 @@
#define EFI_PMBR_OSTYPE_EFI_GPT 0xEE

#define GPT_BLOCK_SIZE 512
-#define GPT_HEADER_SIGNATURE 0x5452415020494645L
+#define GPT_HEADER_SIGNATURE 0x5452415020494645ULL
#define GPT_HEADER_REVISION_V1 0x00010000
#define GPT_PRIMARY_PARTITION_TABLE_LBA 1

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
\
 
 \ /
  Last update: 2005-03-22 13:46    [W:0.277 / U:0.572 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site