aboutsummaryrefslogtreecommitdiff
path: root/drivers/usb/cdns3/cdns3-debug.h
diff options
context:
space:
mode:
authorYury Norov <[email protected]>2019-05-14 15:44:46 -0700
committerLinus Torvalds <[email protected]>2019-05-14 19:52:50 -0700
commit3713a4e1fdb8da86f96a3e770b08e278d97529b4 (patch)
tree724fa45759fee26161ee2c34e9c060a431561cfe /drivers/usb/cdns3/cdns3-debug.h
parent4e7301e6df9595e34e52acc18b943d00c4865e3d (diff)
include/linux/cpumask.h: fix double string traverse in cpumask_parse
cpumask_parse() finds first occurrence of either or strchr() and strlen(). We can do it better with a single call of strchrnul(). [[email protected]: remove unneeded cast] Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Yury Norov <[email protected]> Acked-by: Rasmus Villemoes <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-debug.h')
0 files changed, 0 insertions, 0 deletions