summaryrefslogtreecommitdiffstats
path: root/fs/quota/quota_v2.c
diff options
context:
space:
mode:
authorMichael Kelley <mikelley@microsoft.com>2022-02-06 20:36:56 +0100
committerWei Liu <wei.liu@kernel.org>2022-02-07 18:55:30 +0100
commit6bf625a4140f24b490766043b307f8252519578b (patch)
tree2c7e6d3eb00d586d1d3ddd9b201895960d3d4480 /fs/quota/quota_v2.c
parentDrivers: hv: vmbus: Fix memory leak in vmbus_add_channel_kobj (diff)
downloadlinux-6bf625a4140f24b490766043b307f8252519578b.tar.xz
linux-6bf625a4140f24b490766043b307f8252519578b.zip
Drivers: hv: vmbus: Rework use of DMA_BIT_MASK(64)
Using DMA_BIT_MASK(64) as an initializer for a global variable causes problems with Clang 12.0.1. The compiler doesn't understand that value 64 is excluded from the shift at compile time, resulting in a build error. While this is a compiler problem, avoid the issue by setting up the dma_mask memory as part of struct hv_device, and initialize it using dma_set_mask(). Reported-by: Nathan Chancellor <nathan@kernel.org> Reported-by: Vitaly Chikunov <vt@altlinux.org> Reported-by: Jakub Kicinski <kuba@kernel.org> Fixes: 743b237c3a7b ("scsi: storvsc: Add Isolation VM support for storvsc driver") Signed-off-by: Michael Kelley <mikelley@microsoft.com> Reviewed-by: Nathan Chancellor <nathan@kernel.org> Tested-by: Nathan Chancellor <nathan@kernel.org> Link: https://lore.kernel.org/r/1644176216-12531-1-git-send-email-mikelley@microsoft.com Signed-off-by: Wei Liu <wei.liu@kernel.org>
Diffstat (limited to 'fs/quota/quota_v2.c')
0 files changed, 0 insertions, 0 deletions