Skip to contentSkip to conversation

staging: tegravde: replace bit assignment with macro

PATCH New Ioannis Valasakis 1 participant 1 message Nov 6, 2018

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 staging: tegravde: replace bit assignment with macro

Replace the bit assignment with the preferred BIT macro. Reported by checkpatch.

---
 drivers/staging/media/tegra-vde/uapi.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/staging/media/tegra-vde/uapi.h +2 -2
index a50c7bcae057..4bce08a7a54c 100644
@@ -13,8 +13,8 @@
 #include <linux/types.h>
 #include <asm/ioctl.h>
 
-#define FLAG_B_FRAME		(1 << 0)
-#define FLAG_REFERENCE		(1 << 1)
+#define FLAG_B_FRAME		BIT(0)
+#define FLAG_REFERENCE		BIT(1)
 
 struct tegra_vde_h264_frame {
 	__s32 y_fd;
Signature · 1 line
2.19.1