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-- | 7.3 KB |
Kconfig.debug | -rw-r--r-- | 2.7 KB |
Makefile | -rw-r--r-- | 516 bytes |
rcu.h | -rw-r--r-- | 15.9 KB |
rcu_segcblist.c | -rw-r--r-- | 16.7 KB |
rcu_segcblist.h | -rw-r--r-- | 4.3 KB |
rcuperf.c | -rw-r--r-- | 17.6 KB |
rcutorture.c | -rw-r--r-- | 73.4 KB |
srcutiny.c | -rw-r--r-- | 5.9 KB |
srcutree.c | -rw-r--r-- | 44.2 KB |
sync.c | -rw-r--r-- | 6.2 KB |
tiny.c | -rw-r--r-- | 4.1 KB |
tree.c | -rw-r--r-- | 113.5 KB |
tree.h | -rw-r--r-- | 19.2 KB |
tree_exp.h | -rw-r--r-- | 24.6 KB |
tree_plugin.h | -rw-r--r-- | 80.6 KB |
tree_stall.h | -rw-r--r-- | 21.0 KB |
update.c | -rw-r--r-- | 28.8 KB |
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...