2024-05-13 17:20:05

by Erick Archer

[permalink] [raw]
Subject: Re: [PATCH] Bluetooth: hci_core: Prefer struct_size over open coded arithmetic

Hi Kees and Luiz,
First of all, thanks for the reviews.

On Mon, May 13, 2024 at 12:31:29PM -0400, Luiz Augusto von Dentz wrote:
> Hi Eric,
>
> On Sun, May 12, 2024 at 11:08 PM Kees Cook <[email protected]> wrote:
> >
> > On Sun, May 12, 2024 at 04:17:06PM +0200, Erick Archer wrote:
> > > [...]
> > > Also remove the "size" variable as it is no longer needed and refactor
> > > the list_for_each_entry() loop to use dr[n] instead of (dr + n).
>
> Have the change above split on its own patch.

Ok, no problem. I will send a new version.

Regards,
Erick