summaryrefslogtreecommitdiffstats
path: root/include/net/garp.h
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <acme@redhat.com>2018-11-27 09:56:55 -0300
committerArnaldo Carvalho de Melo <acme@redhat.com>2018-12-17 14:54:34 -0300
commit92151b0a230ce2792e4b2b1f43ca3ea80a83292e (patch)
treec0aebae11756350fe57a719e38c699e0c21dc482 /include/net/garp.h
parent741dad88dde296999da30332157ca47f0543747d (diff)
downloadlinux-stable-92151b0a230ce2792e4b2b1f43ca3ea80a83292e.tar.gz
linux-stable-92151b0a230ce2792e4b2b1f43ca3ea80a83292e.tar.bz2
linux-stable-92151b0a230ce2792e4b2b1f43ca3ea80a83292e.zip
tools include: Adopt ERR_CAST() from the kernel err.h header
Add ERR_CAST(), so that tools can use it, just like the kernel. This addresses coccinelle checks that are being performed to tools/ in addition to kernel sources, so lets add this to cover that and to get tools code closer to kernel coding standards. This originally was introduced in the kernel headers in this cset: d1bc8e954452 ("Add an ERR_CAST() function to complement ERR_PTR and co.") Cc: Adrian Hunter <adrian.hunter@intel.com> Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com> Cc: David Ahern <dsahern@gmail.com> Cc: David Howells <dhowells@redhat.com> Cc: Jiri Olsa <jolsa@kernel.org> Cc: Julia Lawall <julia.lawall@lip6.fr> Cc: Namhyung Kim <namhyung@kernel.org> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Wang Nan <wangnan0@huawei.com> Cc: Wen Yang <yellowriver2010@hotmail.com> Cc: zhong.weidong@zte.com.cn Link: https://lkml.kernel.org/n/tip-tlt97p066zyhzqhl5jt86og7@git.kernel.org Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'include/net/garp.h')
0 files changed, 0 insertions, 0 deletions