style: remove extra spaces and align parameters

Signed-off-by: Petro Karashchenko <petro.karashchenko@gmail.com>
This commit is contained in:
Petro Karashchenko
2023-06-10 20:24:08 +03:00
committed by Xiang Xiao
parent 187def2611
commit 1b801a5bbc
6 changed files with 16 additions and 16 deletions
+1 -1
View File
@@ -128,7 +128,7 @@ static struct bt_driver_s g_blehci_driver =
.send = stm32wb_blehci_driversend .send = stm32wb_blehci_driversend
}; };
static mutex_t g_lock = NXMUTEX_INITIALIZER; static mutex_t g_lock = NXMUTEX_INITIALIZER;
struct work_s g_drv_init_work; struct work_s g_drv_init_work;
/**************************************************************************** /****************************************************************************
+4 -4
View File
@@ -262,8 +262,8 @@ static int elf_loadbinary(FAR struct binary_s *binp,
{ {
if (nexports > 0) if (nexports > 0)
{ {
berr("Cannot bind exported symbols to a "\ berr("Cannot bind exported symbols to a "
"fully linked executable\n"); "fully linked executable\n");
ret = -ENOEXEC; ret = -ENOEXEC;
goto errout_with_load; goto errout_with_load;
} }
@@ -275,8 +275,8 @@ static int elf_loadbinary(FAR struct binary_s *binp,
else else
{ {
berr("Unexpected elf type %d\n", loadinfo.ehdr.e_type); berr("Unexpected elf type %d\n", loadinfo.ehdr.e_type);
ret = -ENOEXEC; ret = -ENOEXEC;
} }
/* Return the load information */ /* Return the load information */
+2 -2
View File
@@ -41,7 +41,7 @@
static const char g_elfmagic[EI_MAGIC_SIZE] = static const char g_elfmagic[EI_MAGIC_SIZE] =
{ {
0x7f, 'E', 'L', 'F' 0x7f, 'E', 'L', 'F'
}; };
/**************************************************************************** /****************************************************************************
@@ -92,7 +92,7 @@ int elf_verifyheader(FAR const Elf_Ehdr *ehdr)
if ((ehdr->e_type != ET_REL) && (ehdr->e_type != ET_EXEC)) if ((ehdr->e_type != ET_REL) && (ehdr->e_type != ET_EXEC))
{ {
berr("Not a relocatable or executable file: e_type=%d\n", berr("Not a relocatable or executable file: e_type=%d\n",
ehdr->e_type); ehdr->e_type);
return -EINVAL; return -EINVAL;
} }
+6 -6
View File
@@ -108,27 +108,27 @@ do \
* if so, free all resources of this node. * if so, free all resources of this node.
*/ */
static struct wdog_s g_wdfragtimeout; static struct wdog_s g_wdfragtimeout;
/* Reassembly timeout work */ /* Reassembly timeout work */
static struct work_s g_wkfragtimeout; static struct work_s g_wkfragtimeout;
/* Remember the number of I/O buffers currently in reassembly cache */ /* Remember the number of I/O buffers currently in reassembly cache */
static uint8_t g_bufoccupy; static uint8_t g_bufoccupy;
/* Queue header definition, it links all fragments of all NICs by ascending /* Queue header definition, it links all fragments of all NICs by ascending
* ipid. * ipid.
*/ */
static sq_queue_t g_assemblyhead_ipid; static sq_queue_t g_assemblyhead_ipid;
/* Queue header definition, which connects all fragments of all NICs in order /* Queue header definition, which connects all fragments of all NICs in order
* of addition time. * of addition time.
*/ */
static sq_queue_t g_assemblyhead_time; static sq_queue_t g_assemblyhead_time;
/**************************************************************************** /****************************************************************************
* Public Data * Public Data
@@ -138,7 +138,7 @@ static sq_queue_t g_assemblyhead_time;
* at a time. * at a time.
*/ */
mutex_t g_ipfrag_lock = NXMUTEX_INITIALIZER; mutex_t g_ipfrag_lock = NXMUTEX_INITIALIZER;
/**************************************************************************** /****************************************************************************
* Private Function Prototypes * Private Function Prototypes
+1 -1
View File
@@ -151,7 +151,7 @@ extern "C"
* at a time * at a time
*/ */
extern mutex_t g_ipfrag_lock; extern mutex_t g_ipfrag_lock;
/**************************************************************************** /****************************************************************************
* Public Function Prototypes * Public Function Prototypes
+2 -2
View File
@@ -74,7 +74,7 @@
* *
****************************************************************************/ ****************************************************************************/
int nxsig_queue (int pid, int signo, union sigval value) int nxsig_queue(int pid, int signo, union sigval value)
{ {
#ifdef CONFIG_SCHED_HAVE_PARENT #ifdef CONFIG_SCHED_HAVE_PARENT
FAR struct tcb_s *rtcb = this_task(); FAR struct tcb_s *rtcb = this_task();
@@ -143,7 +143,7 @@ int nxsig_queue (int pid, int signo, union sigval value)
* *
****************************************************************************/ ****************************************************************************/
int sigqueue (int pid, int signo, union sigval value) int sigqueue(int pid, int signo, union sigval value)
{ {
int ret; int ret;