[Pkg-ofed-commits] [infiniband-diags] 04/07: Remove patch 0001-rdma-ndd-fix-compiler-warnings.patch which has been integrated upstream.
Mehdi Dogguy
mehdi at moszumanska.debian.org
Tue Jan 5 00:27:37 UTC 2016
This is an automated email from the git hooks/post-receive script.
mehdi pushed a commit to branch master
in repository infiniband-diags.
commit 1358bfa752d3c870a4d6787df4e9810d101196b7
Author: Mehdi Dogguy <mehdi at debian.org>
Date: Tue Jan 5 00:59:40 2016 +0100
Remove patch 0001-rdma-ndd-fix-compiler-warnings.patch which has been integrated upstream.
---
debian/changelog | 2 +
.../0001-rdma-ndd-fix-compiler-warnings.patch | 46 ----------------------
debian/patches/series | 1 -
3 files changed, 2 insertions(+), 47 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index cb55cae..48837dd 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,6 +1,8 @@
infiniband-diags (1.6.6-1) UNRELEASED; urgency=medium
* New upstream release
+ * Remove patch 0001-rdma-ndd-fix-compiler-warnings.patch which has been
+ integrated upstream.
-- Mehdi Dogguy <mehdi at debian.org> Tue, 05 Jan 2016 00:57:12 +0100
diff --git a/debian/patches/0001-rdma-ndd-fix-compiler-warnings.patch b/debian/patches/0001-rdma-ndd-fix-compiler-warnings.patch
deleted file mode 100644
index b8abc90..0000000
--- a/debian/patches/0001-rdma-ndd-fix-compiler-warnings.patch
+++ /dev/null
@@ -1,46 +0,0 @@
-From cf7e16f278535e234dbf1968a41d63f824adf13e Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Ana=20Guerrero=20L=C3=B3pez?= <ana at ekaia.org>
-Date: Wed, 22 Jul 2015 14:50:48 +0200
-Subject: [PATCH] rdma-ndd: fix compiler warnings.
-MIME-Version: 1.0
-Content-Type: text/plain; charset=UTF-8
-Content-Transfer-Encoding: 8bit
-
-This patch fixes -Wformat-security warnings, that in Debian (and Ubuntu)
-are enabled by default:
-
-src/rdma-ndd.c: In function 'update_node_desc':
-src/rdma-ndd.c:149:3: error: format not a string literal and no format arguments [-Werror=format-security]
- fprintf(f, new_nd);
- ^
-src/rdma-ndd.c: In function 'udev_log_fn':
-src/rdma-ndd.c:247:2: error: format not a string literal and no format arguments [-Werror=format-security]
- syslog(LOG_ERR, msg);
-
-Signed-off-by: Ana Guerrero López <ana at ekaia.org>
----
- src/rdma-ndd.c | 4 ++--
- 1 file changed, 2 insertions(+), 2 deletions(-)
-
-Index: infiniband-diags/src/rdma-ndd.c
-===================================================================
---- infiniband-diags.orig/src/rdma-ndd.c
-+++ infiniband-diags/src/rdma-ndd.c
-@@ -146,7 +146,7 @@ static int update_node_desc(const char *
- syslog(LOG_INFO, "%s: change (%s) -> (%s)\n",
- device, nd, new_nd);
- rewind(f);
-- fprintf(f, new_nd);
-+ fprintf(f, "%s", new_nd);
- }
-
- rc = 0;
-@@ -244,7 +244,7 @@ static void udev_log_fn(struct udev *ud,
- file, line, fn);
- if (off < MSG_MAX-1)
- vsnprintf(msg+off, MSG_MAX-off, format, args);
-- syslog(LOG_ERR, msg);
-+ syslog(LOG_ERR, "%s", msg);
- }
-
- static void setup_udev(void)
diff --git a/debian/patches/series b/debian/patches/series
index 4c000ec..e613ac0 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1 @@
comment_test_out
-0001-rdma-ndd-fix-compiler-warnings.patch
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ofed/infiniband-diags.git
More information about the Pkg-ofed-commits
mailing list