• Philipp Tomsich's avatar
    usb: dwc3: ensure consistent types for dwc3_flush_cache · b7bf4a95
    Philipp Tomsich authored
    The dwc3_flush_cache() call was declared and used inconsistently:
     * The declaration assumed 'int' for addresses (a potential issue
       when running in a LP64 memory model).
     * The invocation cast the address to 'long'.
    
    This change ensures that both the declaration and usage of this
    function consistently uses 'uintptr_t' for correct behaviour even
    when the allocated buffers (to be flushed) reside outside of the
    lower 32bits of memory.
    Signed-off-by: default avatarPhilipp Tomsich <philipp.tomsich@theobroma-systems.com>
    b7bf4a95
Name
Last commit
Last update
Licenses Loading commit data...
api Loading commit data...
arch Loading commit data...
board Loading commit data...
cmd Loading commit data...
common Loading commit data...
configs Loading commit data...
disk Loading commit data...
doc Loading commit data...
drivers Loading commit data...
dts Loading commit data...
examples Loading commit data...
fs Loading commit data...
include Loading commit data...
lib Loading commit data...
net Loading commit data...
post Loading commit data...
scripts Loading commit data...
test Loading commit data...
tools Loading commit data...
.checkpatch.conf Loading commit data...
.gitignore Loading commit data...
.mailmap Loading commit data...
.travis.yml Loading commit data...
Kbuild Loading commit data...
Kconfig Loading commit data...
MAINTAINERS Loading commit data...
Makefile Loading commit data...
README Loading commit data...
config.mk Loading commit data...
snapshot.commit Loading commit data...