linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 00/12] media: atomisp: Codingstyle
@ 2020-12-14 11:01 Philipp Gerlesberger
  2020-12-14 11:01 ` [PATCH v2 01/12] media: atomisp: Convert comments to C99 initializers Philipp Gerlesberger
                   ` (11 more replies)
  0 siblings, 12 replies; 20+ messages in thread
From: Philipp Gerlesberger @ 2020-12-14 11:01 UTC (permalink / raw)
  To: linux-kernel
  Cc: Philipp Gerlesberger, ij72uhux, linux-media, devel, linux-kernel,
	gregkh, sakari.ailus, mchehab

Hello!

This series fix some codingstyle errors in the files
rmgr_vbuf.c, ia_css_rmgr.h, timer.c, spctrl.c and queue.c
in the drivers/staging/media area.

V2:
[Patch 1/12] Also remove NULL, 0 and false members to make it
	     C99 standard comform.

[Patch 6/12] Checkpatch throws COMPLEX_MACRO Error. Handle that
	     error by deleting these defines.

The other patches are the same. 

Best regards
Philipp

----------------------------------------------------------------------
  media: atomisp: Convert comments to C99 initializers
  media: atomisp: Fix Block Comments
  media: atomisp: Fix EMBEDDED_FUNCTION_NAME warning
  media: atomisp: Fix OPEN_ENDED_LINE
  media: atomisp: Fix overlong line
  media: atomisp: Remove defines
  media: atomisp: Fix funciton decleration
  media: atomisp: Delete braces
  media: atomisp: Fix PARENTHESIS_ALIGNMENT
  media: atomisp: Fix BLOCK_COMMENT_STYLE
  media: atomisp: Write function decleration in one line
  media: atomisp: Fix LOGICAL_CONTINUATIONS

 .../atomisp/pci/runtime/queue/src/queue.c     | 48 +++++--------------
 .../pci/runtime/rmgr/interface/ia_css_rmgr.h  |  5 +-
 .../atomisp/pci/runtime/rmgr/src/rmgr_vbuf.c  | 41 ++++++----------
 .../atomisp/pci/runtime/spctrl/src/spctrl.c   |  7 ++-
 .../atomisp/pci/runtime/timer/src/timer.c     |  7 +--
 5 files changed, 33 insertions(+), 75 deletions(-)

-- 
2.20.1


^ permalink raw reply	[flat|nested] 20+ messages in thread
* [PATCH v2 09/12] media: atomisp: Fix PARENTHESIS_ALIGNMENT
@ 2020-12-14 11:03 Philipp Gerlesberger
  2020-12-14 11:49 ` David Laight
  0 siblings, 1 reply; 20+ messages in thread
From: Philipp Gerlesberger @ 2020-12-14 11:03 UTC (permalink / raw)
  To: linux-kernel
  Cc: Philipp Gerlesberger, ij72uhux, linux-media, devel, linux-kernel,
	gregkh, sakari.ailus, mchehab

You can sum up the two lines, because the maximum line length of
100 columns is not exceeded.

Co-developed-by: Andrey Khlopkov <ij72uhux@stud.informatik.uni-erlangen.de>
Signed-off-by: Andrey Khlopkov <ij72uhux@stud.informatik.uni-erlangen.de>
Signed-off-by: Philipp Gerlesberger <Philipp.Gerlesberger@fau.de>
---
 drivers/staging/media/atomisp/pci/runtime/spctrl/src/spctrl.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/drivers/staging/media/atomisp/pci/runtime/spctrl/src/spctrl.c b/drivers/staging/media/atomisp/pci/runtime/spctrl/src/spctrl.c
index 753a99703f1e..38f86764ccfc 100644
--- a/drivers/staging/media/atomisp/pci/runtime/spctrl/src/spctrl.c
+++ b/drivers/staging/media/atomisp/pci/runtime/spctrl/src/spctrl.c
@@ -37,8 +37,7 @@ static struct spctrl_context_info spctrl_cofig_info[N_SP_ID];
 static bool spctrl_loaded[N_SP_ID] = {0};
 
 /* Load firmware */
-int ia_css_spctrl_load_fw(sp_ID_t sp_id,
-				      ia_css_spctrl_cfg *spctrl_cfg)
+int ia_css_spctrl_load_fw(sp_ID_t sp_id, ia_css_spctrl_cfg *spctrl_cfg)
 {
 	ia_css_ptr code_addr = mmgr_NULL;
 	struct ia_css_sp_init_dmem_cfg *init_dmem_cfg;
-- 
2.20.1


^ permalink raw reply related	[flat|nested] 20+ messages in thread

end of thread, other threads:[~2021-03-23 13:17 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-12-14 11:01 [PATCH v2 00/12] media: atomisp: Codingstyle Philipp Gerlesberger
2020-12-14 11:01 ` [PATCH v2 01/12] media: atomisp: Convert comments to C99 initializers Philipp Gerlesberger
2020-12-14 11:01 ` [PATCH v2 02/12] media: atomisp: Fix Block Comments Philipp Gerlesberger
2020-12-14 11:01 ` [PATCH v2 03/12] media: atomisp: Fix EMBEDDED_FUNCTION_NAME warning Philipp Gerlesberger
2020-12-14 11:01 ` [PATCH v2 04/12] media: atomisp: Fix OPEN_ENDED_LINE Philipp Gerlesberger
2020-12-14 11:01 ` [PATCH v2 05/12] media: atomisp: Fix overlong line Philipp Gerlesberger
2020-12-14 11:01 ` [PATCH v2 06/12] media: atomisp: Remove defines Philipp Gerlesberger
2021-03-23 13:12   ` Mauro Carvalho Chehab
2020-12-14 11:01 ` [PATCH v2 07/12] media: atomisp: Fix funciton decleration Philipp Gerlesberger
2020-12-14 11:01 ` [PATCH v2 08/12] media: atomisp: Delete braces Philipp Gerlesberger
2020-12-14 11:01 ` [PATCH v2 09/12] media: atomisp: Fix PARENTHESIS_ALIGNMENT Philipp Gerlesberger
2020-12-14 11:01 ` [PATCH v2 10/12] media: atomisp: Fix BLOCK_COMMENT_STYLE Philipp Gerlesberger
2020-12-14 11:01 ` [PATCH v2 11/12] media: atomisp: Write function decleration in one line Philipp Gerlesberger
2020-12-14 11:01 ` [PATCH v2 12/12] media: atomisp: Fix LOGICAL_CONTINUATIONS Philipp Gerlesberger
2020-12-14 11:53   ` David Laight
2020-12-14 14:16     ` Dan Carpenter
2021-03-23 13:16   ` Mauro Carvalho Chehab
2020-12-14 11:03 [PATCH v2 09/12] media: atomisp: Fix PARENTHESIS_ALIGNMENT Philipp Gerlesberger
2020-12-14 11:49 ` David Laight
2020-12-14 13:56   ` gregkh

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).