mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [2.5 patch] postfix a constant in efi.h with ULL
@ 2003-06-23 19:03 Adrian Bunk
  0 siblings, 0 replies; 3+ messages in thread
From: Adrian Bunk @ 2003-06-23 19:03 UTC (permalink / raw)
  To: Matt Domsch; +Cc: linux-kernel, trivial

The patch below postfixes a constant in efi.h with ULL, on 32 bit archs 
this constant is too big for an int.

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
 

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [2.5 patch] postfix a constant in efi.h with ULL
  2003-06-23 21:27 Matt_Domsch
@ 2003-06-29 22:17 ` Adrian Bunk
  0 siblings, 0 replies; 3+ messages in thread
From: Adrian Bunk @ 2003-06-29 22:17 UTC (permalink / raw)
  To: Matt_Domsch, Marcelo Tosatti; +Cc: linux-kernel

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
 

^ permalink raw reply	[flat|nested] 3+ messages in thread

* RE: [2.5 patch] postfix a constant in efi.h with ULL
@ 2003-06-23 21:27 Matt_Domsch
  2003-06-29 22:17 ` Adrian Bunk
  0 siblings, 1 reply; 3+ messages in thread
From: Matt_Domsch @ 2003-06-23 21:27 UTC (permalink / raw)
  To: bunk; +Cc: linux-kernel, trivial

> 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.

Thanks,
Matt

-- 
Matt Domsch
Sr. Software Engineer
Dell Linux Solutions www.dell.com/linux
Linux on Dell mailing lists @ http://lists.us.dell.com



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2003-06-29 22:03 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-06-23 19:03 [2.5 patch] postfix a constant in efi.h with ULL Adrian Bunk
2003-06-23 21:27 Matt_Domsch
2003-06-29 22:17 ` Adrian Bunk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®