The Linux Kernel Mailing List
 help / color / mirror / Atom feed
* [PATCH] partitions/LDM: build fix
@ 2007-05-22  4:28 Jeff Garzik
  2007-05-22  7:17 ` Anton Altaparmakov
  0 siblings, 1 reply; 2+ messages in thread
From: Jeff Garzik @ 2007-05-22  4:28 UTC (permalink / raw)
  To: Andrew Morton, Linus Torvalds; +Cc: LKML


This from a "tested" patch...

Signed-off-by: Jeff Garzik <jeff@garzik.org>

diff --git a/fs/partitions/ldm.c b/fs/partitions/ldm.c
index c387812..99873a2 100644
--- a/fs/partitions/ldm.c
+++ b/fs/partitions/ldm.c
@@ -158,7 +158,7 @@ static bool ldm_parse_privhead(const u8 *data, struct privhead *ph)
 		/* Warn the user and continue, carefully. */
 		ldm_info("Database is normally %u bytes, it claims to "
 			"be %llu bytes.", LDM_DB_SIZE,
-			udunsigned long long)ph->config_size);
+			(unsigned long long)ph->config_size);
 	}
 	if ((ph->logical_disk_size == 0) || (ph->logical_disk_start +
 			ph->logical_disk_size > ph->config_start)) {

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

* Re: [PATCH] partitions/LDM: build fix
  2007-05-22  4:28 [PATCH] partitions/LDM: build fix Jeff Garzik
@ 2007-05-22  7:17 ` Anton Altaparmakov
  0 siblings, 0 replies; 2+ messages in thread
From: Anton Altaparmakov @ 2007-05-22  7:17 UTC (permalink / raw)
  To: Jeff Garzik; +Cc: Andrew Morton, Linus Torvalds, LKML

On 22 May 2007, at 05:28, Jeff Garzik wrote:
> This from a "tested" patch...

I had already posted a fix earlier:

	From: 	  Anton Altaparmakov <aia21@cam.ac.uk>
	Subject: 	Fix to the fix! - Re: [2.6 PATCH] LDM: Fix for Windows  
Vista dynamic disks
	Date: 	21 May 2007 21:13:37 BDT

> Signed-off-by: Jeff Garzik <jeff@garzik.org>
>
> diff --git a/fs/partitions/ldm.c b/fs/partitions/ldm.c
> index c387812..99873a2 100644
> --- a/fs/partitions/ldm.c
> +++ b/fs/partitions/ldm.c
> @@ -158,7 +158,7 @@ static bool ldm_parse_privhead(const u8 *data,  
> struct privhead *ph)
>  		/* Warn the user and continue, carefully. */
>  		ldm_info("Database is normally %u bytes, it claims to "
>  			"be %llu bytes.", LDM_DB_SIZE,
> -			udunsigned long long)ph->config_size);
> +			(unsigned long long)ph->config_size);
>  	}
>  	if ((ph->logical_disk_size == 0) || (ph->logical_disk_start +
>  			ph->logical_disk_size > ph->config_start)) {

Best regards,

	Anton
-- 
Anton Altaparmakov <aia21 at cam.ac.uk> (replace at with @)
Unix Support, Computing Service, University of Cambridge, CB2 3QH, UK
Linux NTFS maintainer, http://www.linux-ntfs.org/



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

end of thread, other threads:[~2007-05-22  7:18 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-05-22  4:28 [PATCH] partitions/LDM: build fix Jeff Garzik
2007-05-22  7:17 ` Anton Altaparmakov

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