aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/generic/patches-4.4/834-ledtrig-libata.patch
diff options
context:
space:
mode:
authorHauke Mehrtens <hauke@hauke-m.de>2016-07-04 13:34:25 +0200
committerZoltan HERPAI <wigyori@uid0.hu>2016-07-04 13:34:25 +0200
commit8bdbf41791d19c921d00132cfb25ea946dfcfd21 (patch)
tree93e9140f42002b44e2f8796ac2601d107002c7b4 /target/linux/generic/patches-4.4/834-ledtrig-libata.patch
parentfa936d20990f7b8cfd999d4c468116d55ab3f3ef (diff)
downloadmaster-187ad058-8bdbf41791d19c921d00132cfb25ea946dfcfd21.tar.gz
master-187ad058-8bdbf41791d19c921d00132cfb25ea946dfcfd21.tar.bz2
master-187ad058-8bdbf41791d19c921d00132cfb25ea946dfcfd21.zip
kernel: update to version 4.4.14
Changelog: https://cdn.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.4.14 Some manual changes to target/linux/generic/patches-4.4/610- netfilter_match_bypass_default_checks.patch were needed. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Diffstat (limited to 'target/linux/generic/patches-4.4/834-ledtrig-libata.patch')
-rw-r--r--target/linux/generic/patches-4.4/834-ledtrig-libata.patch4
1 files changed, 2 insertions, 2 deletions
diff --git a/target/linux/generic/patches-4.4/834-ledtrig-libata.patch b/target/linux/generic/patches-4.4/834-ledtrig-libata.patch
index 9a9203b140..c60fc1a515 100644
--- a/target/linux/generic/patches-4.4/834-ledtrig-libata.patch
+++ b/target/linux/generic/patches-4.4/834-ledtrig-libata.patch
@@ -110,11 +110,11 @@ Signed-off-by: Daniel Golle <daniel@makrotopia.org>
+ for (i = 0; i < host->n_ports; i++) {
+ if (unlikely(!host->ports[i]->ledtrig))
+ continue;
-+
+
+ snprintf(host->ports[i]->ledtrig_name,
+ sizeof(host->ports[i]->ledtrig_name), "ata%u",
+ host->ports[i]->print_id);
-
++
+ host->ports[i]->ledtrig->name = host->ports[i]->ledtrig_name;
+
+ if (led_trigger_register(host->ports[i]->ledtrig)) {