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-- | 691 bytes |
Makefile | -rw-r--r-- | 402 bytes |
channel.c | -rw-r--r-- | 25.0 KB |
channel_mgmt.c | -rw-r--r-- | 38.1 KB |
connection.c | -rw-r--r-- | 12.2 KB |
hv.c | -rw-r--r-- | 7.0 KB |
hv_balloon.c | -rw-r--r-- | 43.4 KB |
hv_fcopy.c | -rw-r--r-- | 9.5 KB |
hv_kvp.c | -rw-r--r-- | 20.0 KB |
hv_snapshot.c | -rw-r--r-- | 9.8 KB |
hv_trace.c | -rw-r--r-- | 114 bytes |
hv_trace.h | -rw-r--r-- | 9.9 KB |
hv_trace_balloon.h | -rw-r--r-- | 1.6 KB |
hv_util.c | -rw-r--r-- | 13.4 KB |
hv_utils_transport.c | -rw-r--r-- | 7.6 KB |
hv_utils_transport.h | -rw-r--r-- | 1.6 KB |
hyperv_vmbus.h | -rw-r--r-- | 10.1 KB |
ring_buffer.c | -rw-r--r-- | 15.6 KB |
vmbus_drv.c | -rw-r--r-- | 61.5 KB |
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...