From: Jan-Benedict Glaw <jbglaw@lug-owl.de>
To: linux-kernel@vger.kernel.org
Cc: Anton Altaparmakov <antona@users.sourceforge.net>
Subject: [PATCH] ./fs/partitions/ldm.h
Date: Thu, 9 Aug 2001 19:25:31 +0200 [thread overview]
Message-ID: <20010809192531.D25724@lug-owl.de> (raw)
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); \
reply other threads:[~2001-08-09 17:25 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20010809192531.D25724@lug-owl.de \
--to=jbglaw@lug-owl.de \
--cc=antona@users.sourceforge.net \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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®