]> git.baikalelectronics.ru Git - kernel.git/commit
gpiolib: Switch to use compat_need_64bit_alignment_fixup() helper
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Wed, 14 Oct 2020 10:33:15 +0000 (13:33 +0300)
committerLinus Walleij <linus.walleij@linaro.org>
Wed, 28 Oct 2020 14:47:00 +0000 (15:47 +0100)
commit6ee44bfccacace6bc02ddd065a0460419342580f
tree7d5c06db2460f1b155e9503efd4602c0626fca5f
parent2d522a4fd6b9147513a09307e9b834cbbf6d1d54
gpiolib: Switch to use compat_need_64bit_alignment_fixup() helper

Use the new compat_need_64bit_alignment_fixup() helper to avoid
ugly ifdeffery in IOCTL compatibility code.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Tested-by: Kent Gibson <warthog618@gmail.com>
Depends-on: 6d2fad890cca ("compat: add a compat_need_64bit_alignment_fixup() helper")
Link: https://lore.kernel.org/r/20201014103315.82662-1-andriy.shevchenko@linux.intel.com
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpiolib-cdev.c