linux-hardening.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] mfd: omap-usb-tll: annotate struct usbtll_omap with __counted_by
@ 2024-06-20 21:22 Javier Carrasco
  2024-06-20 21:22 ` [PATCH 1/2] " Javier Carrasco
  2024-06-20 21:22 ` [PATCH 2/2] mfd: omap-usb-tll: use struct_size to allocate tll Javier Carrasco
  0 siblings, 2 replies; 9+ messages in thread
From: Javier Carrasco @ 2024-06-20 21:22 UTC (permalink / raw)
  To: Tony Lindgren, Lee Jones, Kees Cook, Gustavo A. R. Silva
  Cc: linux-omap, linux-kernel, linux-hardening, Javier Carrasco

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@gmail.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@gmail.com>


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2024-06-26 19:03 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-06-20 21:22 [PATCH 0/2] mfd: omap-usb-tll: annotate struct usbtll_omap with __counted_by Javier Carrasco
2024-06-20 21:22 ` [PATCH 1/2] " Javier Carrasco
2024-06-26 15:28   ` (subset) " Lee Jones
2024-06-20 21:22 ` [PATCH 2/2] mfd: omap-usb-tll: use struct_size to allocate tll Javier Carrasco
2024-06-26 15:26   ` Lee Jones
2024-06-26 17:26     ` Javier Carrasco
2024-06-26 17:57   ` Jann Horn
2024-06-26 18:43   ` Kees Cook
2024-06-26 19:03     ` Javier Carrasco

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).