diff options
author | Sven Eckelmann <sven@narfation.org> | 2019-12-13 23:24:27 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-12-17 03:09:44 +0300 |
commit | 1f1c1d7c89ee538f3e36b43098e95973f8fa37db (patch) | |
tree | 76eb473383add1ef0a0c92817fc29dd135c37c00 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | f325937735498afb054a0195291bbf68d0b60be5 (diff) | |
download | linux-1f1c1d7c89ee538f3e36b43098e95973f8fa37db.tar.xz |
ipv6: Annotate bitwise IPv6 dsfield pointer cast
The sparse commit 6002ded74587 ("add a flag to warn on casts to/from
bitwise pointers") introduced a check for non-direct casts from/to
restricted datatypes (when -Wbitwise-pointer is enabled).
This triggered a warning in ipv6_get_dsfield() because sparse doesn't know
that the buffer already points to some data in the correct bitwise integer
format. This was already fixed in ipv6_change_dsfield() by the __force
attribute and can be fixed here the same way.
Signed-off-by: Sven Eckelmann <sven@narfation.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions