Missing break in switch statement.
Subsystems (2)
PATCH 1/1 Missing break in switch statement.
Is this intentional? It should at least have a
/* FALLTHROUGH */ or similar if so.
Dave
net/ipv6/raw.c +1 -0
@@ -833,6 +833,7 @@ static int rawv6_getsockopt(struct sock val =-1 ; else val = opt->offset; +break ;default :return -ENOPROTOOPT ;
In article <E19mFqr-00068T-00@tetrachloride> (at Mon, 11 Aug 2003 17:48:57 +0100), [email protected] says:
Quoted 2 lines
Is this intentional? It should at least have a
/* FALLTHROUGH */ or similar if so.
Of course not.
net/ipv6/raw.c static int rawv6_getsockopt(struct sock · line 839
Quoted 6 lines
net/ipv6/raw.c +1
-0else val = opt->offset; +break ;default :return -ENOPROTOOPT ;
agreed.
--yoshfuji
Quoted 6 lines · On Tue, 12 Aug 2003 02:14:14 +0900 (JST) YOSHIFUJI Hideaki…
In article <E19mFqr-00068T-00@tetrachloride> (at Mon, 11 Aug 2003 17:48:57 +0100), [email protected] says:
Quoted 2 lines
Is this intentional? It should at least have a
/* FALLTHROUGH */ or similar if so.Of course not.
Patch applied, thanks David.