Message ID | 20200722074027.224124-1-hch@lst.de |
---|---|
State | Accepted |
Delegated to: | David Miller |
Headers | show |
Series | [net-next] net: explicitly include <linux/compat.h> in net/core/sock.c | expand |
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.
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>
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(+)