Searched hist:"49814 e2c9c5776c7dc7cfd151aba15bd91804c3c" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/usb/early/ |
H A D | xhci-dbc.c | diff 49814e2c9c5776c7dc7cfd151aba15bd91804c3c Sun Jan 29 12:23:10 CST 2023 Christophe JAILLET <christophe.jaillet@wanadoo.fr> usb: early: xhci-dbc: Use memcpy_and_pad()
Instead of zeroing some memory and then copying data in part or all of it, use memcpy_and_pad(). This avoids writing some memory twice and should save a few cycles.
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr> Link: https://lore.kernel.org/r/b447a7e9778d3f9e6997eb9494f1687dc2d5d3bf.1675016180.git.christophe.jaillet@wanadoo.fr Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
|