lkml.org 
[lkml]   [2021]   [May]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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.

\
 
 \ /
  Last update: 2021-05-17 12:30    [W:0.393 / U:0.104 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site