diff for duplicates of <20150128191531.GD10259@mwanda> diff --git a/a/1.txt b/N1/1.txt index 04d4dec..2e4b9de 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -1,5 +1,5 @@ "force_mode" is a u32 so it is never "< 0", but because of type -promotion then comparing "= -1" will do what we want. +promotion then comparing "== -1" will do what we want. Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> @@ -12,7 +12,7 @@ index edd0a17..ec540aa 100644 } - if (force_mode < 0) { -+ if (force_mode = -1) { ++ if (force_mode == -1) { dev_err(&pdev->dev, "invalid force mode\n"); return -EINVAL; } diff --git a/a/content_digest b/N1/content_digest index 828a458..f5a0b65 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -1,6 +1,6 @@ "From\0Dan Carpenter <dan.carpenter@oracle.com>\0" "Subject\0[patch] regulator: qcom-rpm: signedness bug in probe()\0" - "Date\0Wed, 28 Jan 2015 19:15:31 +0000\0" + "Date\0Wed, 28 Jan 2015 22:15:31 +0300\0" "To\0Liam Girdwood <lgirdwood@gmail.com>" " Bjorn Andersson <bjorn.andersson@sonymobile.com>\0" "Cc\0Mark Brown <broonie@kernel.org>" @@ -9,7 +9,7 @@ "\00:1\0" "b\0" "\"force_mode\" is a u32 so it is never \"< 0\", but because of type\n" - "promotion then comparing \"= -1\" will do what we want.\n" + "promotion then comparing \"== -1\" will do what we want.\n" "\n" "Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>\n" "\n" @@ -22,9 +22,9 @@ " \t\t}\n" " \n" "-\t\tif (force_mode < 0) {\n" - "+\t\tif (force_mode = -1) {\n" + "+\t\tif (force_mode == -1) {\n" " \t\t\tdev_err(&pdev->dev, \"invalid force mode\\n\");\n" " \t\t\treturn -EINVAL;\n" " \t\t}" -7f3f7032b9b9544608ea05f8a5e4d2a70e0ef91de6a89b904a1a188bdcb2002b +5b33f4a5d60f029d63a0edf48f618245f89b841853ccf9898d118e94835a8bb9
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.