Skip to contentSkip to conversation

./fs/partitions/ldm.h

PATCH New Jan-Benedict Glaw 1 participant 1 message Aug 9, 2001

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ./fs/partitions/ldm.h

Hi!

The following patch is a compile fix for missing braces around #define parameters...

MfG, JBG

fs/partitions/ldm.h renamed from fs/partitions/ldm.h.orig +1 -1
@@ -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);		\