Re: [PATCH v3 6/7] typec: tcpm: Represent source supply through power_supply class

From: kbuild test robot
Date: Wed Dec 20 2017 - 10:25:42 EST

Hi Adam,

Thank you for the patch! Perhaps something to improve:

[auto build test WARNING on next-20171214]
[cannot apply to usb/usb-testing hwmon/hwmon-next v4.15-rc3 v4.15-rc2 v4.15-rc1 v4.15-rc4]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]


coccinelle warnings: (new ones prefixed by >>)

>> drivers/usb/typec/tcpm.c:4396:1-3: WARNING: PTR_ERR_OR_ZERO can be used

Please review and possibly fold the followup patch.

0-DAY kernel test infrastructure Open Source Technology Center Intel Corporation