summaryrefslogtreecommitdiff
path: root/drivers/pinctrl
diff options
context:
space:
mode:
authorPhilipp Tomsich <philipp.tomsich@theobroma-systems.com>2017-04-06 16:58:52 +0200
committerMarek Vasut <marex@denx.de>2017-04-14 16:44:16 +0200
commitb7bf4a95922c3e1a4974aa34ebb714ac2eb89937 (patch)
tree37aceb953ccbe4f14e4e2237920c0b254d6a4497 /drivers/pinctrl
parent207835b13feeae15db0555574d89352a4e5379a4 (diff)
usb: dwc3: ensure consistent types for dwc3_flush_cache
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: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
Diffstat (limited to 'drivers/pinctrl')
0 files changed, 0 insertions, 0 deletions