mbox series

[0/2] mfd: omap-usb-tll: annotate struct usbtll_omap with __counted_by

Message ID 20240620-omap-usb-tll-counted_by-v1-0-77797834bb9a@gmail.com (mailing list archive)
Headers show
Series mfd: omap-usb-tll: annotate struct usbtll_omap with __counted_by | expand

Message

Javier Carrasco June 20, 2024, 9:22 p.m. UTC
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,