diff options
| author | Miquel Raynal <[email protected]> | 2024-09-10 11:11:59 +0200 |
|---|---|---|
| committer | Anatolij Gustschin <[email protected]> | 2024-10-22 19:51:23 +0200 |
| commit | b34849c5ac6dfbcd1493bf07956f738bfffdbf02 (patch) | |
| tree | 5f6a43f2023f033af3271096ebbd9c74fcdce8e9 /include | |
| parent | 6606a6adfaf8517cff7e5fe0fb206beed80087d5 (diff) | |
video: Fix VNBYTES() macro comment
The VNBYTES() macro has been updated to silence possible warnings
regarding authorized (but unusual) uses of this macro, but the comment
was kept unchanged. A year has passed so let's fix the comment now to
avoid confusions.
Fixes: cc05d352fbc ("video: Add parentheses around VNBYTES() macro")
Suggested-by: Tom Rini <[email protected]>
Link: https://lore.kernel.org/u-boot/20240906183432.GG3879073@bill-the-cat/
Signed-off-by: Miquel Raynal <[email protected]>
Reviewed-by: Simon Glass <[email protected]>
Diffstat (limited to 'include')
| -rw-r--r-- | include/video.h | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/include/video.h b/include/video.h index c7afe22d823..4ec71ab16da 100644 --- a/include/video.h +++ b/include/video.h @@ -57,12 +57,8 @@ enum video_log2_bpp { VIDEO_BPP32, }; -/* - * Convert enum video_log2_bpp to bytes and bits. Note we omit the outer - * brackets to allow multiplication by fractional pixels. - */ +/* Convert enum video_log2_bpp to bytes and bits */ #define VNBYTES(bpix) ((1 << (bpix)) / 8) - #define VNBITS(bpix) (1 << (bpix)) enum video_format { |
