提交 a2167dc6 编写于 作者: A Alexey Dobriyan 提交者: David S. Miller

[NET]: Endian-annotate in_aton()

Signed-off-by: NAlexey Dobriyan <adobriyan@gmail.com>
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 76ab608d
...@@ -45,6 +45,6 @@ ...@@ -45,6 +45,6 @@
#ifdef __KERNEL__ #ifdef __KERNEL__
#include <linux/types.h> #include <linux/types.h>
extern __u32 in_aton(const char *str); extern __be32 in_aton(const char *str);
#endif #endif
#endif /* _LINUX_INET_H */ #endif /* _LINUX_INET_H */
...@@ -162,7 +162,7 @@ EXPORT_SYMBOL(net_srandom); ...@@ -162,7 +162,7 @@ EXPORT_SYMBOL(net_srandom);
* is otherwise not dependent on the TCP/IP stack. * is otherwise not dependent on the TCP/IP stack.
*/ */
__u32 in_aton(const char *str) __be32 in_aton(const char *str)
{ {
unsigned long l; unsigned long l;
unsigned int val; unsigned int val;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册