Skip to content

Commit

Permalink
Correct some errors found in build testing.
Browse files Browse the repository at this point in the history
  • Loading branch information
gregory-nutt committed Jun 25, 2018
1 parent 5a0cf3c commit 872a11b
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
1 change: 1 addition & 0 deletions arch/arm/src/lc823450/chip.h
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@
# include <sys/types.h>
# include <arch/lc823450/chip.h>
# include <arch/lc823450/irq.h>
# include "up_arch.h"
# include "lc823450_irq.h"
#endif

Expand Down
4 changes: 2 additions & 2 deletions arch/arm/src/lc823450/lc823450_irq.c
Original file line number Diff line number Diff line change
Expand Up @@ -108,11 +108,11 @@ uint64_t g_instack_alloc[INTSTACK_ALLOC >> 3];
/* These definitions provide the "top" of the push-down stacks. */

const uint32_t g_cpu0_instack_base =
(uint32_t)g_instack_alloc + INTSTACK_SIZE)
(uint32_t)g_instack_alloc + INTSTACK_SIZE);

#if CONFIG_SMP_NCPUS > 1
const uint32_t g_cpu1_instack_base =
(uint32_t)g_instack_alloc + 2 * INTSTACK_SIZE)
(uint32_t)g_instack_alloc + 2 * INTSTACK_SIZE);
#endif
#endif

Expand Down
1 change: 0 additions & 1 deletion include/sys/syscall.h
Original file line number Diff line number Diff line change
Expand Up @@ -309,7 +309,6 @@
# else
# define __SYS_termios __SYS_ifindex
# endif
# endif
# ifdef CONFIG_SERIAL_TERMIOS
# define SYS_tcdrain __SYS_termios
# define __SYS_boardctl (__SYS_termios + 1)
Expand Down
2 changes: 1 addition & 1 deletion net/pkt/pkt_sockif.c
Original file line number Diff line number Diff line change
Expand Up @@ -377,7 +377,7 @@ static int pkt_bind(FAR struct socket *psock, FAR const struct sockaddr *addr,

/* Only Ethernet is supported */

if (d_lltype != NET_LL_ETHERNET)
if (dev->d_lltype != NET_LL_ETHERNET)
{
return -EAFNOSUPPORT;
}
Expand Down
4 changes: 2 additions & 2 deletions syscall/syscall.csv
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@
"getpid","unistd.h","","pid_t"
"getrandom","sys/random.h","defined(CONFIG_CRYPTO_RANDOM_POOL)","void","FAR void*","size_t"
"getsockopt","sys/socket.h","CONFIG_NSOCKET_DESCRIPTORS > 0 && defined(CONFIG_NET)","int","int","int","int","FAR void*","FAR socklen_t*"
"if_indextoname","net/if.h","CONFIG_NETDEV_IFINDEX","FAR char *","unsigned int","FAR char *"
"if_nametoindex","net/if.h","CONFIG_NETDEV_IFINDEX","unsigned int","FAR const char *"
"if_indextoname","net/if.h","defined(CONFIG_NETDEV_IFINDEX)","FAR char *","unsigned int","FAR char *"
"if_nametoindex","net/if.h","defined(CONFIG_NETDEV_IFINDEX)","unsigned int","FAR const char *"
"insmod","nuttx/module.h","defined(CONFIG_MODULE)","FAR void *","FAR const char *","FAR const char *"
"ioctl","sys/ioctl.h","!defined(CONFIG_LIBC_IOCTL_VARIADIC) && (CONFIG_NSOCKET_DESCRIPTORS > 0 || CONFIG_NFILE_DESCRIPTORS > 0)","int","int","int","unsigned long"
"kill","signal.h","!defined(CONFIG_DISABLE_SIGNALS)","int","pid_t","int"
Expand Down

0 comments on commit 872a11b

Please sign in to comment.