mirror of
git://git.openwrt.org/openwrt/openwrt.git
synced 2025-12-12 23:52:09 -05:00
1. Check for -EPROBE_DEFER
If it occurs we have to return immediately. Trying other properties
could result in another error and ignoring -EPROBE_DEFER which has a
special meaning.
2. Check for read result
Assuming property->read() success can result in NULL pointer
dereference. It happens e.g. for "mac-address" with NVMEM cell
containing invalid MAC.
3. Simplify code
Don't move cell reading & nvmem_cell_put() into a loop. Simplify loop
code.
Fixes:
|
||
|---|---|---|
| .. | ||
| backport-5.10 | ||
| backport-5.15 | ||
| files | ||
| hack-5.10 | ||
| hack-5.15 | ||
| image | ||
| other-files | ||
| pending-5.10 | ||
| pending-5.15 | ||
| config-5.10 | ||
| config-5.15 | ||
| config-filter | ||
| PATCHES | ||