Skip to contentSkip to conversation

[PATCH v3 0/4]

PATCH Superseded Serban-Pascu Robert 1 participant 5 messages Mar 29

Subsystems (4)

v3 of 4 Superseded Latest is v4 →

lore
Share & tools
lore
#0 lore raw

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
#1 lore raw

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
index e8a29f73d67a..c99fb649fb5f 100644
@@ -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
#2 lore raw

PATCH v3 2/4 staging: media: atomisp: fix typo

In reply to Serban-Pascu Robert

Correct 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
index c99fb649fb5f..6420436d88f7 100644
@@ -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
#3 lore raw

PATCH v3 3/4 staging: media: atomisp: reformat block comments

In reply to Serban-Pascu Robert

Add 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
index 6420436d88f7..c65a5be8445a 100644
@@ -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
#4 lore raw

PATCH v3 4/4 staging: media: atomisp: remove redundant blank lines

In reply to Serban-Pascu Robert

Remove 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
index c65a5be8445a..d417230faff2 100644
@@ -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