[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20240613-mp9941_bitfield_h-v1-1-681afa8aa498@gmail.com>
Date: Thu, 13 Jun 2024 23:57:25 +0200
From: Javier Carrasco <javier.carrasco.cruz@...il.com>
To: Noah Wang <noahwang.wang@...look.com>, Jean Delvare <jdelvare@...e.com>,
Guenter Roeck <linux@...ck-us.net>
Cc: linux-hwmon@...r.kernel.org, linux-kernel@...r.kernel.org,
kernel test robot <lkp@...el.com>,
Javier Carrasco <javier.carrasco.cruz@...il.com>
Subject: [PATCH] hwmon: (pmbus/mp9941) Add missing bitfield header
The recently added driver for the MP99441 is missing the bitfield
header. Without it, gcc fails to find FIELD_PREP and FIELD_GET.
Add the missing <linux/bitfield.h>
Reported-by: kernel test robot <lkp@...el.com>
Fixes: c16fa6967781 ("hwmon: add MP9941 driver")
Signed-off-by: Javier Carrasco <javier.carrasco.cruz@...il.com>
---
This patch fixes the errors reported by the kernel test robot about
the MP9941 in the hwmon subsystem. It does not close the error report
from the BUILD REGRESSION 6906a84c482f098d31486df8dc98cead21cce2d0,
that includes, among others, this issue. The report attached to the
mentioned build regression actually covers a different bug.
Hence why no Closes: tag was added.
---
drivers/hwmon/pmbus/mp9941.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/hwmon/pmbus/mp9941.c b/drivers/hwmon/pmbus/mp9941.c
index b7b0eda5b552..475221b738f5 100644
--- a/drivers/hwmon/pmbus/mp9941.c
+++ b/drivers/hwmon/pmbus/mp9941.c
@@ -3,6 +3,7 @@
* Hardware monitoring driver for MPS Multi-phase Digital VR Controllers(MP9941)
*/
+#include <linux/bitfield.h>
#include <linux/i2c.h>
#include <linux/module.h>
#include <linux/of_device.h>
---
base-commit: 6906a84c482f098d31486df8dc98cead21cce2d0
change-id: 20240613-mp9941_bitfield_h-59cca83ae233
Best regards,
--
Javier Carrasco <javier.carrasco.cruz@...il.com>
Powered by blists - more mailing lists