staging: tegravde: replace bit assignment with macro
Subsystems (3)
PATCH 1/1 staging: tegravde: replace bit assignment with macro
Replace the bit assignment with the preferred BIT macro. Reported by checkpatch.
Signed-off-by Ioannis Valasakis <[email protected]>
--- drivers/staging/media/tegra-vde/uapi.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/staging/media/tegra-vde/uapi.h +2 -2
@@ -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