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

From
Christoph Hellwig <hch@infradead.org>
Date
2021-05-17 10:28:26
Also in
linux-arch, lkml
Reply to
Arnd Bergmann, 2021-05-14
On Fri, May 14, 2021 at 12:00:56PM +0200, Arnd Bergmann wrote:
quoted hunk ↗ jump to hunk
 /* 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.
Thread (16 messages) 16 messages, 7 authors, last reply 2021-12-17
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help