dmaengine: idxd: reformat swerror output to standard Linux bitmap output
authorDave Jiang <dave.jiang@intel.com>
Fri, 3 Mar 2023 21:37:31 +0000 (13:37 -0800)
committerVinod Koul <vkoul@kernel.org>
Fri, 31 Mar 2023 11:56:53 +0000 (17:26 +0530)
commit34ca00662eb7f184f249dd2168ebea78d945e3e4
tree4e4de33bf790e733712cbf4f533357ea5cfc3e6a
parent6fec8938b7b4fe2b2c503fe87b2783a50bff0415
dmaengine: idxd: reformat swerror output to standard Linux bitmap output

SWERROR register is 4 64bit wide registers. Currently the sysfs attribute
just outputs 4 64bit hex integers. Convert to output with %*pb format
specifier.

Signed-off-by: Dave Jiang <dave.jiang@intel.com>
Co-developed-by: Fenghua Yu <fenghua.yu@intel.com>
Signed-off-by: Fenghua Yu <fenghua.yu@intel.com>
Link: https://lore.kernel.org/r/20230303213732.3357494-2-fenghua.yu@intel.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/dma/idxd/idxd.h
drivers/dma/idxd/init.c
drivers/dma/idxd/sysfs.c