[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <e0fbb679-54fb-25c6-0e88-012d0490e291@arista.com>
Date: Tue, 17 Dec 2019 15:47:34 +0000
From: Dmitry Safonov <dima@...sta.com>
To: Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
Kukjin Kim <kgene@...nel.org>, Hyunki Koo <kkoos00@...er.com>,
HYUN-KI KOO <hyunki00.koo@...sung.com>,
Shinbeom Choi <sbeom.choi@...sung.com>,
Krzysztof Kozlowski <krzk@...nel.org>
Cc: Jiri Slaby <jslaby@...e.com>, linux-serial@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] tty: serial: samsung_tty: do not abuse the struct
uart_port unused fields
On 12/17/19 2:02 PM, Greg Kroah-Hartman wrote:
> The samsung_tty driver was trying to abuse the struct uart_port by using
> two "empty" bytes for its own use. That's not ok, and was found by
> removing those fields from the structure.
>
> Move the variables into the port-specific structure, which is where
> everything else for this port already is. There is no space wasted here
> as there was an empty "hole" in the structure already for these bytes.
Thanks!
Sorry for not noticing this myself.
> Cc: Kukjin Kim <kgene@...nel.org>
> Cc: Hyunki Koo <kkoos00@...er.com>
> Cc: HYUN-KI KOO <hyunki00.koo@...sung.com>
> Cc: Shinbeom Choi <sbeom.choi@...sung.com>
> Cc: Krzysztof Kozlowski <krzk@...nel.org>
> Cc: Dmitry Safonov <dima@...sta.com>
> Cc: Jiri Slaby <jslaby@...e.com>
> Cc: linux-serial@...r.kernel.org
> Cc: linux-kernel@...r.kernel.org
> Signed-off-by: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
I see you already applied it to your tree, but in case it helps anything:
Reviewed-by: Dmitry Safonov <dima@...sta.com>
Thanks,
Dmitry
Powered by blists - more mailing lists