mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-09-24 18:16:04 +00:00
[POWERPC] Fix i2c device string format
Use strlcpy() to guarantee strings in i2c device type and driver_name fields are 0-terminated. Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de> Signed-off-by: Paul Mackerras <paulus@samba.org>
This commit is contained in:
parent
750d1d1ca1
commit
e78bb5dc2e
1 changed files with 9 additions and 4 deletions
Loading…
Add table
Add a link
Reference in a new issue