drm - Fix GENMASK()
authorMatthew Dillon <dillon@apollo.backplane.com>
Tue, 6 Oct 2015 17:18:45 +0000 (10:18 -0700)
committerMatthew Dillon <dillon@apollo.backplane.com>
Tue, 6 Oct 2015 17:18:45 +0000 (10:18 -0700)
commit9d5e6bc557cfee6c25ee63e3004961907642c763
tree82b3a4309a813ea53604b2d340cf9d226bc85ac5
parent30730f992a688a25a07d95f56aa5766c5787efd1
drm - Fix GENMASK()

Fix GENMASK macro bug.  Used in just one place in the register whitelist
code used by the drm ioctl (unclear whether the ioctl was broken by the
bug or not).

Reported-by: Hans Petter Selasky <hselasky@gmail.com>
sys/dev/drm/include/linux/bitops.h