x86/virt/tdx: Minor sparse fixups
Status from this message: Applied to kvm-x86 tdx, with the scopes changed to "KVM: TDX:". Thanks!
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest2 patches 6 repliesApplied
- v12 patches 8 repliesSuperseded
Patches in v2 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | x86/virt/tdx: Remove __user annotation from kernel pointerarch/ | +2 | 3 replies | |
| 2/2 | x86/virt/tdx: Fix sparse warnings from using 0 for NULLarch/ | +3 | 2 replies |
Reviews trailers per patch
All 2 patches have a Reviewed-by or Acked-by.
| Patch | Rick Edgecombe | Kiryl Shutsemau | Xiaoyao Li |
|---|---|---|---|
| 1/2 | R-b | A-b | R-b |
| 2/2 | R-b | A-b | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.
Cover letter [v2][PATCH 0/2] x86/virt/tdx: Minor sparse fixups
Changs from v1:
* Add Fixes/Reviewed-by tags (Rick)
* Add some "backwards" KVM changelog blurbs
--
Sean recently suggested relying on sparse to add type safety in TDX code, hoping that the robots would notice and complain. Well, that plan is not working out so great. TDX is not even sparse clean today and nobody seems to have noticed or cared.
I can see how folks might ignore the 0 vs. NULL complaints. But the misplaced __user is actually bad enough it should be fixed no matter what.
Might as well fix it all up.