]> git.ipfire.org Git - thirdparty/kernel/stable-queue.git/commitdiff
fuzz cleanup
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 17 Sep 2020 07:42:33 +0000 (09:42 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 17 Sep 2020 07:42:33 +0000 (09:42 +0200)
queue-4.14/iio-adc-mcp3422-fix-locking-on-error-path.patch
queue-4.14/iio-adc-mcp3422-fix-locking-scope.patch
queue-4.19/iio-adc-mcp3422-fix-locking-on-error-path.patch
queue-4.19/iio-adc-mcp3422-fix-locking-scope.patch
queue-4.4/iio-adc-mcp3422-fix-locking-on-error-path.patch
queue-4.4/iio-adc-mcp3422-fix-locking-scope.patch
queue-4.9/iio-adc-mcp3422-fix-locking-on-error-path.patch
queue-4.9/iio-adc-mcp3422-fix-locking-scope.patch
queue-5.8/iio-adc-mcp3422-fix-locking-on-error-path.patch
queue-5.8/iio-adc-mcp3422-fix-locking-scope.patch

index 143d2ed46fd68f8ea4c25d499cf8738b0880dbab..7ae957d2527681817567f3fe4a945108585d5a74 100644 (file)
@@ -18,14 +18,12 @@ Link: https://lore.kernel.org/r/20200901093218.1500845-1-angelo.compagnucci@gmai
 Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
 Signed-off-by: Sasha Levin <sashal@kernel.org>
 ---
- drivers/iio/adc/mcp3422.c | 4 +++-
+ drivers/iio/adc/mcp3422.c |    4 +++-
  1 file changed, 3 insertions(+), 1 deletion(-)
 
-diff --git a/drivers/iio/adc/mcp3422.c b/drivers/iio/adc/mcp3422.c
-index 63de705086ed4..155db438b7ecb 100644
 --- a/drivers/iio/adc/mcp3422.c
 +++ b/drivers/iio/adc/mcp3422.c
-@@ -148,8 +148,10 @@ static int mcp3422_read_channel(struct mcp3422 *adc,
+@@ -146,8 +146,10 @@ static int mcp3422_read_channel(struct m
                config &= ~MCP3422_PGA_MASK;
                config |= MCP3422_PGA_VALUE(adc->pga[req_channel]);
                ret = mcp3422_update_config(adc, config);
@@ -37,6 +35,3 @@ index 63de705086ed4..155db438b7ecb 100644
                msleep(mcp3422_read_times[MCP3422_SAMPLE_RATE(adc->config)]);
        }
  
--- 
-2.25.1
-
index 72274558d610dd650116fa227903a057e3310d47..2c11493b8d22bf302a7e5354022535e07f865a64 100644 (file)
@@ -52,7 +52,7 @@ Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
        if (req_channel != MCP3422_CHANNEL(adc->config)) {
                config = adc->config;
                config &= ~MCP3422_CHANNEL_MASK;
-@@ -155,7 +153,11 @@ static int mcp3422_read_channel(struct m
+@@ -153,7 +151,11 @@ static int mcp3422_read_channel(struct m
                msleep(mcp3422_read_times[MCP3422_SAMPLE_RATE(adc->config)]);
        }
  
index 1084ad374d889edab8714891c034c65eaac37b08..2d298fef0781a61e3109f70e1c9db89746552478 100644 (file)
@@ -18,14 +18,12 @@ Link: https://lore.kernel.org/r/20200901093218.1500845-1-angelo.compagnucci@gmai
 Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
 Signed-off-by: Sasha Levin <sashal@kernel.org>
 ---
- drivers/iio/adc/mcp3422.c | 4 +++-
+ drivers/iio/adc/mcp3422.c |    4 +++-
  1 file changed, 3 insertions(+), 1 deletion(-)
 
-diff --git a/drivers/iio/adc/mcp3422.c b/drivers/iio/adc/mcp3422.c
-index 819f260115005..a5a687257c0b8 100644
 --- a/drivers/iio/adc/mcp3422.c
 +++ b/drivers/iio/adc/mcp3422.c
-@@ -148,8 +148,10 @@ static int mcp3422_read_channel(struct mcp3422 *adc,
+@@ -146,8 +146,10 @@ static int mcp3422_read_channel(struct m
                config &= ~MCP3422_PGA_MASK;
                config |= MCP3422_PGA_VALUE(adc->pga[req_channel]);
                ret = mcp3422_update_config(adc, config);
@@ -37,6 +35,3 @@ index 819f260115005..a5a687257c0b8 100644
                msleep(mcp3422_read_times[MCP3422_SAMPLE_RATE(adc->config)]);
        }
  
--- 
-2.25.1
-
index 72274558d610dd650116fa227903a057e3310d47..2c11493b8d22bf302a7e5354022535e07f865a64 100644 (file)
@@ -52,7 +52,7 @@ Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
        if (req_channel != MCP3422_CHANNEL(adc->config)) {
                config = adc->config;
                config &= ~MCP3422_CHANNEL_MASK;
-@@ -155,7 +153,11 @@ static int mcp3422_read_channel(struct m
+@@ -153,7 +151,11 @@ static int mcp3422_read_channel(struct m
                msleep(mcp3422_read_times[MCP3422_SAMPLE_RATE(adc->config)]);
        }
  
index 0405cb72e8076634190e3cc6290a6e921f59a671..8d910db793612576236aa88d4f0e3fece88f6c22 100644 (file)
@@ -18,14 +18,12 @@ Link: https://lore.kernel.org/r/20200901093218.1500845-1-angelo.compagnucci@gmai
 Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
 Signed-off-by: Sasha Levin <sashal@kernel.org>
 ---
- drivers/iio/adc/mcp3422.c | 4 +++-
+ drivers/iio/adc/mcp3422.c |    4 +++-
  1 file changed, 3 insertions(+), 1 deletion(-)
 
-diff --git a/drivers/iio/adc/mcp3422.c b/drivers/iio/adc/mcp3422.c
-index 3555122008b44..21f37da8ba3d7 100644
 --- a/drivers/iio/adc/mcp3422.c
 +++ b/drivers/iio/adc/mcp3422.c
-@@ -147,8 +147,10 @@ static int mcp3422_read_channel(struct mcp3422 *adc,
+@@ -145,8 +145,10 @@ static int mcp3422_read_channel(struct m
                config &= ~MCP3422_PGA_MASK;
                config |= MCP3422_PGA_VALUE(adc->pga[req_channel]);
                ret = mcp3422_update_config(adc, config);
@@ -37,6 +35,3 @@ index 3555122008b44..21f37da8ba3d7 100644
                msleep(mcp3422_read_times[MCP3422_SAMPLE_RATE(adc->config)]);
        }
  
--- 
-2.25.1
-
index a84be103a6f9d7294b1c5bae43f188fd1de865fa..c2b354233e9bc7ba1e5032e93b384ead41c82fbf 100644 (file)
@@ -52,7 +52,7 @@ Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
        if (req_channel != MCP3422_CHANNEL(adc->config)) {
                config = adc->config;
                config &= ~MCP3422_CHANNEL_MASK;
-@@ -154,7 +152,11 @@ static int mcp3422_read_channel(struct m
+@@ -152,7 +150,11 @@ static int mcp3422_read_channel(struct m
                msleep(mcp3422_read_times[MCP3422_SAMPLE_RATE(adc->config)]);
        }
  
index 1683e7f2746c51c9521492be153782f902357dc1..93c43779dc04f2d23708d8538fb05e323a74c14e 100644 (file)
@@ -18,14 +18,12 @@ Link: https://lore.kernel.org/r/20200901093218.1500845-1-angelo.compagnucci@gmai
 Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
 Signed-off-by: Sasha Levin <sashal@kernel.org>
 ---
- drivers/iio/adc/mcp3422.c | 4 +++-
+ drivers/iio/adc/mcp3422.c |    4 +++-
  1 file changed, 3 insertions(+), 1 deletion(-)
 
-diff --git a/drivers/iio/adc/mcp3422.c b/drivers/iio/adc/mcp3422.c
-index 254135e077922..25f3e58cd4d05 100644
 --- a/drivers/iio/adc/mcp3422.c
 +++ b/drivers/iio/adc/mcp3422.c
-@@ -148,8 +148,10 @@ static int mcp3422_read_channel(struct mcp3422 *adc,
+@@ -146,8 +146,10 @@ static int mcp3422_read_channel(struct m
                config &= ~MCP3422_PGA_MASK;
                config |= MCP3422_PGA_VALUE(adc->pga[req_channel]);
                ret = mcp3422_update_config(adc, config);
@@ -37,6 +35,3 @@ index 254135e077922..25f3e58cd4d05 100644
                msleep(mcp3422_read_times[MCP3422_SAMPLE_RATE(adc->config)]);
        }
  
--- 
-2.25.1
-
index 72274558d610dd650116fa227903a057e3310d47..2c11493b8d22bf302a7e5354022535e07f865a64 100644 (file)
@@ -52,7 +52,7 @@ Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
        if (req_channel != MCP3422_CHANNEL(adc->config)) {
                config = adc->config;
                config &= ~MCP3422_CHANNEL_MASK;
-@@ -155,7 +153,11 @@ static int mcp3422_read_channel(struct m
+@@ -153,7 +151,11 @@ static int mcp3422_read_channel(struct m
                msleep(mcp3422_read_times[MCP3422_SAMPLE_RATE(adc->config)]);
        }
  
index 77f21723d65cd4cd5e48f0bedbe1c99248280ae8..2b66e09065035954f8ee17cb5c4d5ce46ce03993 100644 (file)
@@ -18,14 +18,12 @@ Link: https://lore.kernel.org/r/20200901093218.1500845-1-angelo.compagnucci@gmai
 Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
 Signed-off-by: Sasha Levin <sashal@kernel.org>
 ---
- drivers/iio/adc/mcp3422.c | 4 +++-
+ drivers/iio/adc/mcp3422.c |    4 +++-
  1 file changed, 3 insertions(+), 1 deletion(-)
 
-diff --git a/drivers/iio/adc/mcp3422.c b/drivers/iio/adc/mcp3422.c
-index d86c0b5d80a3d..c717981c8fb03 100644
 --- a/drivers/iio/adc/mcp3422.c
 +++ b/drivers/iio/adc/mcp3422.c
-@@ -145,8 +145,10 @@ static int mcp3422_read_channel(struct mcp3422 *adc,
+@@ -143,8 +143,10 @@ static int mcp3422_read_channel(struct m
                config &= ~MCP3422_PGA_MASK;
                config |= MCP3422_PGA_VALUE(adc->pga[req_channel]);
                ret = mcp3422_update_config(adc, config);
@@ -37,6 +35,3 @@ index d86c0b5d80a3d..c717981c8fb03 100644
                msleep(mcp3422_read_times[MCP3422_SAMPLE_RATE(adc->config)]);
        }
  
--- 
-2.25.1
-
index 702837acf3b3f8fb783b4964119f04576ac947bd..11a69afa5c7777e25ec115a604e97ff1d92bc271 100644 (file)
@@ -52,7 +52,7 @@ Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
        if (req_channel != MCP3422_CHANNEL(adc->config)) {
                config = adc->config;
                config &= ~MCP3422_CHANNEL_MASK;
-@@ -152,7 +150,11 @@ static int mcp3422_read_channel(struct m
+@@ -150,7 +148,11 @@ static int mcp3422_read_channel(struct m
                msleep(mcp3422_read_times[MCP3422_SAMPLE_RATE(adc->config)]);
        }