* [PATCH] ./fs/partitions/ldm.h
@ 2001-08-09 17:25 Jan-Benedict Glaw
0 siblings, 0 replies; only message in thread
From: Jan-Benedict Glaw @ 2001-08-09 17:25 UTC (permalink / raw)
To: linux-kernel; +Cc: Anton Altaparmakov
Hi!
The following patch is a compile fix for missing braces around
#define parameters...
MfG, JBG
--- linux/fs/partitions/ldm.h.orig Thu Aug 9 19:20:33 2001
+++ linux/fs/partitions/ldm.h Thu Aug 9 19:19:17 2001
@@ -81,7 +81,7 @@
#define TOC_BITMAP2 "log" /* bitmaps in the TOCBLOCK. */
/* Borrowed from msdos.c */
-#define SYS_IND(p) (get_unaligned(&p->sys_ind))
+#define SYS_IND(p) (get_unaligned(&(p)->sys_ind))
#define NR_SECTS(p) ({ __typeof__(p->nr_sects) __a = \
get_unaligned(&p->nr_sects); \
le32_to_cpu(__a); \
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2001-08-09 17:25 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-08-09 17:25 [PATCH] ./fs/partitions/ldm.h Jan-Benedict Glaw
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®