diff options
Diffstat (limited to 'android/patches/0003-psock-tpacket-warning-fix.patch')
-rw-r--r-- | android/patches/0003-psock-tpacket-warning-fix.patch | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/android/patches/0003-psock-tpacket-warning-fix.patch b/android/patches/0003-psock-tpacket-warning-fix.patch new file mode 100644 index 000000000000..86b1650f9bcb --- /dev/null +++ b/android/patches/0003-psock-tpacket-warning-fix.patch @@ -0,0 +1,14 @@ +Fix compilation warning. + +diff --git a/tools/testing/selftests/net/psock_tpacket.c b/tools/testing/selftests/net/psock_tpacket.c +index 8cb5127c42af..e795a41c4771 100644 +--- a/tools/testing/selftests/net/psock_tpacket.c ++++ b/tools/testing/selftests/net/psock_tpacket.c +@@ -377,6 +377,7 @@ static inline void *get_next_frame(struct ring *ring, int n) + return f0 + (n * ring->req3.tp_frame_size); + default: + bug_on(1); ++ return NULL; + } + } + |