Re: [PATCH 1/2] gnss: ubx: customize serial device open to set U-Blox Zed-F9P baud

From: kernel test robot
Date: Mon May 08 2023 - 23:10:05 EST


Hi,

kernel test robot noticed the following build warnings:

[auto build test WARNING on robh/for-next]
[also build test WARNING on linus/master v6.4-rc1 next-20230508]
[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#_base_tree_information]

url: https://github.com/intel-lab-lkp/linux/commits/alison-she-devel-com/gnss-ubx-customize-serial-device-open-to-set-U-Blox-Zed-F9P-baud/20230430-065242
base: https://git.kernel.org/pub/scm/linux/kernel/git/robh/linux.git for-next
patch link: https://lore.kernel.org/r/20230429224349.1935029-2-alison%40she-devel.com
patch subject: [PATCH 1/2] gnss: ubx: customize serial device open to set U-Blox Zed-F9P baud
config: mips-randconfig-c004-20230507 (https://download.01.org/0day-ci/archive/20230509/202305091016.ekHtVcRp-lkp@xxxxxxxxx/config)
compiler: mipsel-linux-gcc (GCC) 12.1.0

If you fix the issue, kindly add following tag where applicable
| Reported-by: kernel test robot <lkp@xxxxxxxxx>
| Link: https://lore.kernel.org/oe-kbuild-all/202305091016.ekHtVcRp-lkp@xxxxxxxxx/

cocci warnings: (new ones prefixed by >>)
>> drivers/gnss/ubx.c:263:5-11: ERROR: allocation function on line 262 returns NULL not ERR_PTR on failure

--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests