Re: [PATCH v3 7/7] regulator: bd718xx: rename bd71837 to 718xx

Matti Vaittinen
2018-09-19T06:32:54Z

Hello All,

On Tue, Sep 18, 2018 at 06:13:48PM +0800, kbuild test robot wrote:
> Thank you for the patch! Yet something to improve:
>
> [auto build test ERROR on regulator/for-next]
> [also build test ERROR on next-20180913]
> [cannot apply to v4.19-rc4]
> [if your patch is applied to the wrong git tree, please drop us a note to help improve the system]
>
> url: https://github.com/0day-ci/linux/commits/Matti-Vaittinen/regulator-mfd-dt_bindings-bd718x7-Support-ROHM-bd71847/20180914-210454
> base: https://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git for-next
> config: x86_64-randconfig-s4-09181517 (attached as .config)
> compiler: gcc-7 (Debian 7.3.0-1) 7.3.0
> reproduce:
> # save the attached .config to linux build tree
> make ARCH=x86_64
>
> All error/warnings (new ones prefixed by >>):
>
> >> drivers/regulator/bd718x7-regulator.c:364:16: error: implicit declaration of function 'of_match_ptr'; did you mean 'hash_ptr'? [-Werror=implicit-function-declaration]
> .of_match = of_match_ptr("BUCK1"),
> ^~~~~~~~~~~~
> hash_ptr

This error is not introduced in this patch series. The already in-tree
implementation of bd71837 driver has this bug already. I'll send a
trivial patch to Mark for adding the missing include.

Br,
Matti Vaittinen