brcm2708: update to latest patches from the RPi foundation
[openwrt/staging/lynxis.git] / target / linux / brcm2708 / patches-4.14 / 950-0380-staging-bcm2835-Use-BIT_ULL-macro.patch
1 From 773fe10cd3c4cfc266e7fab793fa8e1c0cda8db3 Mon Sep 17 00:00:00 2001
2 From: =?UTF-8?q?Kilian=20K=C3=B6ppchen?= <kiliankoeppchen@googlemail.com>
3 Date: Sun, 13 May 2018 18:21:34 +0200
4 Subject: [PATCH 380/454] staging: bcm2835: Use BIT_ULL macro
5 MIME-Version: 1.0
6 Content-Type: text/plain; charset=UTF-8
7 Content-Transfer-Encoding: 8bit
8
9 commit 1e85394462d631e72d975556b2514038822fe840 upstream.
10
11 This patch fixes the checkpatch.pl check hint:
12
13 CHECK: Prefer using the BIT_ULL macro
14
15 Signed-off-by: Kilian Köppchen <kiliankoeppchen@googlemail.com>
16 Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
17 ---
18 drivers/staging/vc04_services/bcm2835-camera/mmal-common.h | 2 +-
19 1 file changed, 1 insertion(+), 1 deletion(-)
20
21 --- a/drivers/staging/vc04_services/bcm2835-camera/mmal-common.h
22 +++ b/drivers/staging/vc04_services/bcm2835-camera/mmal-common.h
23 @@ -20,7 +20,7 @@
24 #define MMAL_MAGIC MMAL_FOURCC('m', 'm', 'a', 'l')
25
26 /** Special value signalling that time is not known */
27 -#define MMAL_TIME_UNKNOWN (1LL<<63)
28 +#define MMAL_TIME_UNKNOWN BIT_ULL(63)
29
30 struct mmal_msg_context;
31