Correct some errors found in build testing.
This commit is contained in:
parent
5a0cf3c9a8
commit
872a11b4a0
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
||||
|
@ -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)
|
||||
|
@ -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;
|
||||
}
|
||||
|
@ -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"
|
||||
|
Can't render this file because it has a wrong number of fields in line 2.
|
Loading…
Reference in New Issue
Block a user