[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <GV1PR10MB5892040CAC0FED4857BB771AE0319@GV1PR10MB5892.EURPRD10.PROD.OUTLOOK.COM>
Date: Tue, 25 Oct 2022 11:16:13 +0000
From: "Starke, Daniel" <daniel.starke@...mens.com>
To: Ilpo Järvinen <ilpo.jarvinen@...ux.intel.com>
CC: linux-serial <linux-serial@...r.kernel.org>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
Jiri Slaby <jirislaby@...nel.org>,
LKML <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH v2 3/3] tty: n_gsm: add parameter negotiation support
> > + n1 = FIELD_GET(PN_N_FIELD_N1, le16_to_cpu(params->n_bits));
>
> Should this be using get_unaligned...()?
Is this really necessary if the structure is already __packed? I did not
receive any warning by the compiler.
Best regards,
Daniel Starke
Powered by blists - more mailing lists