./fs/partitions/ldm.h
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); \