* [PATCH] hwmon: (hs3001) Fix unused variable compiler warning
@ 2023-07-26 11:36 werneazc
2023-07-26 12:20 ` Krzysztof Kozlowski
0 siblings, 1 reply; 5+ messages in thread
From: werneazc @ 2023-07-26 11:36 UTC (permalink / raw)
To: jdelvare, linux, krzysztof.kozlowski+dt
Cc: linux-hwmon, linux-kernel, Andre Werner, kernel test robot
From: Andre Werner <andre.werner@systec-electronic.com>
Delete unused variable in drivers probe function.
Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202307261819.VMDuxZOM-lkp@intel.com/
Signed-off-by: Andre Werner <andre.werner@systec-electronic.com>
---
---
drivers/hwmon/hs3001.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/hwmon/hs3001.c b/drivers/hwmon/hs3001.c
index 17c3455922eb..9972f6bbb22a 100644
--- a/drivers/hwmon/hs3001.c
+++ b/drivers/hwmon/hs3001.c
@@ -193,7 +193,6 @@ static int hs3001_probe(struct i2c_client *client)
struct hs3001_data *data;
struct device *hwmon_dev;
struct device *dev = &client->dev;
- int ret;
if (!i2c_check_functionality(client->adapter, I2C_FUNC_I2C))
return -EOPNOTSUPP;
--
2.41.0
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH] hwmon: (hs3001) Fix unused variable compiler warning
2023-07-26 11:36 [PATCH] hwmon: (hs3001) Fix unused variable compiler warning werneazc
@ 2023-07-26 12:20 ` Krzysztof Kozlowski
2023-07-26 12:25 ` Krzysztof Kozlowski
2023-07-26 13:06 ` [PATCH v2] " werneazc
0 siblings, 2 replies; 5+ messages in thread
From: Krzysztof Kozlowski @ 2023-07-26 12:20 UTC (permalink / raw)
To: werneazc, jdelvare, linux, krzysztof.kozlowski+dt
Cc: linux-hwmon, linux-kernel, Andre Werner, kernel test robot
On 26/07/2023 13:36, werneazc@gmail.com wrote:
> From: Andre Werner <andre.werner@systec-electronic.com>
>
> Delete unused variable in drivers probe function.
>
> Reported-by: kernel test robot <lkp@intel.com>
> Closes: https://lore.kernel.org/oe-kbuild-all/202307261819.VMDuxZOM-lkp@intel.com/
>
No blank lines between the tags.
> Signed-off-by: Andre Werner <andre.werner@systec-electronic.com>
Was the original patch actually merged? I don't see it in next.
Best regards,
Krzysztof
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH] hwmon: (hs3001) Fix unused variable compiler warning
2023-07-26 12:20 ` Krzysztof Kozlowski
@ 2023-07-26 12:25 ` Krzysztof Kozlowski
2023-07-26 13:06 ` [PATCH v2] " werneazc
1 sibling, 0 replies; 5+ messages in thread
From: Krzysztof Kozlowski @ 2023-07-26 12:25 UTC (permalink / raw)
To: werneazc, jdelvare, linux, krzysztof.kozlowski+dt
Cc: linux-hwmon, linux-kernel, Andre Werner, kernel test robot
On 26/07/2023 14:20, Krzysztof Kozlowski wrote:
> On 26/07/2023 13:36, werneazc@gmail.com wrote:
>> From: Andre Werner <andre.werner@systec-electronic.com>
>>
>> Delete unused variable in drivers probe function.
>>
>> Reported-by: kernel test robot <lkp@intel.com>
>> Closes: https://lore.kernel.org/oe-kbuild-all/202307261819.VMDuxZOM-lkp@intel.com/
>>
> No blank lines between the tags.
>
>> Signed-off-by: Andre Werner <andre.werner@systec-electronic.com>
>
> Was the original patch actually merged? I don't see it in next.
Ah, I see Guenter's response.
Best regards,
Krzysztof
^ permalink raw reply [flat|nested] 5+ messages in thread
* [PATCH v2] hwmon: (hs3001) Fix unused variable compiler warning
2023-07-26 12:20 ` Krzysztof Kozlowski
2023-07-26 12:25 ` Krzysztof Kozlowski
@ 2023-07-26 13:06 ` werneazc
2023-07-26 13:43 ` Guenter Roeck
1 sibling, 1 reply; 5+ messages in thread
From: werneazc @ 2023-07-26 13:06 UTC (permalink / raw)
To: jdelvare, linux, krzysztof.kozlowski+dt
Cc: linux-hwmon, linux-kernel, Andre Werner, kernel test robot
From: Andre Werner <andre.werner@systec-electronic.com>
Delete unused variable in drivers probe function.
Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202307261819.VMDuxZOM-lkp@intel.com/
Signed-off-by: Andre Werner <andre.werner@systec-electronic.com>
---
v2: Delete blank line between tags in commit message.
---
drivers/hwmon/hs3001.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/hwmon/hs3001.c b/drivers/hwmon/hs3001.c
index 17c3455922eb..9972f6bbb22a 100644
--- a/drivers/hwmon/hs3001.c
+++ b/drivers/hwmon/hs3001.c
@@ -193,7 +193,6 @@ static int hs3001_probe(struct i2c_client *client)
struct hs3001_data *data;
struct device *hwmon_dev;
struct device *dev = &client->dev;
- int ret;
if (!i2c_check_functionality(client->adapter, I2C_FUNC_I2C))
return -EOPNOTSUPP;
--
2.41.0
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH v2] hwmon: (hs3001) Fix unused variable compiler warning
2023-07-26 13:06 ` [PATCH v2] " werneazc
@ 2023-07-26 13:43 ` Guenter Roeck
0 siblings, 0 replies; 5+ messages in thread
From: Guenter Roeck @ 2023-07-26 13:43 UTC (permalink / raw)
To: werneazc
Cc: jdelvare, krzysztof.kozlowski+dt, linux-hwmon, linux-kernel,
Andre Werner, kernel test robot
On Wed, Jul 26, 2023 at 03:06:02PM +0200, werneazc@gmail.com wrote:
> From: Andre Werner <andre.werner@systec-electronic.com>
>
> Delete unused variable in drivers probe function.
>
> Reported-by: kernel test robot <lkp@intel.com>
> Closes: https://lore.kernel.org/oe-kbuild-all/202307261819.VMDuxZOM-lkp@intel.com/
> Signed-off-by: Andre Werner <andre.werner@systec-electronic.com>
Applied.
Thanks,
Guenter
> ---
> v2: Delete blank line between tags in commit message.
> ---
> drivers/hwmon/hs3001.c | 1 -
> 1 file changed, 1 deletion(-)
>
> diff --git a/drivers/hwmon/hs3001.c b/drivers/hwmon/hs3001.c
> index 17c3455922eb..9972f6bbb22a 100644
> --- a/drivers/hwmon/hs3001.c
> +++ b/drivers/hwmon/hs3001.c
> @@ -193,7 +193,6 @@ static int hs3001_probe(struct i2c_client *client)
> struct hs3001_data *data;
> struct device *hwmon_dev;
> struct device *dev = &client->dev;
> - int ret;
>
> if (!i2c_check_functionality(client->adapter, I2C_FUNC_I2C))
> return -EOPNOTSUPP;
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2023-07-26 13:44 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-07-26 11:36 [PATCH] hwmon: (hs3001) Fix unused variable compiler warning werneazc
2023-07-26 12:20 ` Krzysztof Kozlowski
2023-07-26 12:25 ` Krzysztof Kozlowski
2023-07-26 13:06 ` [PATCH v2] " werneazc
2023-07-26 13:43 ` Guenter Roeck
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®