Skip to contentSkip to conversation

staging: media: atomisp: Fix leading space indentation

PATCH In review Shivani Patel 2 participants 2 messages Nov 10

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

PATCH 1/1 staging: media: atomisp: Fix leading space indentation

Replace spaces at the beginning of the line with a tab in atomisp_find_in_fmt_conv_by_atomisp_in_fmt() function parameter list to conform to the Linux kernel coding style.

---
 drivers/staging/media/atomisp/pci/atomisp_subdev.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/staging/media/atomisp/pci/atomisp_subdev.c +1 -1
index bdd2d9b18..773fcea56 100644
@@ -96,7 +96,7 @@ const struct atomisp_in_fmt_conv *atomisp_find_in_fmt_conv(u32 code)
 }
 
 const struct atomisp_in_fmt_conv *atomisp_find_in_fmt_conv_by_atomisp_in_fmt(
-    enum atomisp_input_format atomisp_in_fmt)
+	enum atomisp_input_format atomisp_in_fmt)
 {
 	int i;
 
Signature · 1 line
2.50.1 (Apple Git-155)
#1 lore raw
Quoted 4 lines · Shivani Patel

Replace spaces at the beginning of the line with a tab in atomisp_find_in_fmt_conv_by_atomisp_in_fmt() function parameter list to conform to the Linux kernel coding style.

Nice try! But, sorry, no.

...

drivers/staging/media/atomisp/pci/atomisp_subdev.c const struct atomisp_in_fmt_conv *atomisp_find_in_fmt_conv(u32 code) · line 99

Quoted 3 lines

const struct atomisp_in_fmt_conv *atomisp_find_in_fmt_conv_by_atomisp_in_fmt(

drivers/staging/media/atomisp/pci/atomisp_subdev.c +1 -1
-    enum atomisp_input_format atomisp_in_fmt)
+       enum atomisp_input_format atomisp_in_fmt)

The whole format of this prototype is broken (in v4l2 is a strong requirement to follow the 80 character per line rule). On top of that is it really the only issue of a kind?

Quoted 1 line

{

...

Also note, this kind of patch for _this_ driver will be ignored, it's not a priority for it *at all*. Try something better like [1].

[1]: https://lore.kernel.org/linux-media/[email protected]/

Signature · 2 lines
With Best Regards,
Andy Shevchenko