All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/3] regulator: mt6360: Add OF match table
@ 2021-01-09  2:10 ` matthias.bgg
  0 siblings, 0 replies; 17+ messages in thread
From: matthias.bgg @ 2021-01-09  2:10 UTC (permalink / raw)
  To: Liam Girdwood, Mark Brown
  Cc: Hsin-Hsiung Wang, Axel Lin, Chen Zhong, Gene Chen, linux-kernel,
	linux-mediatek, linux-arm-kernel, Matthias Brugger,
	Matti Vaittinen, Matthias Brugger

From: Matthias Brugger <mbrugger@suse.com>

Binding documentation mentions that a compatible is required for the
MT6360 device node, but the driver doesn't provide a OF match table.

Signed-off-by: Matthias Brugger <mbrugger@suse.com>
---

 drivers/regulator/mt6360-regulator.c | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/drivers/regulator/mt6360-regulator.c b/drivers/regulator/mt6360-regulator.c
index 15308ee29c13..07cbb9bb3c09 100644
--- a/drivers/regulator/mt6360-regulator.c
+++ b/drivers/regulator/mt6360-regulator.c
@@ -445,9 +445,16 @@ static const struct platform_device_id mt6360_regulator_id_table[] = {
 };
 MODULE_DEVICE_TABLE(platform, mt6360_regulator_id_table);
 
+static const struct of_device_id mt6360_of_match[] = {
+	{ .compatible = "mediatek,mt6360-regulator", },
+	{ /* sentinel */ },
+};
+MODULE_DEVICE_TABLE(of, mt6360_of_match);
+
 static struct platform_driver mt6360_regulator_driver = {
 	.driver = {
 		.name = "mt6360-regulator",
+		.of_match_table = of_match_ptr(mt6360_of_match),
 	},
 	.probe = mt6360_regulator_probe,
 	.id_table = mt6360_regulator_id_table,
-- 
2.29.2


^ permalink raw reply related	[flat|nested] 17+ messages in thread

* [PATCH 1/3] regulator: mt6360: Add OF match table
@ 2021-01-09  2:10 ` matthias.bgg
  0 siblings, 0 replies; 17+ messages in thread
From: matthias.bgg @ 2021-01-09  2:10 UTC (permalink / raw)
  To: Liam Girdwood, Mark Brown
  Cc: Gene Chen, Matthias Brugger, Axel Lin, Matti Vaittinen,
	linux-kernel, linux-mediatek, linux-arm-kernel, Matthias Brugger,
	Chen Zhong, Hsin-Hsiung Wang

From: Matthias Brugger <mbrugger@suse.com>

Binding documentation mentions that a compatible is required for the
MT6360 device node, but the driver doesn't provide a OF match table.

Signed-off-by: Matthias Brugger <mbrugger@suse.com>
---

 drivers/regulator/mt6360-regulator.c | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/drivers/regulator/mt6360-regulator.c b/drivers/regulator/mt6360-regulator.c
index 15308ee29c13..07cbb9bb3c09 100644
--- a/drivers/regulator/mt6360-regulator.c
+++ b/drivers/regulator/mt6360-regulator.c
@@ -445,9 +445,16 @@ static const struct platform_device_id mt6360_regulator_id_table[] = {
 };
 MODULE_DEVICE_TABLE(platform, mt6360_regulator_id_table);
 
+static const struct of_device_id mt6360_of_match[] = {
+	{ .compatible = "mediatek,mt6360-regulator", },
+	{ /* sentinel */ },
+};
+MODULE_DEVICE_TABLE(of, mt6360_of_match);
+
 static struct platform_driver mt6360_regulator_driver = {
 	.driver = {
 		.name = "mt6360-regulator",
+		.of_match_table = of_match_ptr(mt6360_of_match),
 	},
 	.probe = mt6360_regulator_probe,
 	.id_table = mt6360_regulator_id_table,
-- 
2.29.2


_______________________________________________
Linux-mediatek mailing list
Linux-mediatek@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-mediatek

^ permalink raw reply related	[flat|nested] 17+ messages in thread

* [PATCH 1/3] regulator: mt6360: Add OF match table
@ 2021-01-09  2:10 ` matthias.bgg
  0 siblings, 0 replies; 17+ messages in thread
From: matthias.bgg @ 2021-01-09  2:10 UTC (permalink / raw)
  To: Liam Girdwood, Mark Brown
  Cc: Gene Chen, Matthias Brugger, Axel Lin, Matti Vaittinen,
	linux-kernel, linux-mediatek, linux-arm-kernel, Matthias Brugger,
	Chen Zhong, Hsin-Hsiung Wang

From: Matthias Brugger <mbrugger@suse.com>

Binding documentation mentions that a compatible is required for the
MT6360 device node, but the driver doesn't provide a OF match table.

Signed-off-by: Matthias Brugger <mbrugger@suse.com>
---

 drivers/regulator/mt6360-regulator.c | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/drivers/regulator/mt6360-regulator.c b/drivers/regulator/mt6360-regulator.c
index 15308ee29c13..07cbb9bb3c09 100644
--- a/drivers/regulator/mt6360-regulator.c
+++ b/drivers/regulator/mt6360-regulator.c
@@ -445,9 +445,16 @@ static const struct platform_device_id mt6360_regulator_id_table[] = {
 };
 MODULE_DEVICE_TABLE(platform, mt6360_regulator_id_table);
 
+static const struct of_device_id mt6360_of_match[] = {
+	{ .compatible = "mediatek,mt6360-regulator", },
+	{ /* sentinel */ },
+};
+MODULE_DEVICE_TABLE(of, mt6360_of_match);
+
 static struct platform_driver mt6360_regulator_driver = {
 	.driver = {
 		.name = "mt6360-regulator",
+		.of_match_table = of_match_ptr(mt6360_of_match),
 	},
 	.probe = mt6360_regulator_probe,
 	.id_table = mt6360_regulator_id_table,
-- 
2.29.2


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply related	[flat|nested] 17+ messages in thread

* [PATCH 2/3] regulator: mt6358: Add OF match table
  2021-01-09  2:10 ` matthias.bgg
  (?)
@ 2021-01-09  2:10   ` matthias.bgg
  -1 siblings, 0 replies; 17+ messages in thread
From: matthias.bgg @ 2021-01-09  2:10 UTC (permalink / raw)
  To: Liam Girdwood, Mark Brown
  Cc: Hsin-Hsiung Wang, Axel Lin, Chen Zhong, Gene Chen, linux-kernel,
	linux-mediatek, linux-arm-kernel, Matthias Brugger,
	Matti Vaittinen, Matthias Brugger

From: Matthias Brugger <mbrugger@suse.com>

The binding documentation mentions that a compatible is required for the
MT6358 device node. But the driver does not provide a OF match table.
This way auto-loading is broken as the MFD driver that registers the
device has a .of_compatible set which makes the platform .uevent
callback report a OF modalias, but that's not in the module.

Signed-off-by: Matthias Brugger <mbrugger@suse.com>
---

 drivers/regulator/mt6358-regulator.c | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/drivers/regulator/mt6358-regulator.c b/drivers/regulator/mt6358-regulator.c
index 13cb6ac9a892..6cadb6d4dfe4 100644
--- a/drivers/regulator/mt6358-regulator.c
+++ b/drivers/regulator/mt6358-regulator.c
@@ -534,9 +534,16 @@ static const struct platform_device_id mt6358_platform_ids[] = {
 };
 MODULE_DEVICE_TABLE(platform, mt6358_platform_ids);
 
+static const struct of_device_id mt6358_of_match[] = {
+	{ .compatible = "mediatek,mt6358-regulator", },
+	{ /* sentinel */ },
+};
+MODULE_DEVICE_TABLE(of, mt6358_of_match);
+
 static struct platform_driver mt6358_regulator_driver = {
 	.driver = {
 		.name = "mt6358-regulator",
+		.of_match_table = of_match_ptr(mt6358_of_match),
 	},
 	.probe = mt6358_regulator_probe,
 	.id_table = mt6358_platform_ids,
-- 
2.29.2


^ permalink raw reply related	[flat|nested] 17+ messages in thread

* [PATCH 2/3] regulator: mt6358: Add OF match table
@ 2021-01-09  2:10   ` matthias.bgg
  0 siblings, 0 replies; 17+ messages in thread
From: matthias.bgg @ 2021-01-09  2:10 UTC (permalink / raw)
  To: Liam Girdwood, Mark Brown
  Cc: Gene Chen, Matthias Brugger, Axel Lin, Matti Vaittinen,
	linux-kernel, linux-mediatek, linux-arm-kernel, Matthias Brugger,
	Chen Zhong, Hsin-Hsiung Wang

From: Matthias Brugger <mbrugger@suse.com>

The binding documentation mentions that a compatible is required for the
MT6358 device node. But the driver does not provide a OF match table.
This way auto-loading is broken as the MFD driver that registers the
device has a .of_compatible set which makes the platform .uevent
callback report a OF modalias, but that's not in the module.

Signed-off-by: Matthias Brugger <mbrugger@suse.com>
---

 drivers/regulator/mt6358-regulator.c | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/drivers/regulator/mt6358-regulator.c b/drivers/regulator/mt6358-regulator.c
index 13cb6ac9a892..6cadb6d4dfe4 100644
--- a/drivers/regulator/mt6358-regulator.c
+++ b/drivers/regulator/mt6358-regulator.c
@@ -534,9 +534,16 @@ static const struct platform_device_id mt6358_platform_ids[] = {
 };
 MODULE_DEVICE_TABLE(platform, mt6358_platform_ids);
 
+static const struct of_device_id mt6358_of_match[] = {
+	{ .compatible = "mediatek,mt6358-regulator", },
+	{ /* sentinel */ },
+};
+MODULE_DEVICE_TABLE(of, mt6358_of_match);
+
 static struct platform_driver mt6358_regulator_driver = {
 	.driver = {
 		.name = "mt6358-regulator",
+		.of_match_table = of_match_ptr(mt6358_of_match),
 	},
 	.probe = mt6358_regulator_probe,
 	.id_table = mt6358_platform_ids,
-- 
2.29.2


_______________________________________________
Linux-mediatek mailing list
Linux-mediatek@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-mediatek

^ permalink raw reply related	[flat|nested] 17+ messages in thread

* [PATCH 2/3] regulator: mt6358: Add OF match table
@ 2021-01-09  2:10   ` matthias.bgg
  0 siblings, 0 replies; 17+ messages in thread
From: matthias.bgg @ 2021-01-09  2:10 UTC (permalink / raw)
  To: Liam Girdwood, Mark Brown
  Cc: Gene Chen, Matthias Brugger, Axel Lin, Matti Vaittinen,
	linux-kernel, linux-mediatek, linux-arm-kernel, Matthias Brugger,
	Chen Zhong, Hsin-Hsiung Wang

From: Matthias Brugger <mbrugger@suse.com>

The binding documentation mentions that a compatible is required for the
MT6358 device node. But the driver does not provide a OF match table.
This way auto-loading is broken as the MFD driver that registers the
device has a .of_compatible set which makes the platform .uevent
callback report a OF modalias, but that's not in the module.

Signed-off-by: Matthias Brugger <mbrugger@suse.com>
---

 drivers/regulator/mt6358-regulator.c | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/drivers/regulator/mt6358-regulator.c b/drivers/regulator/mt6358-regulator.c
index 13cb6ac9a892..6cadb6d4dfe4 100644
--- a/drivers/regulator/mt6358-regulator.c
+++ b/drivers/regulator/mt6358-regulator.c
@@ -534,9 +534,16 @@ static const struct platform_device_id mt6358_platform_ids[] = {
 };
 MODULE_DEVICE_TABLE(platform, mt6358_platform_ids);
 
+static const struct of_device_id mt6358_of_match[] = {
+	{ .compatible = "mediatek,mt6358-regulator", },
+	{ /* sentinel */ },
+};
+MODULE_DEVICE_TABLE(of, mt6358_of_match);
+
 static struct platform_driver mt6358_regulator_driver = {
 	.driver = {
 		.name = "mt6358-regulator",
+		.of_match_table = of_match_ptr(mt6358_of_match),
 	},
 	.probe = mt6358_regulator_probe,
 	.id_table = mt6358_platform_ids,
-- 
2.29.2


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply related	[flat|nested] 17+ messages in thread

* [PATCH 3/3] regulator: mt6323: Add OF match table
  2021-01-09  2:10 ` matthias.bgg
  (?)
@ 2021-01-09  2:10   ` matthias.bgg
  -1 siblings, 0 replies; 17+ messages in thread
From: matthias.bgg @ 2021-01-09  2:10 UTC (permalink / raw)
  To: Liam Girdwood, Mark Brown
  Cc: Hsin-Hsiung Wang, Axel Lin, Chen Zhong, Gene Chen, linux-kernel,
	linux-mediatek, linux-arm-kernel, Matthias Brugger,
	Matti Vaittinen, Matthias Brugger

From: Matthias Brugger <mbrugger@suse.com>

The binding documentation mentions that a compatible is required for the
MT6323 device node. But the driver does not provide a OF match table.
This way auto-loading is broken as the MFD driver that registers the
device has a .of_compatible set which makes the platform .uevent
callback report a OF modalias, but that's not in the module.

Signed-off-by: Matthias Brugger <mbrugger@suse.com>

---

 drivers/regulator/mt6323-regulator.c | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/drivers/regulator/mt6323-regulator.c b/drivers/regulator/mt6323-regulator.c
index ff9016170db3..b3d84e95f051 100644
--- a/drivers/regulator/mt6323-regulator.c
+++ b/drivers/regulator/mt6323-regulator.c
@@ -406,9 +406,16 @@ static const struct platform_device_id mt6323_platform_ids[] = {
 };
 MODULE_DEVICE_TABLE(platform, mt6323_platform_ids);
 
+static const struct of_device_id mt6323_of_match[] = {
+	{ .compatible = "mediatek,mt6323-regulator", },
+	{ /* sentinel */ },
+};
+MODULE_DEVICE_TABLE(of, mt6323_of_match);
+
 static struct platform_driver mt6323_regulator_driver = {
 	.driver = {
 		.name = "mt6323-regulator",
+		.of_match_table = of_match_ptr(mt6323_of_match),
 	},
 	.probe = mt6323_regulator_probe,
 	.id_table = mt6323_platform_ids,
-- 
2.29.2


^ permalink raw reply related	[flat|nested] 17+ messages in thread

* [PATCH 3/3] regulator: mt6323: Add OF match table
@ 2021-01-09  2:10   ` matthias.bgg
  0 siblings, 0 replies; 17+ messages in thread
From: matthias.bgg @ 2021-01-09  2:10 UTC (permalink / raw)
  To: Liam Girdwood, Mark Brown
  Cc: Gene Chen, Matthias Brugger, Axel Lin, Matti Vaittinen,
	linux-kernel, linux-mediatek, linux-arm-kernel, Matthias Brugger,
	Chen Zhong, Hsin-Hsiung Wang

From: Matthias Brugger <mbrugger@suse.com>

The binding documentation mentions that a compatible is required for the
MT6323 device node. But the driver does not provide a OF match table.
This way auto-loading is broken as the MFD driver that registers the
device has a .of_compatible set which makes the platform .uevent
callback report a OF modalias, but that's not in the module.

Signed-off-by: Matthias Brugger <mbrugger@suse.com>

---

 drivers/regulator/mt6323-regulator.c | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/drivers/regulator/mt6323-regulator.c b/drivers/regulator/mt6323-regulator.c
index ff9016170db3..b3d84e95f051 100644
--- a/drivers/regulator/mt6323-regulator.c
+++ b/drivers/regulator/mt6323-regulator.c
@@ -406,9 +406,16 @@ static const struct platform_device_id mt6323_platform_ids[] = {
 };
 MODULE_DEVICE_TABLE(platform, mt6323_platform_ids);
 
+static const struct of_device_id mt6323_of_match[] = {
+	{ .compatible = "mediatek,mt6323-regulator", },
+	{ /* sentinel */ },
+};
+MODULE_DEVICE_TABLE(of, mt6323_of_match);
+
 static struct platform_driver mt6323_regulator_driver = {
 	.driver = {
 		.name = "mt6323-regulator",
+		.of_match_table = of_match_ptr(mt6323_of_match),
 	},
 	.probe = mt6323_regulator_probe,
 	.id_table = mt6323_platform_ids,
-- 
2.29.2


_______________________________________________
Linux-mediatek mailing list
Linux-mediatek@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-mediatek

^ permalink raw reply related	[flat|nested] 17+ messages in thread

* [PATCH 3/3] regulator: mt6323: Add OF match table
@ 2021-01-09  2:10   ` matthias.bgg
  0 siblings, 0 replies; 17+ messages in thread
From: matthias.bgg @ 2021-01-09  2:10 UTC (permalink / raw)
  To: Liam Girdwood, Mark Brown
  Cc: Gene Chen, Matthias Brugger, Axel Lin, Matti Vaittinen,
	linux-kernel, linux-mediatek, linux-arm-kernel, Matthias Brugger,
	Chen Zhong, Hsin-Hsiung Wang

From: Matthias Brugger <mbrugger@suse.com>

The binding documentation mentions that a compatible is required for the
MT6323 device node. But the driver does not provide a OF match table.
This way auto-loading is broken as the MFD driver that registers the
device has a .of_compatible set which makes the platform .uevent
callback report a OF modalias, but that's not in the module.

Signed-off-by: Matthias Brugger <mbrugger@suse.com>

---

 drivers/regulator/mt6323-regulator.c | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/drivers/regulator/mt6323-regulator.c b/drivers/regulator/mt6323-regulator.c
index ff9016170db3..b3d84e95f051 100644
--- a/drivers/regulator/mt6323-regulator.c
+++ b/drivers/regulator/mt6323-regulator.c
@@ -406,9 +406,16 @@ static const struct platform_device_id mt6323_platform_ids[] = {
 };
 MODULE_DEVICE_TABLE(platform, mt6323_platform_ids);
 
+static const struct of_device_id mt6323_of_match[] = {
+	{ .compatible = "mediatek,mt6323-regulator", },
+	{ /* sentinel */ },
+};
+MODULE_DEVICE_TABLE(of, mt6323_of_match);
+
 static struct platform_driver mt6323_regulator_driver = {
 	.driver = {
 		.name = "mt6323-regulator",
+		.of_match_table = of_match_ptr(mt6323_of_match),
 	},
 	.probe = mt6323_regulator_probe,
 	.id_table = mt6323_platform_ids,
-- 
2.29.2


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply related	[flat|nested] 17+ messages in thread

* Re: [PATCH 3/3] regulator: mt6323: Add OF match table
  2021-01-09  2:10   ` matthias.bgg
  (?)
  (?)
@ 2021-01-09  5:24     ` kernel test robot
  -1 siblings, 0 replies; 17+ messages in thread
From: kernel test robot @ 2021-01-09  5:24 UTC (permalink / raw)
  To: matthias.bgg, Liam Girdwood, Mark Brown
  Cc: kbuild-all, clang-built-linux, Hsin-Hsiung Wang, Axel Lin,
	Chen Zhong, Gene Chen, linux-kernel, linux-mediatek,
	linux-arm-kernel, Matthias Brugger

[-- Attachment #1: Type: text/plain, Size: 2273 bytes --]

Hi,

I love your patch! Perhaps something to improve:

[auto build test WARNING on regulator/for-next]
[also build test WARNING on v5.11-rc2 next-20210108]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch]

url:    https://github.com/0day-ci/linux/commits/matthias-bgg-kernel-org/regulator-mt6360-Add-OF-match-table/20210109-101451
base:   https://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git for-next
config: mips-randconfig-r032-20210108 (attached as .config)
compiler: clang version 12.0.0 (https://github.com/llvm/llvm-project bc556e5685c0f97e79fb7b3c6f15cc5062db8e36)
reproduce (this is a W=1 build):
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # install mips cross compiling tool for clang build
        # apt-get install binutils-mips-linux-gnu
        # https://github.com/0day-ci/linux/commit/ad9188be3a1fb2710a943ed2ca794c7d0e82e983
        git remote add linux-review https://github.com/0day-ci/linux
        git fetch --no-tags linux-review matthias-bgg-kernel-org/regulator-mt6360-Add-OF-match-table/20210109-101451
        git checkout ad9188be3a1fb2710a943ed2ca794c7d0e82e983
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=mips 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>

All warnings (new ones prefixed by >>):

>> drivers/regulator/mt6323-regulator.c:409:34: warning: unused variable 'mt6323_of_match' [-Wunused-const-variable]
   static const struct of_device_id mt6323_of_match[] = {
                                    ^
   1 warning generated.


vim +/mt6323_of_match +409 drivers/regulator/mt6323-regulator.c

   408	
 > 409	static const struct of_device_id mt6323_of_match[] = {
   410		{ .compatible = "mediatek,mt6323-regulator", },
   411		{ /* sentinel */ },
   412	};
   413	MODULE_DEVICE_TABLE(of, mt6323_of_match);
   414	

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 33866 bytes --]

^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: [PATCH 3/3] regulator: mt6323: Add OF match table
@ 2021-01-09  5:24     ` kernel test robot
  0 siblings, 0 replies; 17+ messages in thread
From: kernel test robot @ 2021-01-09  5:24 UTC (permalink / raw)
  To: matthias.bgg, Liam Girdwood, Mark Brown
  Cc: Gene Chen, Axel Lin, linux-kernel, clang-built-linux,
	linux-mediatek, linux-arm-kernel, Matthias Brugger, kbuild-all,
	Chen Zhong, Hsin-Hsiung Wang

[-- Attachment #1: Type: text/plain, Size: 2273 bytes --]

Hi,

I love your patch! Perhaps something to improve:

[auto build test WARNING on regulator/for-next]
[also build test WARNING on v5.11-rc2 next-20210108]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch]

url:    https://github.com/0day-ci/linux/commits/matthias-bgg-kernel-org/regulator-mt6360-Add-OF-match-table/20210109-101451
base:   https://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git for-next
config: mips-randconfig-r032-20210108 (attached as .config)
compiler: clang version 12.0.0 (https://github.com/llvm/llvm-project bc556e5685c0f97e79fb7b3c6f15cc5062db8e36)
reproduce (this is a W=1 build):
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # install mips cross compiling tool for clang build
        # apt-get install binutils-mips-linux-gnu
        # https://github.com/0day-ci/linux/commit/ad9188be3a1fb2710a943ed2ca794c7d0e82e983
        git remote add linux-review https://github.com/0day-ci/linux
        git fetch --no-tags linux-review matthias-bgg-kernel-org/regulator-mt6360-Add-OF-match-table/20210109-101451
        git checkout ad9188be3a1fb2710a943ed2ca794c7d0e82e983
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=mips 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>

All warnings (new ones prefixed by >>):

>> drivers/regulator/mt6323-regulator.c:409:34: warning: unused variable 'mt6323_of_match' [-Wunused-const-variable]
   static const struct of_device_id mt6323_of_match[] = {
                                    ^
   1 warning generated.


vim +/mt6323_of_match +409 drivers/regulator/mt6323-regulator.c

   408	
 > 409	static const struct of_device_id mt6323_of_match[] = {
   410		{ .compatible = "mediatek,mt6323-regulator", },
   411		{ /* sentinel */ },
   412	};
   413	MODULE_DEVICE_TABLE(of, mt6323_of_match);
   414	

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 33866 bytes --]

[-- Attachment #3: Type: text/plain, Size: 170 bytes --]

_______________________________________________
Linux-mediatek mailing list
Linux-mediatek@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-mediatek

^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: [PATCH 3/3] regulator: mt6323: Add OF match table
@ 2021-01-09  5:24     ` kernel test robot
  0 siblings, 0 replies; 17+ messages in thread
From: kernel test robot @ 2021-01-09  5:24 UTC (permalink / raw)
  To: matthias.bgg, Liam Girdwood, Mark Brown
  Cc: Gene Chen, Axel Lin, linux-kernel, clang-built-linux,
	linux-mediatek, linux-arm-kernel, Matthias Brugger, kbuild-all,
	Chen Zhong, Hsin-Hsiung Wang

[-- Attachment #1: Type: text/plain, Size: 2273 bytes --]

Hi,

I love your patch! Perhaps something to improve:

[auto build test WARNING on regulator/for-next]
[also build test WARNING on v5.11-rc2 next-20210108]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch]

url:    https://github.com/0day-ci/linux/commits/matthias-bgg-kernel-org/regulator-mt6360-Add-OF-match-table/20210109-101451
base:   https://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git for-next
config: mips-randconfig-r032-20210108 (attached as .config)
compiler: clang version 12.0.0 (https://github.com/llvm/llvm-project bc556e5685c0f97e79fb7b3c6f15cc5062db8e36)
reproduce (this is a W=1 build):
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # install mips cross compiling tool for clang build
        # apt-get install binutils-mips-linux-gnu
        # https://github.com/0day-ci/linux/commit/ad9188be3a1fb2710a943ed2ca794c7d0e82e983
        git remote add linux-review https://github.com/0day-ci/linux
        git fetch --no-tags linux-review matthias-bgg-kernel-org/regulator-mt6360-Add-OF-match-table/20210109-101451
        git checkout ad9188be3a1fb2710a943ed2ca794c7d0e82e983
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=mips 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>

All warnings (new ones prefixed by >>):

>> drivers/regulator/mt6323-regulator.c:409:34: warning: unused variable 'mt6323_of_match' [-Wunused-const-variable]
   static const struct of_device_id mt6323_of_match[] = {
                                    ^
   1 warning generated.


vim +/mt6323_of_match +409 drivers/regulator/mt6323-regulator.c

   408	
 > 409	static const struct of_device_id mt6323_of_match[] = {
   410		{ .compatible = "mediatek,mt6323-regulator", },
   411		{ /* sentinel */ },
   412	};
   413	MODULE_DEVICE_TABLE(of, mt6323_of_match);
   414	

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 33866 bytes --]

[-- Attachment #3: Type: text/plain, Size: 176 bytes --]

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: [PATCH 3/3] regulator: mt6323: Add OF match table
@ 2021-01-09  5:24     ` kernel test robot
  0 siblings, 0 replies; 17+ messages in thread
From: kernel test robot @ 2021-01-09  5:24 UTC (permalink / raw)
  To: kbuild-all

[-- Attachment #1: Type: text/plain, Size: 2325 bytes --]

Hi,

I love your patch! Perhaps something to improve:

[auto build test WARNING on regulator/for-next]
[also build test WARNING on v5.11-rc2 next-20210108]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch]

url:    https://github.com/0day-ci/linux/commits/matthias-bgg-kernel-org/regulator-mt6360-Add-OF-match-table/20210109-101451
base:   https://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git for-next
config: mips-randconfig-r032-20210108 (attached as .config)
compiler: clang version 12.0.0 (https://github.com/llvm/llvm-project bc556e5685c0f97e79fb7b3c6f15cc5062db8e36)
reproduce (this is a W=1 build):
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # install mips cross compiling tool for clang build
        # apt-get install binutils-mips-linux-gnu
        # https://github.com/0day-ci/linux/commit/ad9188be3a1fb2710a943ed2ca794c7d0e82e983
        git remote add linux-review https://github.com/0day-ci/linux
        git fetch --no-tags linux-review matthias-bgg-kernel-org/regulator-mt6360-Add-OF-match-table/20210109-101451
        git checkout ad9188be3a1fb2710a943ed2ca794c7d0e82e983
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=mips 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>

All warnings (new ones prefixed by >>):

>> drivers/regulator/mt6323-regulator.c:409:34: warning: unused variable 'mt6323_of_match' [-Wunused-const-variable]
   static const struct of_device_id mt6323_of_match[] = {
                                    ^
   1 warning generated.


vim +/mt6323_of_match +409 drivers/regulator/mt6323-regulator.c

   408	
 > 409	static const struct of_device_id mt6323_of_match[] = {
   410		{ .compatible = "mediatek,mt6323-regulator", },
   411		{ /* sentinel */ },
   412	};
   413	MODULE_DEVICE_TABLE(of, mt6323_of_match);
   414	

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org

[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 33866 bytes --]

^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: [PATCH 1/3] regulator: mt6360: Add OF match table
  2021-01-09  2:10 ` matthias.bgg
  (?)
  (?)
@ 2021-01-09 10:44   ` kernel test robot
  -1 siblings, 0 replies; 17+ messages in thread
From: kernel test robot @ 2021-01-09 10:44 UTC (permalink / raw)
  To: matthias.bgg, Liam Girdwood, Mark Brown
  Cc: kbuild-all, clang-built-linux, Hsin-Hsiung Wang, Axel Lin,
	Chen Zhong, Gene Chen, linux-kernel, linux-mediatek,
	linux-arm-kernel, Matthias Brugger

[-- Attachment #1: Type: text/plain, Size: 2281 bytes --]

Hi,

I love your patch! Perhaps something to improve:

[auto build test WARNING on regulator/for-next]
[also build test WARNING on v5.11-rc2 next-20210108]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch]

url:    https://github.com/0day-ci/linux/commits/matthias-bgg-kernel-org/regulator-mt6360-Add-OF-match-table/20210109-101451
base:   https://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git for-next
config: x86_64-randconfig-a013-20210108 (attached as .config)
compiler: clang version 12.0.0 (https://github.com/llvm/llvm-project bc556e5685c0f97e79fb7b3c6f15cc5062db8e36)
reproduce (this is a W=1 build):
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # install x86_64 cross compiling tool for clang build
        # apt-get install binutils-x86-64-linux-gnu
        # https://github.com/0day-ci/linux/commit/3afb01e34a78dae03d0f75af620ac4eab7f4064c
        git remote add linux-review https://github.com/0day-ci/linux
        git fetch --no-tags linux-review matthias-bgg-kernel-org/regulator-mt6360-Add-OF-match-table/20210109-101451
        git checkout 3afb01e34a78dae03d0f75af620ac4eab7f4064c
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=x86_64 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>

All warnings (new ones prefixed by >>):

>> drivers/regulator/mt6360-regulator.c:448:34: warning: unused variable 'mt6360_of_match' [-Wunused-const-variable]
   static const struct of_device_id mt6360_of_match[] = {
                                    ^
   1 warning generated.


vim +/mt6360_of_match +448 drivers/regulator/mt6360-regulator.c

   447	
 > 448	static const struct of_device_id mt6360_of_match[] = {
   449		{ .compatible = "mediatek,mt6360-regulator", },
   450		{ /* sentinel */ },
   451	};
   452	MODULE_DEVICE_TABLE(of, mt6360_of_match);
   453	

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 39694 bytes --]

^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: [PATCH 1/3] regulator: mt6360: Add OF match table
@ 2021-01-09 10:44   ` kernel test robot
  0 siblings, 0 replies; 17+ messages in thread
From: kernel test robot @ 2021-01-09 10:44 UTC (permalink / raw)
  To: matthias.bgg, Liam Girdwood, Mark Brown
  Cc: Gene Chen, Axel Lin, linux-kernel, clang-built-linux,
	linux-mediatek, linux-arm-kernel, Matthias Brugger, kbuild-all,
	Chen Zhong, Hsin-Hsiung Wang

[-- Attachment #1: Type: text/plain, Size: 2281 bytes --]

Hi,

I love your patch! Perhaps something to improve:

[auto build test WARNING on regulator/for-next]
[also build test WARNING on v5.11-rc2 next-20210108]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch]

url:    https://github.com/0day-ci/linux/commits/matthias-bgg-kernel-org/regulator-mt6360-Add-OF-match-table/20210109-101451
base:   https://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git for-next
config: x86_64-randconfig-a013-20210108 (attached as .config)
compiler: clang version 12.0.0 (https://github.com/llvm/llvm-project bc556e5685c0f97e79fb7b3c6f15cc5062db8e36)
reproduce (this is a W=1 build):
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # install x86_64 cross compiling tool for clang build
        # apt-get install binutils-x86-64-linux-gnu
        # https://github.com/0day-ci/linux/commit/3afb01e34a78dae03d0f75af620ac4eab7f4064c
        git remote add linux-review https://github.com/0day-ci/linux
        git fetch --no-tags linux-review matthias-bgg-kernel-org/regulator-mt6360-Add-OF-match-table/20210109-101451
        git checkout 3afb01e34a78dae03d0f75af620ac4eab7f4064c
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=x86_64 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>

All warnings (new ones prefixed by >>):

>> drivers/regulator/mt6360-regulator.c:448:34: warning: unused variable 'mt6360_of_match' [-Wunused-const-variable]
   static const struct of_device_id mt6360_of_match[] = {
                                    ^
   1 warning generated.


vim +/mt6360_of_match +448 drivers/regulator/mt6360-regulator.c

   447	
 > 448	static const struct of_device_id mt6360_of_match[] = {
   449		{ .compatible = "mediatek,mt6360-regulator", },
   450		{ /* sentinel */ },
   451	};
   452	MODULE_DEVICE_TABLE(of, mt6360_of_match);
   453	

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 39694 bytes --]

[-- Attachment #3: Type: text/plain, Size: 170 bytes --]

_______________________________________________
Linux-mediatek mailing list
Linux-mediatek@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-mediatek

^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: [PATCH 1/3] regulator: mt6360: Add OF match table
@ 2021-01-09 10:44   ` kernel test robot
  0 siblings, 0 replies; 17+ messages in thread
From: kernel test robot @ 2021-01-09 10:44 UTC (permalink / raw)
  To: matthias.bgg, Liam Girdwood, Mark Brown
  Cc: Gene Chen, Axel Lin, linux-kernel, clang-built-linux,
	linux-mediatek, linux-arm-kernel, Matthias Brugger, kbuild-all,
	Chen Zhong, Hsin-Hsiung Wang

[-- Attachment #1: Type: text/plain, Size: 2281 bytes --]

Hi,

I love your patch! Perhaps something to improve:

[auto build test WARNING on regulator/for-next]
[also build test WARNING on v5.11-rc2 next-20210108]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch]

url:    https://github.com/0day-ci/linux/commits/matthias-bgg-kernel-org/regulator-mt6360-Add-OF-match-table/20210109-101451
base:   https://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git for-next
config: x86_64-randconfig-a013-20210108 (attached as .config)
compiler: clang version 12.0.0 (https://github.com/llvm/llvm-project bc556e5685c0f97e79fb7b3c6f15cc5062db8e36)
reproduce (this is a W=1 build):
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # install x86_64 cross compiling tool for clang build
        # apt-get install binutils-x86-64-linux-gnu
        # https://github.com/0day-ci/linux/commit/3afb01e34a78dae03d0f75af620ac4eab7f4064c
        git remote add linux-review https://github.com/0day-ci/linux
        git fetch --no-tags linux-review matthias-bgg-kernel-org/regulator-mt6360-Add-OF-match-table/20210109-101451
        git checkout 3afb01e34a78dae03d0f75af620ac4eab7f4064c
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=x86_64 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>

All warnings (new ones prefixed by >>):

>> drivers/regulator/mt6360-regulator.c:448:34: warning: unused variable 'mt6360_of_match' [-Wunused-const-variable]
   static const struct of_device_id mt6360_of_match[] = {
                                    ^
   1 warning generated.


vim +/mt6360_of_match +448 drivers/regulator/mt6360-regulator.c

   447	
 > 448	static const struct of_device_id mt6360_of_match[] = {
   449		{ .compatible = "mediatek,mt6360-regulator", },
   450		{ /* sentinel */ },
   451	};
   452	MODULE_DEVICE_TABLE(of, mt6360_of_match);
   453	

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 39694 bytes --]

[-- Attachment #3: Type: text/plain, Size: 176 bytes --]

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: [PATCH 1/3] regulator: mt6360: Add OF match table
@ 2021-01-09 10:44   ` kernel test robot
  0 siblings, 0 replies; 17+ messages in thread
From: kernel test robot @ 2021-01-09 10:44 UTC (permalink / raw)
  To: kbuild-all

[-- Attachment #1: Type: text/plain, Size: 2333 bytes --]

Hi,

I love your patch! Perhaps something to improve:

[auto build test WARNING on regulator/for-next]
[also build test WARNING on v5.11-rc2 next-20210108]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch]

url:    https://github.com/0day-ci/linux/commits/matthias-bgg-kernel-org/regulator-mt6360-Add-OF-match-table/20210109-101451
base:   https://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git for-next
config: x86_64-randconfig-a013-20210108 (attached as .config)
compiler: clang version 12.0.0 (https://github.com/llvm/llvm-project bc556e5685c0f97e79fb7b3c6f15cc5062db8e36)
reproduce (this is a W=1 build):
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # install x86_64 cross compiling tool for clang build
        # apt-get install binutils-x86-64-linux-gnu
        # https://github.com/0day-ci/linux/commit/3afb01e34a78dae03d0f75af620ac4eab7f4064c
        git remote add linux-review https://github.com/0day-ci/linux
        git fetch --no-tags linux-review matthias-bgg-kernel-org/regulator-mt6360-Add-OF-match-table/20210109-101451
        git checkout 3afb01e34a78dae03d0f75af620ac4eab7f4064c
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=x86_64 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>

All warnings (new ones prefixed by >>):

>> drivers/regulator/mt6360-regulator.c:448:34: warning: unused variable 'mt6360_of_match' [-Wunused-const-variable]
   static const struct of_device_id mt6360_of_match[] = {
                                    ^
   1 warning generated.


vim +/mt6360_of_match +448 drivers/regulator/mt6360-regulator.c

   447	
 > 448	static const struct of_device_id mt6360_of_match[] = {
   449		{ .compatible = "mediatek,mt6360-regulator", },
   450		{ /* sentinel */ },
   451	};
   452	MODULE_DEVICE_TABLE(of, mt6360_of_match);
   453	

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org

[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 39694 bytes --]

^ permalink raw reply	[flat|nested] 17+ messages in thread

end of thread, other threads:[~2021-01-09 10:48 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-01-09  2:10 [PATCH 1/3] regulator: mt6360: Add OF match table matthias.bgg
2021-01-09  2:10 ` matthias.bgg
2021-01-09  2:10 ` matthias.bgg
2021-01-09  2:10 ` [PATCH 2/3] regulator: mt6358: " matthias.bgg
2021-01-09  2:10   ` matthias.bgg
2021-01-09  2:10   ` matthias.bgg
2021-01-09  2:10 ` [PATCH 3/3] regulator: mt6323: " matthias.bgg
2021-01-09  2:10   ` matthias.bgg
2021-01-09  2:10   ` matthias.bgg
2021-01-09  5:24   ` kernel test robot
2021-01-09  5:24     ` kernel test robot
2021-01-09  5:24     ` kernel test robot
2021-01-09  5:24     ` kernel test robot
2021-01-09 10:44 ` [PATCH 1/3] regulator: mt6360: " kernel test robot
2021-01-09 10:44   ` kernel test robot
2021-01-09 10:44   ` kernel test robot
2021-01-09 10:44   ` kernel test robot

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.