diff options
author | Sven Eckelmann <sven@narfation.org> | 2019-11-28 11:26:06 +0100 |
---|---|---|
committer | Simon Wunderlich <sw@simonwunderlich.de> | 2019-12-09 00:30:49 +0100 |
commit | 61a292860de6ab66c9b6aa1b244ccd4590ddc8ec (patch) | |
tree | 8c0e15465f4c3d42ec39b7be4c7e9d12b472fc78 /net/dns_resolver | |
parent | batman-adv: ELP - use wifi tx bitrate as fallback throughput (diff) | |
download | linux-61a292860de6ab66c9b6aa1b244ccd4590ddc8ec.tar.xz linux-61a292860de6ab66c9b6aa1b244ccd4590ddc8ec.zip |
batman-adv: Annotate bitwise integer pointer casts
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 various warnings in batman-adv when some (already big
endian) buffer content was casted to/from the corresponding big endian
integer data types. But these were correct and can therefore be marked with
__force to signalize sparse an intended cast from/to a bitwise type.
Signed-off-by: Sven Eckelmann <sven@narfation.org>
Signed-off-by: Simon Wunderlich <sw@simonwunderlich.de>
Diffstat (limited to 'net/dns_resolver')
0 files changed, 0 insertions, 0 deletions