netatop: fix compilation warning for kernel module
[feed/packages.git] / admin / netatop / patches / 100-fix-compilation-warning-fallthrough.patch
1 --- a/module/netatop.c
2 +++ b/module/netatop.c
3 @@ -1617,7 +1617,7 @@ getsockopt(struct sock *sk, int cmd, void __user *user, int *len)
4
5 case NETATOP_GETCNT_TGID:
6 tasktype = 'g';
7 - // fall through
8 + fallthrough;
9 case NETATOP_GETCNT_PID:
10 if (*len < sizeof(pid_t))
11 return -EINVAL;