[linux-yocto] [[PATCH 1/1] watchdog: iTCO_wdt: Fix checkpatch.pl warnings

chong.yi.chai at intel.com chong.yi.chai at intel.com
Wed Mar 30 20:17:47 PDT 2016


From: "Chai, Chong Yi" <chong.yi.chai at intel.com>

---
 features/soc/baytrail/baytrail.scc                 |  1 +
 ...chdog-iTCO_wdt-Fix-checkpatch.pl-warnings.patch | 36 ++++++++++++++++++++++
 2 files changed, 37 insertions(+)
 create mode 100644 features/soc/baytrail/watchdog-iTCO_wdt-Fix-checkpatch.pl-warnings.patch

diff --git a/features/soc/baytrail/baytrail.scc b/features/soc/baytrail/baytrail.scc
index df1f83b..78a3cca 100644
--- a/features/soc/baytrail/baytrail.scc
+++ b/features/soc/baytrail/baytrail.scc
@@ -76,3 +76,4 @@ patch pwm-Add-freq_hz-and-duty_percent.patch
 patch scsi-add-extended-information-to-MEDIA_CHANGE.patch
 patch thermal-Intel-SoC-DTS-thermal.patch
 patch thermal-Intel-SoC-DTS-Don-t-do-thermal-zone-update-i.patch
+patch watchdog-iTCO_wdt-Fix-checkpatch.pl-warnings.patch
diff --git a/features/soc/baytrail/watchdog-iTCO_wdt-Fix-checkpatch.pl-warnings.patch b/features/soc/baytrail/watchdog-iTCO_wdt-Fix-checkpatch.pl-warnings.patch
new file mode 100644
index 0000000..c16f91e
--- /dev/null
+++ b/features/soc/baytrail/watchdog-iTCO_wdt-Fix-checkpatch.pl-warnings.patch
@@ -0,0 +1,36 @@
+From 4f9b63c2cb3c6e558270771e11064d3215806762 Mon Sep 17 00:00:00 2001
+From: Wan Ahmad Zainie <wan.ahmad.zainie.wan.mohamad at intel.com>
+Date: Fri, 21 Aug 2015 11:21:06 +0800
+Subject: [PATCH 153/164] watchdog: iTCO_wdt: Fix checkpatch.pl warnings
+
+This commit is to fix the result of running scripts/checkpatch.pl against
+0094-watchdog-iTCO_wdt-Add-support-for-v3-silicon.patch
+
+Signed-off-by: Wan Ahmad Zainie <wan.ahmad.zainie.wan.mohamad at intel.com>
+---
+ drivers/watchdog/iTCO_wdt.c |    6 ++++--
+ 1 files changed, 4 insertions(+), 2 deletions(-)
+
+diff --git a/drivers/watchdog/iTCO_wdt.c b/drivers/watchdog/iTCO_wdt.c
+index 6d5928f..b1032d4 100644
+--- a/drivers/watchdog/iTCO_wdt.c
++++ b/drivers/watchdog/iTCO_wdt.c
+@@ -449,11 +449,13 @@ static int iTCO_wdt_probe(struct platform_device *dev)
+ 			goto out;
+ 
+ 		if (!request_mem_region(iTCO_wdt_private.gcs_pmc_res->start,
+-			resource_size(iTCO_wdt_private.gcs_pmc_res), dev->name)) {
++			resource_size(iTCO_wdt_private.gcs_pmc_res), dev->name)
++		) {
+ 			ret = -EBUSY;
+ 			goto out;
+ 		}
+-		iTCO_wdt_private.gcs_pmc = ioremap(iTCO_wdt_private.gcs_pmc_res->start,
++		iTCO_wdt_private.gcs_pmc = ioremap(
++			iTCO_wdt_private.gcs_pmc_res->start,
+ 			resource_size(iTCO_wdt_private.gcs_pmc_res));
+ 		if (!iTCO_wdt_private.gcs_pmc) {
+ 			ret = -EIO;
+-- 
+1.7.7.6
+
-- 
1.9.1



More information about the linux-yocto mailing list