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-- | 259 bytes |
Makefile | -rw-r--r-- | 993 bytes |
clk-audio-sync.c | -rw-r--r-- | 1.7 KB |
clk-bpmp.c | -rw-r--r-- | 14.2 KB |
clk-dfll.c | -rw-r--r-- | 53.1 KB |
clk-dfll.h | -rw-r--r-- | 1.5 KB |
clk-divider.c | -rw-r--r-- | 3.8 KB |
clk-emc.c | -rw-r--r-- | 12.8 KB |
clk-id.h | -rw-r--r-- | 6.5 KB |
clk-periph-fixed.c | -rw-r--r-- | 2.6 KB |
clk-periph-gate.c | -rw-r--r-- | 4.1 KB |
clk-periph.c | -rw-r--r-- | 5.6 KB |
clk-pll-out.c | -rw-r--r-- | 2.5 KB |
clk-pll.c | -rw-r--r-- | 69.2 KB |
clk-sdmmc-mux.c | -rw-r--r-- | 5.9 KB |
clk-super.c | -rw-r--r-- | 6.0 KB |
clk-tegra-audio.c | -rw-r--r-- | 6.2 KB |
clk-tegra-fixed.c | -rw-r--r-- | 2.2 KB |
clk-tegra-periph.c | -rw-r--r-- | 43.4 KB |
clk-tegra-pmc.c | -rw-r--r-- | 2.9 KB |
clk-tegra-super-gen4.c | -rw-r--r-- | 7.3 KB |
clk-tegra114.c | -rw-r--r-- | 49.4 KB |
clk-tegra124-dfll-fcpu.c | -rw-r--r-- | 16.3 KB |
clk-tegra124.c | -rw-r--r-- | 55.6 KB |
clk-tegra20.c | -rw-r--r-- | 40.4 KB |
clk-tegra210.c | -rw-r--r-- | 116.6 KB |
clk-tegra30.c | -rw-r--r-- | 51.9 KB |
clk-utils.c | -rw-r--r-- | 733 bytes |
clk.c | -rw-r--r-- | 8.6 KB |
clk.h | -rw-r--r-- | 26.6 KB |
cvb.c | -rw-r--r-- | 3.9 KB |
cvb.h | -rw-r--r-- | 1.1 KB |
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...