You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
openwrt/target
Mathias Kresin fdf6760cda kernel: improve ubi auto attach code readability
Move the put_mtd_device() called on multiple error conditions to a goto
label to use it later for more error conditions.

The early return on failed open of the mtd device and mismatching mtd
type allows to get rid of one level of indentation. By jumping to the
cleanup code, a refcount bug is fixed for the wrong flash type condition.

While at it, make clear that we only check for the UBI magic if the read
from flash was successful.

Signed-off-by: Mathias Kresin <dev@kresin.me>
6 years ago
..
imagebuilder imagebuilder: remove split patch dirs from imagebuilder archive 6 years ago
linux kernel: improve ubi auto attach code readability 6 years ago
sdk sdk: change base feed fallback to git.openwrt.org 7 years ago
toolchain merge: etc: update remaining files 7 years ago
Config.in config: set ARCH if powerpc64 is selected in the configuration 7 years ago
Makefile build: make <subdir>/install opt-in, use it for target/ only 8 years ago