dm ioctl: have constant on the right side of the test
authorHeinz Mauelshagen <heinzm@redhat.com>
Tue, 7 Feb 2023 20:47:45 +0000 (21:47 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 19 Jul 2023 14:22:07 +0000 (16:22 +0200)
commit27987794197e71309cb830944a849f470bd20431
tree382cc16b1051b0e60f50e83f4001923900876a43
parentfd4497aca33bec7a0d59000d9c70778deb2e563a
dm ioctl: have constant on the right side of the test

[ Upstream commit 5cae0aa77397015f530aeb34f3ced32db6ac2875 ]

Signed-off-by: Heinz Mauelshagen <heinzm@redhat.com>
Signed-off-by: Mike Snitzer <snitzer@kernel.org>
Stable-dep-of: 249bed821b4d ("dm ioctl: Avoid double-fetch of version")
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/md/dm-ioctl.c