]> git.ipfire.org Git - people/arne_f/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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 8 Apr 2020 07:10:00 +0000 (09:10 +0200)
commit6a708ff02fc756bf8ef15dc7ce7773f53aaf196b
tree202889718f5037875b31a1c37ccc54d38d79a0b5
parent87882e2f474d2c86b37df612c26118ab1d7033a5
coresight: do not use the BIT() macro in the UAPI header

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>
include/uapi/linux/coresight-stm.h