Skip to content
Commit 05db1563 authored by Ryan McClelland's avatar Ryan McClelland Committed by Benjamin Cabé
Browse files

drivers: disk: nvme: fix warnings



There are warnings generated within NVMe. `prp` is a `void *` which
is 32bits wide on 32bit systems. This adds a cast to first cast it
to a `uintptr_t` and then casts it to a `uint64_t` to supress the
warning.

This also fix an issue where `int n_prp` is defined under a case
statement. This adds the { } around the block underneath it.

Signed-off-by: default avatarRyan McClelland <ryanmcclelland@meta.com>
parent 2b5c2748
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment