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: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <175097809157.79884.15067500318866840512.b4-ty@kernel.org>
Date: Thu, 26 Jun 2025 15:48:11 -0700
From: Vinod Koul <vkoul@...nel.org>
To: dmaengine@...r.kernel.org, linux-kernel@...r.kernel.org, 
 Yi Sun <yi.sun@...el.com>
Cc: 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 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!

[1/1] dmaengine: idxd: Remove __packed from structures
      commit: 671a654aecc710a278bdd30cfd2afef2d4e0828f

Best regards,
-- 
~Vinod



Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ