]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commit
coresight: do not use the BIT() macro in the UAPI header
authorEugene Syromiatnikov <esyr@redhat.com>
Tue, 24 Mar 2020 04:22:13 +0000 (05:22 +0100)
committerStefan Bader <stefan.bader@canonical.com>
Tue, 5 May 2020 10:32:22 +0000 (12:32 +0200)
commit3051f46ae29a638ea64d73bfd8fb843d9bf7e183
tree967f466b2b61f30e64228cf21ae053e0fda7a675
parent2d1a7ec6224cc55ef217a5eee05348d1d359bc66
coresight: do not use the BIT() macro in the UAPI header

BugLink: https://bugs.launchpad.net/bugs/1871651
commit 9b6eaaf3db5e5888df7bca7fed7752a90f7fd871 upstream.

The BIT() macro definition is not available for the UAPI headers
(moreover, it can be defined differently in the user space); replace
its usage with the _BITUL() macro that is defined in <linux/const.h>.

Fixes: 237483aa5cf4 ("coresight: stm: adding driver for CoreSight STM component")
Signed-off-by: Eugene Syromiatnikov <esyr@redhat.com>
Cc: stable <stable@vger.kernel.org>
Reviewed-by: Mathieu Poirier <mathieu.poirier@linaro.org>
Link: https://lore.kernel.org/r/20200324042213.GA10452@asgard.redhat.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: Kelsey Skunberg <kelsey.skunberg@canonical.com>
include/uapi/linux/coresight-stm.h