Home Home > GIT Browse > openSUSE-15.1
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNikolay Borisov <nborisov@suse.com>2019-08-15 13:49:24 +0300
committerNikolay Borisov <nborisov@suse.com>2019-08-15 13:49:24 +0300
commitacbefc7076e520f0fdf24563b3f9fc8c9635db05 (patch)
treecc1917d49d67f20126a59613c71284ff80a97ff0
parent82d0f2c894eab43f90c7b9b19ba5f8c2c6e0437e (diff)
xfs: fix semicolon.cocci warnings (bsc#1145235).
-rw-r--r--patches.suse/xfs-fix-semicolon-cocci-warnings.patch39
-rw-r--r--series.conf1
2 files changed, 40 insertions, 0 deletions
diff --git a/patches.suse/xfs-fix-semicolon-cocci-warnings.patch b/patches.suse/xfs-fix-semicolon-cocci-warnings.patch
new file mode 100644
index 0000000000..585d5c3390
--- /dev/null
+++ b/patches.suse/xfs-fix-semicolon-cocci-warnings.patch
@@ -0,0 +1,39 @@
+From: kbuild test robot <fengguang.wu@intel.com>
+Date: Mon, 26 Jun 2017 08:54:16 -0700
+Subject: xfs: fix semicolon.cocci warnings
+Git-commit: 244e3dea58818e9520bf3dbaf4404a60b105bfb1
+Patch-mainline: v4.13-rc1
+References: bsc#1145235
+
+fs/xfs/xfs_log.c:2092:38-39: Unneeded semicolon
+
+
+ Remove unneeded semicolon.
+
+Generated by: scripts/coccinelle/misc/semicolon.cocci
+
+Fixes: d4ca1d550d05 ("xfs: dump transaction usage details on log reservation overrun")
+CC: Brian Foster <bfoster@redhat.com>
+Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
+Reviewed-by: Brian Foster <bfoster@redhat.com>
+Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>
+Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
+Acked-by: Nikolay Borisov <nborisov@suse.com>
+---
+ fs/xfs/xfs_log.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/fs/xfs/xfs_log.c b/fs/xfs/xfs_log.c
+index 31f11be42f01..0053bcf2b10a 100644
+--- a/fs/xfs/xfs_log.c
++++ b/fs/xfs/xfs_log.c
+@@ -2085,7 +2085,7 @@ xlog_print_trans(
+ xfs_warn(mp, " type = 0x%x", vec->i_type);
+ xfs_warn(mp, " len = %d", vec->i_len);
+ xfs_warn(mp, " first %d bytes of iovec[%d]:", dumplen, i);
+- xfs_hex_dump(vec->i_addr, dumplen);;
++ xfs_hex_dump(vec->i_addr, dumplen);
+
+ vec++;
+ }
+
diff --git a/series.conf b/series.conf
index a2fd3fa2c9..526db79680 100644
--- a/series.conf
+++ b/series.conf
@@ -3590,6 +3590,7 @@
patches.fixes/xfs-remove-unneeded-parameter-from-XFS_TEST_ERROR.patch
patches.fixes/xfs-convert-drop_writes-to-use-the-errortag-mechanis.patch
patches.fixes/xfs-replace-log_badcrc_factor-knob-with-error-inject.patch
+ patches.suse/xfs-fix-semicolon-cocci-warnings.patch
patches.fixes/xfs-rewrite-xfs_dq_get_next_id-using-xfs_iext_lookup.patch
patches.fixes/vfs-Add-page_cache_seek_hole_data-helper.patch
patches.fixes/vfs-Add-iomap_seek_hole-and-iomap_seek_data-helpers.patch