Re: [PATCH v20 2/2] usb: typec: anx7411: Add Analogix PD ANX7411 support

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi greg k-h, can you please help to fix this compile error? This patch
depends on "usb: typec: tcpci: move tcpci.h to include/linux/usb/"
patch. In this patch serial, not include it.
"https://patchwork.kernel.org/project/linux-usb/patch/20220712090534.2783494-1-xji@xxxxxxxxxxxxxxxx/";

Thanks,
Xin

On Wed, Jul 20, 2022 at 04:59:31AM +0800, kernel test robot wrote:
> Hi Xin,
> 
> Thank you for the patch! Yet something to improve:
> 
> [auto build test ERROR on robh/for-next]
> [also build test ERROR on krzk-dt/for-next linus/master v5.19-rc7]
> [cannot apply to usb/usb-testing next-20220719]
> [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://nam10.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgit-scm.com%2Fdocs%2Fgit-format-patch%23_base_tree_information&data=05%7C01%7Cxji%40analogixsemi.com%7Cc9949cf707b24c8983d708da69c9bde0%7Cb099b0b4f26c4cf59a0fd5be9acab205%7C0%7C0%7C637938612461856216%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=NE0PaKmrkIpr38yCkK5PnP0bU%2BjfyCZh7ETFGllEeFg%3D&reserved=0]
> 
> url:    https://nam10.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fintel-lab-lkp%2Flinux%2Fcommits%2FXin-Ji%2Fdt-bindings-usb-Add-analogix-anx7411-PD-binding%2F20220719-104903&data=05%7C01%7Cxji%40analogixsemi.com%7Cc9949cf707b24c8983d708da69c9bde0%7Cb099b0b4f26c4cf59a0fd5be9acab205%7C0%7C0%7C637938612461856216%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=%2BYrQXrFwArNNfuzBeIn0NwkEEaZe83IWOuWcbdDJeR8%3D&reserved=0
> base:   https://nam10.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgit.kernel.org%2Fpub%2Fscm%2Flinux%2Fkernel%2Fgit%2Frobh%2Flinux.git&data=05%7C01%7Cxji%40analogixsemi.com%7Cc9949cf707b24c8983d708da69c9bde0%7Cb099b0b4f26c4cf59a0fd5be9acab205%7C0%7C0%7C637938612461856216%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=dQBVaf7Rz%2FBh3BCOFaroRhcMxscfN9NQqhqT7oIyAq0%3D&reserved=0 for-next
> config: ia64-allmodconfig (https://nam10.safelinks.protection.outlook.com/?url=https%3A%2F%2Fdownload.01.org%2F0day-ci%2Farchive%2F20220720%2F202207200429.z6HHJnIG-lkp%40intel.com%2Fconfig&data=05%7C01%7Cxji%40analogixsemi.com%7Cc9949cf707b24c8983d708da69c9bde0%7Cb099b0b4f26c4cf59a0fd5be9acab205%7C0%7C0%7C637938612461856216%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=wU8resq844fF%2B5uH3yV4UsZq6e4AMJ5RZPXA1BkSjr4%3D&reserved=0)
> compiler: ia64-linux-gcc (GCC) 12.1.0
> reproduce (this is a W=1 build):
>         wget https://nam10.safelinks.protection.outlook.com/?url=https%3A%2F%2Fraw.githubusercontent.com%2Fintel%2Flkp-tests%2Fmaster%2Fsbin%2Fmake.cross&data=05%7C01%7Cxji%40analogixsemi.com%7Cc9949cf707b24c8983d708da69c9bde0%7Cb099b0b4f26c4cf59a0fd5be9acab205%7C0%7C0%7C637938612461856216%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=TbXu5vgbQR8Ue%2F7H79IBcMnh3M7BgZ1lKUvJFg0661Q%3D&reserved=0 -O ~/bin/make.cross
>         chmod +x ~/bin/make.cross
>         # https://nam10.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fintel-lab-lkp%2Flinux%2Fcommit%2F02d4e6d59ace40d44e1af982c06f9bb7f37038a7&data=05%7C01%7Cxji%40analogixsemi.com%7Cc9949cf707b24c8983d708da69c9bde0%7Cb099b0b4f26c4cf59a0fd5be9acab205%7C0%7C0%7C637938612461856216%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=5naf3AhjQ6%2BdJWz6gE9H1j3frK62fOXq%2FsAC0uHubhM%3D&reserved=0
>         git remote add linux-review https://nam10.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fintel-lab-lkp%2Flinux&data=05%7C01%7Cxji%40analogixsemi.com%7Cc9949cf707b24c8983d708da69c9bde0%7Cb099b0b4f26c4cf59a0fd5be9acab205%7C0%7C0%7C637938612461856216%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=8rL58C2xpQe1ThlHmvFhJjY%2BQYz7OTxIncE3GXcbEfs%3D&reserved=0
>         git fetch --no-tags linux-review Xin-Ji/dt-bindings-usb-Add-analogix-anx7411-PD-binding/20220719-104903
>         git checkout 02d4e6d59ace40d44e1af982c06f9bb7f37038a7
>         # save the config file
>         mkdir build_dir && cp config build_dir/.config
>         COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=ia64 SHELL=/bin/bash drivers/usb/typec/
> 
> If you fix the issue, kindly add following tag where applicable
> Reported-by: kernel test robot <lkp@xxxxxxxxx>
> 
> All errors (new ones prefixed by >>):
> 
> >> drivers/usb/typec/anx7411.c:24:10: fatal error: linux/usb/tcpci.h: No such file or directory
>       24 | #include <linux/usb/tcpci.h>
>          |          ^~~~~~~~~~~~~~~~~~~
>    compilation terminated.
> 
> 
> vim +24 drivers/usb/typec/anx7411.c
> 
>      2	
>      3	/*
>      4	 * Driver for Analogix ANX7411 USB Type-C and PD controller
>      5	 *
>      6	 * Copyright(c) 2022, Analogix Semiconductor. All rights reserved.
>      7	 *
>      8	 */
>      9	#include <linux/gpio/consumer.h>
>     10	#include <linux/i2c.h>
>     11	#include <linux/interrupt.h>
>     12	#include <linux/iopoll.h>
>     13	#include <linux/kernel.h>
>     14	#include <linux/module.h>
>     15	#include <linux/mutex.h>
>     16	#include <linux/of_graph.h>
>     17	#include <linux/of_platform.h>
>     18	#include <linux/pm_runtime.h>
>     19	#include <linux/regulator/consumer.h>
>     20	#include <linux/slab.h>
>     21	#include <linux/types.h>
>     22	#include <linux/usb/pd.h>
>     23	#include <linux/usb/role.h>
>   > 24	#include <linux/usb/tcpci.h>
>     25	#include <linux/usb/typec.h>
>     26	#include <linux/usb/typec_dp.h>
>     27	#include <linux/usb/typec_mux.h>
>     28	#include <linux/workqueue.h>
>     29	#include <linux/power_supply.h>
>     30	
> 
> -- 
> 0-DAY CI Kernel Test Service
> https://nam10.safelinks.protection.outlook.com/?url=https%3A%2F%2F01.org%2Flkp&amp;data=05%7C01%7Cxji%40analogixsemi.com%7Cc9949cf707b24c8983d708da69c9bde0%7Cb099b0b4f26c4cf59a0fd5be9acab205%7C0%7C0%7C637938612461856216%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&amp;sdata=RAGaTA9DEcvfeMdWauI4T6zC5xMEogDdH6Rs7ERkR08%3D&amp;reserved=0



[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux