[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20240620-omap-usb-tll-counted_by-v1-0-77797834bb9a@gmail.com>
Date: Thu, 20 Jun 2024 23:22:32 +0200
From: Javier Carrasco <javier.carrasco.cruz@...il.com>
To: Tony Lindgren <tony@...mide.com>, Lee Jones <lee@...nel.org>,
Kees Cook <kees@...nel.org>, "Gustavo A. R. Silva" <gustavoars@...nel.org>
Cc: linux-omap@...r.kernel.org, linux-kernel@...r.kernel.org,
linux-hardening@...r.kernel.org,
Javier Carrasco <javier.carrasco.cruz@...il.com>
Subject: [PATCH 0/2] mfd: omap-usb-tll: annotate struct usbtll_omap with
__counted_by
The first patch carries out a straightforward annotation, given that the
number of channels is initialized before any reference to the flexible
array.
I might need some feedback on the second patch. I added a comment
regarding the issue to provide clarification.
Signed-off-by: Javier Carrasco <javier.carrasco.cruz@...il.com>
---
Javier Carrasco (2):
mfd: omap-usb-tll: annotate struct usbtll_omap with __counted_by
mfd: omap-usb-tll: use struct_size to allocate tll
drivers/mfd/omap-usb-tll.c | 7 +++----
1 file changed, 3 insertions(+), 4 deletions(-)
---
base-commit: b992b79ca8bc336fa8e2c80990b5af80ed8f36fd
change-id: 20240620-omap-usb-tll-counted_by-aac57c173018
Best regards,
--
Javier Carrasco <javier.carrasco.cruz@...il.com>
Powered by blists - more mailing lists