[ovs-dev] [PATCH] docs: Recommend newer version of "sparse".

Ben Pfaff blp at ovn.org
Fri Jan 12 18:42:39 UTC 2018


The previously recommended version of sparse, version 0.4.4, does not
support -Wsparse-error properly, so configuring with --enable-Werror and
--enable-sparse will not have the desired effect of breaking the build
when sparse reports an error.  Version 0.5.1 and later do implement this
properly.

This commit also updates the recommended URL for sparse because the
previous URL doesn't have the newer releases.

Reported-by: Justin Pettit <jpettit at ovn.org>
Signed-off-by: Ben Pfaff <blp at ovn.org>
---
 Documentation/intro/install/general.rst | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/Documentation/intro/install/general.rst b/Documentation/intro/install/general.rst
index 718e5c2f7547..c4a3415854ba 100644
--- a/Documentation/intro/install/general.rst
+++ b/Documentation/intro/install/general.rst
@@ -160,8 +160,8 @@ other than plain text, only if you have the following:
 If you are going to extensively modify Open vSwitch, consider installing the
 following to obtain better warnings:
 
-- "sparse" version 0.4.4 or later
-  (https://www.kernel.org/pub/software/devel/sparse/dist/).
+- "sparse" version 0.5.1 or later
+  (https://git.kernel.org/pub/scm/devel/sparse/sparse.git/).
 
 - GNU make.
 
-- 
2.10.2



More information about the dev mailing list