Re: [PATCH 09/19] net: Change variable type to bool

2013-09-23 Thread David Miller
Using the same prefix, "net: " for several patches gives no information to the person reading the shortlog. Use more specific subsystem prefixes, such as "bnx2x: "myri10ge: ", "ipv6: ", etc. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to maj

[PATCH 09/19] net: Change variable type to bool

2013-09-21 Thread Peter Senna Tschudin
The variable rc is only assigned the values true and false. The function bnx2x_prev_is_path_marked already returns bool. Change rc type to bool. The simplified semantic patch that find this problem is as follows (http://coccinelle.lip6.fr/): @exists@ type T; identifier b; @@ - T + bool b = ...;