lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <aF5E-x9Tj3sT3Nku@ysun46-mobl.ccr.corp.intel.com>
Date: Fri, 27 Jun 2025 15:15:07 +0800
From: Yi Sun <yi.sun@...el.com>
To: Andy Shevchenko <andy.shevchenko@...il.com>, Vinod Koul <vkoul@...nel.org>
CC: <dmaengine@...r.kernel.org>, <linux-kernel@...r.kernel.org>,
	<gordon.jin@...el.com>, <yi.sun@...ux.intel.com>, Andy Shevchenko
	<andriy.shevchenko@...ux.intel.com>, Dave Jiang <dave.jiang@...el.com>,
	Fenghua Yu <fenghuay@...dia.com>
Subject: Re: [PATCH v2] dmaengine: idxd: Remove __packed from structures

On 27.06.2025 09:57, Andy Shevchenko wrote:
>On Fri, Jun 27, 2025 at 9:30 AM Yi Sun <yi.sun@...el.com> wrote:
>>
>> On 27.06.2025 07:05, Andy Shevchenko wrote:
>> >Thu, Jun 26, 2025 at 03:48:11PM -0700, Vinod Koul kirjoitti:
>> >>
>> >> On Fri, 04 Apr 2025 13:36:14 +0800, Yi Sun wrote:
>> >> > The __packed attribute introduces potential unaligned memory accesses
>> >> > and endianness portability issues. Instead of relying on compiler-specific
>> >> > packing, it's much better to explicitly fill structure gaps using padding
>> >> > fields, ensuring natural alignment.
>> >> >
>> >> > Since all previously __packed structures already enforce proper alignment
>> >> > through manual padding, the __packed qualifiers are unnecessary and can be
>> >> > safely removed.
>> >
>> >[...]
>> >
>> >> Applied, thanks!
>> >
>> >Please, don't or fix it ASAP. This patch is broken in the formal things,
>> >i.e. changelog entry must not disrupt SoB chain. I'm not sure if Stephen's
>> >scripts will catch this up on Linux Next integration, though.
>> >
>> >--
>> >With Best Regards,
>> >Andy Shevchenko
>> >
>> >
>>
>> Hi Andy
>>
>>  From what I understand, changelog comments are ignored by git am and do not
>> interfere with the SoB chain. They appear after the "---" separator and
>> aren't part of the actual commit message. So it should be safe and won't
>> break anything during the integration.
>>
>> Let me know if there's something I might have missed.
>
>Please, look how it looks in the repository:
>https://web.git.kernel.org/pub/scm/linux/kernel/git/vkoul/dmaengine.git/commit/?id=671a654aecc710a278bdd30cfd2afef2d4e0828f
>This is wrong.
>
>
>-- 
>With Best Regards,
>Andy Shevchenko

Oops, I see. Something went wrong during the integration.
I didn't notice Vinod's repo.

Thanks
    --Sun, Yi

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ