1From 461e19ec1bd6f9ff6761574f9a292442ecc7b6f9 Mon Sep 17 00:00:00 2001 2From: Edward Liaw <edliaw@google.com> 3Date: Tue, 19 Apr 2022 22:49:19 +0000 4Subject: [PATCH 03/24] psock_tpacket: warning fix 5 6Fix compilation warning 7 8(cherry picked from commit c33d1f8c4b98fa6aa24c67d484d31b58c0651933) 9--- 10 tools/testing/selftests/net/psock_tpacket.c | 1 + 11 1 file changed, 1 insertion(+) 12 13diff --git a/tools/testing/selftests/net/psock_tpacket.c b/tools/testing/selftests/net/psock_tpacket.c 14index e5a4c53076d2a..4d5f317ab42c3 100644 15--- a/tools/testing/selftests/net/psock_tpacket.c 16+++ b/tools/testing/selftests/net/psock_tpacket.c 17@@ -365,6 +365,7 @@ static inline void *get_next_frame(struct ring *ring, int n) 18 return f0 + (n * ring->req3.tp_frame_size); 19 default: 20 bug_on(1); 21+ return NULL; 22 } 23 } 24 25-- 262.36.0.550.gb090851708-goog 27 28