Thread (16 messages) 16 messages, 7 authors, 2021-12-17

Re: [PATCH v2 08/13] partitions: msdos: fix one-byte get_unaligned()

From: Arnd Bergmann <arnd@kernel.org>
Date: 2021-05-17 10:45:14
Also in: linux-arch, lkml

On Mon, May 17, 2021 at 12:28 PM Christoph Hellwig [off-list ref] wrote:
On Fri, May 14, 2021 at 12:00:56PM +0200, Arnd Bergmann wrote:
quoted
 /* 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.
quoted
-#define SYS_IND(p)   get_unaligned(&p->sys_ind)
+#define SYS_IND(p)   (p->sys_ind)
Same here.
Done, thanks for taking a look.

       Arnd
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help