diff options
author | Thibaut VARENE <hacks@slashdirt.org> | 2017-03-13 14:51:54 +0100 |
---|---|---|
committer | Piotr Dymacz <pepe2k@gmail.com> | 2017-03-15 23:00:52 +0100 |
commit | e1f3cf7ede923312a09fd37195b059a31072cd52 (patch) | |
tree | 24b23be6df0642e89ff6ea8458f8bf0bd481e949 /target/linux/ar71xx/files/arch/mips/ath79/dev-dsa.c | |
parent | e3dc036cbf53bb4c2538b619f986cc3cd2aabc87 (diff) | |
download | upstream-e1f3cf7ede923312a09fd37195b059a31072cd52.tar.gz upstream-e1f3cf7ede923312a09fd37195b059a31072cd52.tar.bz2 upstream-e1f3cf7ede923312a09fd37195b059a31072cd52.zip |
ar71xx: mikrotik: prepend "RouterBOARD" to machine name for NOR devices
When the device name doesn't already contain "RouterBOARD", this patch adds
this string to the machine name.
Most NOR devices already have "RouterBOARD" in their hardware-stored device name,
but not all of them.
This patch also makes the code more robust against buffer overflows.
Signed-off-by: Thibaut VARENE <hacks@slashdirt.org>
Diffstat (limited to 'target/linux/ar71xx/files/arch/mips/ath79/dev-dsa.c')
0 files changed, 0 insertions, 0 deletions