]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
dm ioctl: remove double parentheses
authorMatthias Kaehlcke <mka@chromium.org>
Mon, 17 Apr 2017 18:05:03 +0000 (11:05 -0700)
committerSasha Levin <alexander.levin@microsoft.com>
Wed, 23 May 2018 01:33:55 +0000 (21:33 -0400)
commit8a354169adedb11bd0f4898980625d6ce4051d14
treee735a049c7d14ce1f58a11b5f356fbd789712f33
parentf052f848d7805ba6219c98cad6a7feec655c8953
dm ioctl: remove double parentheses

[ Upstream commit e36215d87f301f9567c8c99fd34e6c3521a94ddf ]

The extra pair of parantheses is not needed and causes clang to generate
warnings about the DM_DEV_CREATE_CMD comparison in validate_params().

Also remove another double parentheses that doesn't cause a warning.

Signed-off-by: Matthias Kaehlcke <mka@chromium.org>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
drivers/md/dm-ioctl.c