diff options
author | Li Yang <leoyang.li@nxp.com> | 2019-01-11 22:55:57 +0100 |
---|---|---|
committer | Li Yang <leoyang.li@nxp.com> | 2019-01-11 23:08:43 +0100 |
commit | 3c0d64e867ed78a782a8a00d3b519396d9c5a2db (patch) | |
tree | 4b310af8210970f53d2fa0933b958021db75e27c /lib/crc-ccitt.c | |
parent | soc: fsl: dpio: Change bpid type to u16 (diff) | |
download | linux-3c0d64e867ed78a782a8a00d3b519396d9c5a2db.tar.xz linux-3c0d64e867ed78a782a8a00d3b519396d9c5a2db.zip |
soc: fsl: guts: reuse machine name from device tree
Reuse the string machine from the device tree data structure instead
of duplicating the data again. This also prevents a potential memory
allocation failure that was not handled previously. Also fixes an early
put of root device node.
Reported-by: Nicholas Mc Guire <hofrat@osadl.org>
Signed-off-by: Li Yang <leoyang.li@nxp.com>
Diffstat (limited to 'lib/crc-ccitt.c')
0 files changed, 0 insertions, 0 deletions