Tag: 5a8dbf03ddf6dfe465b9f062e5b969f9606643f5

net/ipv4: Use IS_ERR_OR_NULL

Author: Himangi Saraogi <himangi774@gmail.com> This patch introduces the use of the macro IS_ERR_OR_NULL in place of tests for NULL and IS_ERR. The following Coccinelle semantic patch was used for making the change: @@ expression e; @@ – e == NULL || IS_ERR(e) + IS_ERR_OR_NULL(e) || … Signed-off-by: Himangi Saraogi Acked-by: Julia Lawall Signed-off-by: David S. …

Continue reading