Searched hist:b7bf4a95922c3e1a4974aa34ebb714ac2eb89937 (Results 1 – 3 of 3) sorted by relevance
/openbmc/u-boot/drivers/usb/dwc3/ |
H A D | io.h | diff b7bf4a95922c3e1a4974aa34ebb714ac2eb89937 Thu Apr 06 09:58:52 CDT 2017 Philipp Tomsich <philipp.tomsich@theobroma-systems.com> 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>
|
H A D | ep0.c | diff b7bf4a95922c3e1a4974aa34ebb714ac2eb89937 Thu Apr 06 09:58:52 CDT 2017 Philipp Tomsich <philipp.tomsich@theobroma-systems.com> 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>
|
H A D | gadget.c | diff b7bf4a95922c3e1a4974aa34ebb714ac2eb89937 Thu Apr 06 09:58:52 CDT 2017 Philipp Tomsich <philipp.tomsich@theobroma-systems.com> 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>
|