This can be dropped. Dave merged a fix for it already

On 3/21/19 3:19 PM, Bart Van Assche wrote:
This patch avoids that the compiler complains about a missing prototype
when building with W=1.

Cc: Sagi Grimberg <s...@grimberg.me>
Cc: Christoph Hellwig <h...@lst.de>
Signed-off-by: Bart Van Assche <bvanass...@acm.org>
---
  net/core/datagram.c | 1 +
  1 file changed, 1 insertion(+)

diff --git a/net/core/datagram.c b/net/core/datagram.c
index c42f1f0e62b6..334e0a7ce940 100644
--- a/net/core/datagram.c
+++ b/net/core/datagram.c
@@ -410,6 +410,7 @@ int skb_kill_datagram(struct sock *sk, struct sk_buff *skb, 
unsigned int flags)
  }
  EXPORT_SYMBOL(skb_kill_datagram);
+static
  int __skb_datagram_iter(const struct sk_buff *skb, int offset,
                        struct iov_iter *to, int len, bool fault_short,
                        size_t (*cb)(const void *, size_t, void *, struct 
iov_iter *),

Reply via email to