nvme: Check size of command structures
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest0 of 2 patches 0 repliesNew
Patches in v1 No applies recorded yet
None of the 2 patches the cover letter announces are in this archive.
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/2] nvme: Check size of command structures
I'm not sure we are going a little too crazy with all these BUILD_BUG_ONs. It would be a lot easier if we could just throw the assert into the struct defintion somehow, but that would need compiler magic..
Quoted 4 lines · Minwoo Im
Many command structures have been added in
linux/nvme.hwihtoutBUILD_BUG_ON()check. It also needs to be assured to avoid unintended growth of structures.
Quoted 10 lines
Minwoo Im (2):
nvme: fabrics: Make sure command struct size fixed
nvme: pci: Make sure command struct size fixeddrivers/nvme/host/fabrics.c | 1 + drivers/nvme/host/pci.c | 7 +++++++ 2 files changed, 8 insertions(+)Signature · 1 line
2.17.1
---end quoted text---