aboutsummaryrefslogtreecommitdiff
path: root/include/linux/phy.h
diff options
context:
space:
mode:
authorMartin Walch <walch.martin@web.de>2013-10-03 18:35:16 +0200
committerMoyster <oysterized@gmail.com>2018-11-29 15:52:49 +0100
commitcc473a0dd71c087b92ca6951f94aef42e32af7d0 (patch)
treed4d1a7a951c885dde7ba5454d923e93204343eb9 /include/linux/phy.h
parente779a58faed45b9b4a63b857fc5935d332b5d3fb (diff)
kconfig: fix bug in search results string: use strlen(gstr->s), not gstr->len
The struct gstr has a capacity that may differ from the actual string length. However, a string manipulation in the function search_conf made the assumption that it is the same, which led to messing up some search results, especially when the content of the gstr in use had not yet reached at least 63 chars. Signed-off-by: Martin Walch <walch.martin@web.de> Acked-by: Wang YanQing <udknight@gmail.com> Acked-by: Benjamin Poirier <bpoirier@suse.de> Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Diffstat (limited to 'include/linux/phy.h')
0 files changed, 0 insertions, 0 deletions