aboutsummaryrefslogtreecommitdiff
path: root/drivers/usb/cdns3/cdns3-debug.h
diff options
context:
space:
mode:
authorAndrew Cooper <[email protected]>2022-08-10 23:19:09 +0100
committerBorislav Petkov <[email protected]>2022-11-09 13:28:31 +0100
commit48280042f2c6e3ac2cfb1d8b752ab4a7e0baea24 (patch)
treeb1e33fc81bb26327c0f5eedf485db68cb5012164 /drivers/usb/cdns3/cdns3-debug.h
parentf0c4d9fc9cc9462659728d168387191387e903cc (diff)
x86/fpu/xstate: Fix XSTATE_WARN_ON() to emit relevant diagnostics
"XSAVE consistency problem" has been reported under Xen, but that's the extent of my divination skills. Modify XSTATE_WARN_ON() to force the caller to provide relevant diagnostic information, and modify each caller suitably. For check_xstate_against_struct(), this removes a double WARN() where one will do perfectly fine. CC stable as this has been wonky debugging for 7 years and it is good to have there too. Signed-off-by: Andrew Cooper <[email protected]> Signed-off-by: Borislav Petkov <[email protected]> Cc: <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'drivers/usb/cdns3/cdns3-debug.h')
0 files changed, 0 insertions, 0 deletions