Re: [PATCH v2] net: usb: net1080: add error handling to nc_vendor_write()

kernel test robot <[email protected]> Fri, 31 Jul 2026 15:58:35 +0200
Newsgroups dev.linux.lists.llvm,dev.linux.lists.oe-kbuild-all,org.kernel.vger.linux-kernel,org.kernel.vger.linux-usb,org.kernel.vger.netdev
Message-ID <[email protected]>
Hi Ashwin,

kernel test robot noticed the following build errors:

[auto build test ERROR on net/main]
[also build test ERROR on net-next/main linus/master v7.2-rc5 next-20260730]
[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/Ashwin-Gundarapu/net-usb-net1080-add-error-handling-to-nc_vendor_write/20260731-180509
base:   net/main
patch link:    https://lore.kernel.org/r/19fa888e049.512e8c5e24030.7986824281565553606%40zohomail.in
patch subject: [PATCH v2] net: usb: net1080: add error handling to nc_vendor_write()
config: x86_64-kexec (https://download.01.org/0day-ci/archive/20260731/[email protected]/config)
compiler: clang version 22.1.8 (https://github.com/llvm/llvm-project ca7933e47d3a3451d81e72ac174dcb5aa28b59d1)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260731/[email protected]/reproduce)

If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <[email protected]>
| Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/

All errors (new ones prefixed by >>):

>> drivers/net/usb/net1080.c:132:2: error: #endif without #if
     132 | #endif
         |  ^
   1 error generated.


vim +132 drivers/net/usb/net1080.c

904813cd8a0b334 drivers/usb/net/net1080.c David Brownell 2005-08-31  129  
904813cd8a0b334 drivers/usb/net/net1080.c David Brownell 2005-08-31  130  
904813cd8a0b334 drivers/usb/net/net1080.c David Brownell 2005-08-31  131  
904813cd8a0b334 drivers/usb/net/net1080.c David Brownell 2005-08-31 @132  #endif
904813cd8a0b334 drivers/usb/net/net1080.c David Brownell 2005-08-31  133  
904813cd8a0b334 drivers/usb/net/net1080.c David Brownell 2005-08-31  134  

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