aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/brcm2708/patches-4.14/950-0380-staging-bcm2835-Use-BIT_ULL-macro.patch
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/brcm2708/patches-4.14/950-0380-staging-bcm2835-Use-BIT_ULL-macro.patch')
-rw-r--r--target/linux/brcm2708/patches-4.14/950-0380-staging-bcm2835-Use-BIT_ULL-macro.patch31
1 files changed, 31 insertions, 0 deletions
diff --git a/target/linux/brcm2708/patches-4.14/950-0380-staging-bcm2835-Use-BIT_ULL-macro.patch b/target/linux/brcm2708/patches-4.14/950-0380-staging-bcm2835-Use-BIT_ULL-macro.patch
new file mode 100644
index 0000000000..8adf5e510a
--- /dev/null
+++ b/target/linux/brcm2708/patches-4.14/950-0380-staging-bcm2835-Use-BIT_ULL-macro.patch
@@ -0,0 +1,31 @@
+From 773fe10cd3c4cfc266e7fab793fa8e1c0cda8db3 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Kilian=20K=C3=B6ppchen?= <kiliankoeppchen@googlemail.com>
+Date: Sun, 13 May 2018 18:21:34 +0200
+Subject: [PATCH 380/454] staging: bcm2835: Use BIT_ULL macro
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+commit 1e85394462d631e72d975556b2514038822fe840 upstream.
+
+This patch fixes the checkpatch.pl check hint:
+
+CHECK: Prefer using the BIT_ULL macro
+
+Signed-off-by: Kilian Köppchen <kiliankoeppchen@googlemail.com>
+Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
+---
+ drivers/staging/vc04_services/bcm2835-camera/mmal-common.h | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+--- a/drivers/staging/vc04_services/bcm2835-camera/mmal-common.h
++++ b/drivers/staging/vc04_services/bcm2835-camera/mmal-common.h
+@@ -20,7 +20,7 @@
+ #define MMAL_MAGIC MMAL_FOURCC('m', 'm', 'a', 'l')
+
+ /** Special value signalling that time is not known */
+-#define MMAL_TIME_UNKNOWN (1LL<<63)
++#define MMAL_TIME_UNKNOWN BIT_ULL(63)
+
+ struct mmal_msg_context;
+