Re: [PATCH] tools: Fix incorrect calculation of object size by sizeof

From: Namhyung Kim
Date: Tue Jun 20 2023 - 18:42:43 EST


Hi Arnaldo,

On Tue, Jun 20, 2023 at 3:06 PM Arnaldo Carvalho de Melo
<arnaldo.melo@xxxxxxxxx> wrote:
>
>
>
> On Tue, Jun 20, 2023, 3:19 PM Namhyung Kim <namhyung@xxxxxxxxxx> wrote:
>>
>> Hello,
>>
>> On Mon, Jun 19, 2023 at 1:21 AM Li Dong <lidong@xxxxxxxx> wrote:
>> >
>> > What we need to calculate is the size of the object, not the size of the
>> > pointer.
>> >
>> > Signed-off-by: Li Dong <lidong@xxxxxxxx>
>>
>> Since this problem was introduced in the current dev cycle and not in the
>> mainline yet, I think we can skip the Fixes tag.
>>
>> Acked-by: Namhyung Kim <namhyung@xxxxxxxxxx>
>
>
> I think we should have it anyway, if not for the stable guys to pick it up, for documentation sake :-)

Ok, I'll add that. Thanks for the reply while on your vacation. :)

Thanks,
Namhyung