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:08:42 +0000 (09:08 +0200)
commit1843cba24aefd799701d35ea4c0dc3b467f6eaa7
tree662b34291e6fc408c595bf6588343547068eb8b6
parentb5212116392e0dd50bdf868a2d94b289e5f123c4
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