[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <YKJFRBynJXoFtTyy@infradead.org>
Date: Mon, 17 May 2021 11:28:20 +0100
From: Christoph Hellwig <hch@...radead.org>
To: Arnd Bergmann <arnd@...nel.org>
Cc: linux-arch@...r.kernel.org,
Linus Torvalds <torvalds@...ux-foundation.org>,
Vineet Gupta <vgupta@...opsys.com>,
Arnd Bergmann <arnd@...db.de>,
"Richard Russon (FlatCap)" <ldm@...tcap.org>,
Jens Axboe <axboe@...nel.dk>,
linux-ntfs-dev@...ts.sourceforge.net, linux-block@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH v2 08/13] partitions: msdos: fix one-byte get_unaligned()
On Fri, May 14, 2021 at 12:00:56PM +0200, Arnd Bergmann wrote:
> /* Borrowed from msdos.c */
> -#define SYS_IND(p) (get_unaligned(&(p)->sys_ind))
> +#define SYS_IND(p) ((p)->sys_ind)
Please just kill this macro entirely.
> -#define SYS_IND(p) get_unaligned(&p->sys_ind)
> +#define SYS_IND(p) (p->sys_ind)
Same here.
Powered by blists - more mailing lists