Skip to content

Commit ef7a9d0

Browse files
committed
app: fix comment style and trailing whitespace
Fix some checkpatch complains Signed-off-by: Arnaud Pouliquen <arnaud.pouliquen@foss.st.com>
1 parent 923e060 commit ef7a9d0

18 files changed

Lines changed: 78 additions & 44 deletions

File tree

apps/examples/echo/rpmsg-echo.c

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,11 @@
22
* SPDX-License-Identifier: BSD-3-Clause
33
*/
44

5-
/* This is a sample demonstration application that showcases usage of rpmsg
6-
This application is meant to run on the remote CPU running baremetal code.
7-
This application echoes back data that was sent to it by the master core. */
5+
/*
6+
* This is a sample demonstration application that showcases usage of rpmsg
7+
* This application is meant to run on the remote CPU running baremetal code.
8+
* This application echoes back data that was sent to it by the master core.
9+
*/
810

911
#include <stdio.h>
1012
#include <openamp/open_amp.h>

apps/examples/echo/rpmsg-ping.c

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,11 @@
22
* SPDX-License-Identifier: BSD-3-Clause
33
*/
44

5-
/* This is a sample demonstration application that showcases usage of rpmsg
6-
This application is meant to run on the remote CPU running baremetal code.
7-
This application echoes back data that was sent to it by the master core. */
5+
/*
6+
* This is a sample demonstration application that showcases usage of rpmsg
7+
* This application is meant to run on the remote CPU running baremetal code.
8+
* This application echoes back data that was sent to it by the master core.
9+
*/
810

911
#include <stdio.h>
1012
#include <stdlib.h>

apps/examples/matrix_multiply/matrix_multiply.c

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,12 @@
22
* SPDX-License-Identifier: BSD-3-Clause
33
*/
44

5-
/* This is a sample demonstration application that showcases usage of remoteproc
6-
and rpmsg APIs on the remote core. This application is meant to run on the remote CPU
7-
running baremetal code. This applicationr receives two matrices from the master,
8-
multiplies them and returns the result to the master core. */
5+
/*
6+
* This is a sample demonstration application that showcases usage of remoteproc
7+
* and rpmsg APIs on the remote core. This application is meant to run on the remote CPU
8+
* running baremetal code. This applicationr receives two matrices from the master,
9+
* multiplies them and returns the result to the master core.
10+
*/
911

1012
#include <stdio.h>
1113
#include <stdlib.h>

apps/examples/matrix_multiply/matrix_multiplyd.c

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,12 @@
22
* SPDX-License-Identifier: BSD-3-Clause
33
*/
44

5-
/* This is a sample demonstration application that showcases usage of remoteproc
6-
and rpmsg APIs on the remote core. This application is meant to run on the remote CPU
7-
running baremetal code. This applicationr receives two matrices from the master,
8-
multiplies them and returns the result to the master core. */
5+
/*
6+
* This is a sample demonstration application that showcases usage of remoteproc
7+
* and rpmsg APIs on the remote core. This application is meant to run on the remote CPU
8+
* running baremetal code. This applicationr receives two matrices from the master,
9+
* multiplies them and returns the result to the master core.
10+
*/
911

1012
#include <stdio.h>
1113
#include <stdlib.h>

apps/examples/rpc_demo/rpc_demo.c

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,11 @@
22
* SPDX-License-Identifier: BSD-3-Clause
33
*/
44

5-
/* This is a sample demonstration application that showcases usage of proxy from the remote core.
6-
This application is meant to run on the remote CPU running baremetal.
7-
This application can print to the master console and perform file I/O using proxy mechanism. */
5+
/*
6+
* This is a sample demonstration application that showcases usage of proxy from the remote core.
7+
* This application is meant to run on the remote CPU running baremetal.
8+
* This application can print to the master console and perform file I/O using proxy mechanism.
9+
*/
810

911
#include <stdio.h>
1012
#include <string.h>

apps/examples/rpc_demo/rpc_demod.c

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,11 @@
22
* SPDX-License-Identifier: BSD-3-Clause
33
*/
44

5-
/* This is a sample demonstration application that showcases usage of proxy from the remote core.
6-
This application is meant to run on the remote CPU running baremetal.
7-
This applicationr can print to to master console and perform file I/O using proxy mechanism. */
5+
/*
6+
* This is a sample demonstration application that showcases usage of proxy from the remote core.
7+
* This application is meant to run on the remote CPU running baremetal.
8+
* This applicationr can print to to master console and perform file I/O using proxy mechanism.
9+
*/
810

911
#include <errno.h>
1012
#include <stdio.h>

apps/machine/microblaze_generic/rsc_table.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@
44
* SPDX-License-Identifier: BSD-3-Clause
55
*/
66

7-
/* This file populates resource table for BM remote
7+
/*
8+
* This file populates resource table for BM remote
89
* for use by the Linux Master
910
*/
1011

apps/machine/zynq7/rsc_table.c

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,10 @@
66
* SPDX-License-Identifier: BSD-3-Clause
77
*/
88

9-
/* This file populates resource table for BM remote
10-
* for use by the Linux Master */
9+
/*
10+
* This file populates resource table for BM remote
11+
* for use by the Linux Master
12+
*/
1113

1214
#include <openamp/open_amp.h>
1315
#include "rsc_table.h"

apps/machine/zynq7/rsc_table.h

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,10 @@
66
* SPDX-License-Identifier: BSD-3-Clause
77
*/
88

9-
/* This file populates resource table for BM remote
10-
* for use by the Linux Master */
9+
/*
10+
* This file populates resource table for BM remote
11+
* for use by the Linux Master
12+
*/
1113

1214
#ifndef RSC_TABLE_H_
1315
#define RSC_TABLE_H_

apps/machine/zynqmp/platform_info.h

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,10 @@
44
* SPDX-License-Identifier: BSD-3-Clause
55
*/
66

7-
/* This file populates resource table for BM remote
8-
* for use by the Linux Master */
7+
/*
8+
* This file populates resource table for BM remote
9+
* for use by the Linux Master
10+
*/
911

1012
#ifndef PLATFORM_INFO_H_
1113
#define PLATFORM_INFO_H_

0 commit comments

Comments
 (0)