forked from padavanonly/immortalwrt-mt798x
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Imre Kaloz <[email protected]> SVN-Revision: 47801
- Loading branch information
Showing
11 changed files
with
27 additions
and
37 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,7 +13,7 @@ Signed-off-by: Felix Fietkau <[email protected]> | |
|
||
--- a/include/linux/netdevice.h | ||
+++ b/include/linux/netdevice.h | ||
@@ -2083,7 +2083,7 @@ struct pcpu_sw_netstats { | ||
@@ -2084,7 +2084,7 @@ struct pcpu_sw_netstats { | ||
}) | ||
|
||
#define netdev_alloc_pcpu_stats(type) \ | ||
|
17 changes: 0 additions & 17 deletions
17
target/linux/generic/patches-4.4/103-packet_allow_empty_payload.patch
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,7 +20,7 @@ Signed-off-by: Rafał Miłecki <[email protected]> | |
|
||
--- a/drivers/mtd/bcm47xxpart.c | ||
+++ b/drivers/mtd/bcm47xxpart.c | ||
@@ -118,8 +118,8 @@ static int bcm47xxpart_parse(struct mtd_info *master, | ||
@@ -118,8 +118,8 @@ static int bcm47xxpart_parse(struct mtd_ | ||
/* Parse block by block looking for magics */ | ||
for (offset = 0; offset <= master->size - blocksize; | ||
offset += blocksize) { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,11 +14,9 @@ Signed-off-by: Rafał Miłecki <[email protected]> | |
drivers/mtd/bcm47xxpart.c | 38 ++++++++++++++++++++++---------------- | ||
1 file changed, 22 insertions(+), 16 deletions(-) | ||
|
||
diff --git a/drivers/mtd/bcm47xxpart.c b/drivers/mtd/bcm47xxpart.c | ||
index 4450e74..1ab3451 100644 | ||
--- a/drivers/mtd/bcm47xxpart.c | ||
+++ b/drivers/mtd/bcm47xxpart.c | ||
@@ -66,11 +66,13 @@ static const char *bcm47xxpart_trx_data_part_name(struct mtd_info *master, | ||
@@ -66,11 +66,13 @@ static const char *bcm47xxpart_trx_data_ | ||
{ | ||
uint32_t buf; | ||
size_t bytes_read; | ||
|
@@ -36,15 +34,15 @@ index 4450e74..1ab3451 100644 | |
goto out_default; | ||
} | ||
|
||
@@ -95,6 +97,7 @@ static int bcm47xxpart_parse(struct mtd_info *master, | ||
@@ -95,6 +97,7 @@ static int bcm47xxpart_parse(struct mtd_ | ||
int trx_part = -1; | ||
int last_trx_part = -1; | ||
int possible_nvram_sizes[] = { 0x8000, 0xF000, 0x10000, }; | ||
+ int err; | ||
|
||
/* | ||
* Some really old flashes (like AT45DB*) had smaller erasesize-s, but | ||
@@ -128,10 +131,11 @@ static int bcm47xxpart_parse(struct mtd_info *master, | ||
@@ -128,10 +131,11 @@ static int bcm47xxpart_parse(struct mtd_ | ||
} | ||
|
||
/* Read beginning of the block */ | ||
|
@@ -60,7 +58,7 @@ index 4450e74..1ab3451 100644 | |
continue; | ||
} | ||
|
||
@@ -254,10 +258,11 @@ static int bcm47xxpart_parse(struct mtd_info *master, | ||
@@ -254,10 +258,11 @@ static int bcm47xxpart_parse(struct mtd_ | ||
} | ||
|
||
/* Read middle of the block */ | ||
|
@@ -76,7 +74,7 @@ index 4450e74..1ab3451 100644 | |
continue; | ||
} | ||
|
||
@@ -277,10 +282,11 @@ static int bcm47xxpart_parse(struct mtd_info *master, | ||
@@ -277,10 +282,11 @@ static int bcm47xxpart_parse(struct mtd_ | ||
} | ||
|
||
offset = master->size - possible_nvram_sizes[i]; | ||
|
@@ -92,6 +90,3 @@ index 4450e74..1ab3451 100644 | |
continue; | ||
} | ||
|
||
-- | ||
1.8.4.5 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -102,7 +102,7 @@ Signed-off-by: Felix Fietkau <[email protected]> | |
return 0; | ||
--- a/include/linux/netdevice.h | ||
+++ b/include/linux/netdevice.h | ||
@@ -1637,6 +1637,8 @@ struct net_device { | ||
@@ -1638,6 +1638,8 @@ struct net_device { | ||
struct netdev_hw_addr_list mc; | ||
struct netdev_hw_addr_list dev_addrs; | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters