Revision a9eb49c964884654dd6394cb6abe7ceb021c9c96 authored by Randy Dunlap on 03 October 2019, 02:23:15 UTC, committed by Jens Axboe on 03 October 2019, 20:21:32 UTC
sparse warns about incorrect type when using __be64 data. It is not being converted to CPU-endian but it should be. Fixes these sparse warnings: ../block/sed-opal.c:375:20: warning: incorrect type in assignment (different base types) ../block/sed-opal.c:375:20: expected unsigned long long [usertype] align ../block/sed-opal.c:375:20: got restricted __be64 const [usertype] alignment_granularity ../block/sed-opal.c:376:25: warning: incorrect type in assignment (different base types) ../block/sed-opal.c:376:25: expected unsigned long long [usertype] lowest_lba ../block/sed-opal.c:376:25: got restricted __be64 const [usertype] lowest_aligned_lba Fixes: 455a7b238cd6 ("block: Add Sed-opal library") Cc: Scott Bauer <scott.bauer@intel.com> Cc: Rafael Antognolli <rafael.antognolli@intel.com> Cc: linux-block@vger.kernel.org Reviewed-by: Jon Derrick <jonathan.derrick@intel.com> Signed-off-by: Randy Dunlap <rdunlap@infradead.org> Signed-off-by: Jens Axboe <axboe@kernel.dk>
1 parent dc30102
File | Mode | Size |
---|---|---|
Kconfig | -rw-r--r-- | 1.7 KB |
Makefile | -rw-r--r-- | 721 bytes |
clk-hi3519.c | -rw-r--r-- | 5.3 KB |
clk-hi3620.c | -rw-r--r-- | 21.9 KB |
clk-hi3660-stub.c | -rw-r--r-- | 4.5 KB |
clk-hi3660.c | -rw-r--r-- | 27.5 KB |
clk-hi3670.c | -rw-r--r-- | 46.2 KB |
clk-hi6220-stub.c | -rw-r--r-- | 6.3 KB |
clk-hi6220.c | -rw-r--r-- | 18.9 KB |
clk-hip04.c | -rw-r--r-- | 1.1 KB |
clk-hisi-phase.c | -rw-r--r-- | 2.7 KB |
clk-hix5hd2.c | -rw-r--r-- | 9.9 KB |
clk.c | -rw-r--r-- | 7.6 KB |
clk.h | -rw-r--r-- | 3.9 KB |
clkdivider-hi6220.c | -rw-r--r-- | 3.6 KB |
clkgate-separated.c | -rw-r--r-- | 2.8 KB |
crg-hi3516cv300.c | -rw-r--r-- | 9.8 KB |
crg-hi3798cv200.c | -rw-r--r-- | 12.5 KB |
crg.h | -rw-r--r-- | 559 bytes |
reset.c | -rw-r--r-- | 2.9 KB |
reset.h | -rw-r--r-- | 596 bytes |
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...