[PATCH v3 0/4]
Subsystems (4)
v3 cover [PATCH v3 0/4]
This series addresses several minor coding style issues
in system_global.h as requested during review. The previous consolidated patch has been split into four separate logical changes:
SPDX header style, blank lines removal, block comment reformatting, and a typo correction.
Serban-Pascu Robert (4):
staging: media: atomisp: fix SPDX license identifier style
staging: media: atomisp: fix typo 'uninterruptible' in comment
staging: media: atomisp: reformat block comments
staging: media: atomisp: remove redundant blank lines
drivers/staging/media/atomisp/pci/system_global.h | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-)
Signature · 1 line
2.43.0
PATCH v3 1/4 staging: media: atomisp: fix SPDX license identifier style
Use the C-style block comment for the SPDX license identifier in the header file as per Linux kernel coding standards.
--- drivers/staging/media/atomisp/pci/system_global.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
drivers/staging/media/atomisp/pci/system_global.h +1 -2
@@ -1,5 +1,4 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -// SPDX-License-Identifier: GPL-2.0-or-later +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * (c) 2020 Mauro Carvalho Chehab <[email protected]> */
Signature · 1 line
2.43.0
PATCH v3 2/4 staging: media: atomisp: fix typo
In reply to Serban-Pascu RobertCorrect a spelling error in a comment:
'uninteruptible' -> 'uninterruptible'.
--- drivers/staging/media/atomisp/pci/system_global.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/staging/media/atomisp/pci/system_global.h +1 -1
@@ -28,7 +28,7 @@#define DMA_DDR_TO_HMEM_WORKAROUND /* -* The longest allowed (uninteruptible) bus transfer, does not +* The longest allowed (uninterruptible) bus transfer, does not * take stalling into account */ #define HIVE_ISP_MAX_BURST_LENGTH 1024
Signature · 1 line
2.43.0
PATCH v3 3/4 staging: media: atomisp: reformat block comments
In reply to Serban-Pascu RobertAdd missing asterisks to block comments to conform with the standard Linux kernel comment style.
--- drivers/staging/media/atomisp/pci/system_global.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-)
drivers/staging/media/atomisp/pci/system_global.h +3 -2
@@ -100,8 +100,9 @@ typedef enum { N_GDC_ID } gdc_ID_t; -/* this extra define is needed because we want to use it also -in the preprocessor, and that doesn't work with enums. +/* +* this extra define is needed because we want to use it also +* in the preprocessor, and that doesn't work with enums. */ #define N_GDC_ID_CPP 2
Signature · 1 line
2.43.0
PATCH v3 4/4 staging: media: atomisp: remove redundant blank lines
In reply to Serban-Pascu RobertRemove multiple consecutive blank lines to improve code readability and follow kernel style guidelines.
--- drivers/staging/media/atomisp/pci/system_global.h | 2 -- 1 file changed, 2 deletions(-)
drivers/staging/media/atomisp/pci/system_global.h +0 -2
@@ -218,7 +218,6 @@ typedef enum {#define N_ACQUISITION_UNIT_ID 1#define N_CTRL_UNIT_ID 1 -enum ia_css_isp_memories {IA_CSS_ISP_PMEM0 =0 ,IA_CSS_ISP_DMEM0 ,
@@ -248,7 +247,6 @@ typedef enum { N_ISYS_IRQ_ID } isys_irq_ID_t; -/* * Input-buffer Controller. */
Signature · 1 line
2.43.0