Messages in this thread | | | From | Arnd Bergmann <> | Date | Mon, 17 May 2021 12:44:02 +0200 | Subject | Re: [PATCH v2 08/13] partitions: msdos: fix one-byte get_unaligned() |
| |
On Mon, May 17, 2021 at 12:28 PM Christoph Hellwig <hch@infradead.org> wrote: > > 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.
Done, thanks for taking a look.
Arnd
| |