summaryrefslogtreecommitdiff
path: root/drivers/xen/features.c
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2022-06-24 12:22:11 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2022-06-24 12:22:11 -0700
commit2c39d612aa5f34d63d264598692a7e6cd4fb34eb (patch)
tree5005803a3ab9b3a7d69160d63e86d5f70729d5e1 /drivers/xen/features.c
parente946554905c1d04da2a094ce4fdf47708f570bef (diff)
parentdbe97cff7dd9f0f75c524afdd55ad46be3d15295 (diff)
Merge tag 'for-linus-5.19a-rc4-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/xen/tip
Pull xen fixes from Juergen Gross: - A rare deadlock in Qubes-OS between the i915 driver and Xen grant unmapping, solved by making the unmapping fully asynchronous - A bug in the Xen blkfront driver caused by incomplete error handling - A fix for undefined behavior (shifting a signed int by 31 bits) - A fix in the Xen drmfront driver avoiding a WARN() * tag 'for-linus-5.19a-rc4-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/xen/tip: xen/gntdev: Avoid blocking in unmap_grant_pages() drm/xen: Add missing VM_DONTEXPAND flag in mmap callback x86/xen: Remove undefined behavior in setup_features() xen-blkfront: Handle NULL gendisk
Diffstat (limited to 'drivers/xen/features.c')
-rw-r--r--drivers/xen/features.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/xen/features.c b/drivers/xen/features.c
index 7b591443833c..87f1828d40d5 100644
--- a/drivers/xen/features.c
+++ b/drivers/xen/features.c
@@ -42,7 +42,7 @@ void xen_setup_features(void)
if (HYPERVISOR_xen_version(XENVER_get_features, &fi) < 0)
break;
for (j = 0; j < 32; j++)
- xen_features[i * 32 + j] = !!(fi.submap & 1<<j);
+ xen_features[i * 32 + j] = !!(fi.submap & 1U << j);
}
if (xen_pv_domain()) {