mirror of
https://github.com/openwrt/openwrt.git
synced 2025-02-01 08:48:08 +00:00
kernel: fix build error in mtdsplit driver
Add missing parentheses. Fixes kernel build issue when using this driver. Signed-off-by: Koen Vandeputte <koen.vandeputte@ncentric.com>
This commit is contained in:
parent
597ea08038
commit
4339e5ddb1
@ -262,7 +262,7 @@ static ssize_t uimage_verify_wndr3700(u_char *buf, size_t len)
|
|||||||
struct uimage_header *header = (struct uimage_header *)buf;
|
struct uimage_header *header = (struct uimage_header *)buf;
|
||||||
uint8_t expected_type = IH_TYPE_FILESYSTEM;
|
uint8_t expected_type = IH_TYPE_FILESYSTEM;
|
||||||
|
|
||||||
switch be32_to_cpu(header->ih_magic) {
|
switch (be32_to_cpu(header->ih_magic)) {
|
||||||
case FW_MAGIC_WNR612V2:
|
case FW_MAGIC_WNR612V2:
|
||||||
case FW_MAGIC_WNR1000V2:
|
case FW_MAGIC_WNR1000V2:
|
||||||
case FW_MAGIC_WNR1000V2_VC:
|
case FW_MAGIC_WNR1000V2_VC:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user