* [PATCH net-next] net: explicitly include <linux/compat.h> in net/core/sock.c
@ 2020-07-22 7:40 Christoph Hellwig
2020-07-22 20:01 ` David Miller
0 siblings, 1 reply; 2+ messages in thread
From: Christoph Hellwig @ 2020-07-22 7:40 UTC (permalink / raw)
To: davem; +Cc: netdev
The buildbot found a config where the header isn't already implicitly
pulled in, so add an explicit include as well.
Fixes: 8c918ffbbad4 ("net: remove compat_sock_common_{get,set}sockopt")
Signed-off-by: Christoph Hellwig <hch@lst.de>
---
net/core/sock.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/net/core/sock.c b/net/core/sock.c
index d828bfe1c47dfa..6da54eac2b3456 100644
--- a/net/core/sock.c
+++ b/net/core/sock.c
@@ -113,6 +113,7 @@
#include <linux/static_key.h>
#include <linux/memcontrol.h>
#include <linux/prefetch.h>
+#include <linux/compat.h>
#include <linux/uaccess.h>
--
2.27.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH net-next] net: explicitly include <linux/compat.h> in net/core/sock.c
2020-07-22 7:40 [PATCH net-next] net: explicitly include <linux/compat.h> in net/core/sock.c Christoph Hellwig
@ 2020-07-22 20:01 ` David Miller
0 siblings, 0 replies; 2+ messages in thread
From: David Miller @ 2020-07-22 20:01 UTC (permalink / raw)
To: hch; +Cc: netdev
From: Christoph Hellwig <hch@lst.de>
Date: Wed, 22 Jul 2020 09:40:27 +0200
> The buildbot found a config where the header isn't already implicitly
> pulled in, so add an explicit include as well.
>
> Fixes: 8c918ffbbad4 ("net: remove compat_sock_common_{get,set}sockopt")
> Signed-off-by: Christoph Hellwig <hch@lst.de>
Applied.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-07-22 20:01 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-22 7:40 [PATCH net-next] net: explicitly include <linux/compat.h> in net/core/sock.c Christoph Hellwig
2020-07-22 20:01 ` David Miller
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).