diff options
author | Yangbo Lu <yangbo.lu@nxp.com> | 2018-08-01 10:41:11 +0800 |
---|---|---|
committer | Hauke Mehrtens <hauke@hauke-m.de> | 2018-09-22 21:20:58 +0200 |
commit | db30adc9312bd0c42830af60ddf2ca398494c265 (patch) | |
tree | 5af9b062151b3f3962b7a3202f25ec5e5851cadb /package/network/utils/rssileds | |
parent | 0f44c7c8d190924c22420638f87cca0ea148d587 (diff) | |
download | upstream-db30adc9312bd0c42830af60ddf2ca398494c265.tar.gz upstream-db30adc9312bd0c42830af60ddf2ca398494c265.tar.bz2 upstream-db30adc9312bd0c42830af60ddf2ca398494c265.zip |
layerscape: fix get_device_file() function of restool
The restool failed to work with current gcc-7.3.0-musl.
This patch is to add a restool fix-up patch to fix
multiple problems encountered in the get_device_file()
function:
- The deprecated atoi() function is replaced by strtoul
- An invalid memory access was being performed by using
memory from dir->d_name even after closedir(). This is
fixed by a strdup() on the device filename.
- Also, error prints now print any relevant error code.
Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com>
Diffstat (limited to 'package/network/utils/rssileds')
0 files changed, 0 insertions, 0 deletions