1 Fix compilation warning. 2 3 diff --git a/tools/testing/selftests/net/psock_tpacket.c b/tools/testing/selftests/net/psock_tpacket.c 4 index 8cb5127c42af..e795a41c4771 100644 5 --- a/tools/testing/selftests/net/psock_tpacket.c 6 +++ b/tools/testing/selftests/net/psock_tpacket.c 7 @@ -377,6 +377,7 @@ static inline void *get_next_frame(struct ring *ring, int n) 8 return f0 + (n * ring->req3.tp_frame_size); 9 default: 10 bug_on(1); 11 + return NULL; 12 } 13 } 14 15