lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <202102241721.2y6F4IeB-lkp@intel.com>
Date:   Wed, 24 Feb 2021 17:44:21 +0800
From:   kernel test robot <lkp@...el.com>
To:     Uwe Kleine-König <uwe@...ine-koenig.org>,
        Michael Ellerman <mpe@...erman.id.au>,
        Benjamin Herrenschmidt <benh@...nel.crashing.org>,
        Paul Mackerras <paulus@...ba.org>,
        "David S. Miller" <davem@...emloft.net>,
        Jens Axboe <axboe@...nel.dk>, Matt Mackall <mpm@...enic.com>,
        Herbert Xu <herbert@...dor.apana.org.au>,
        Peter Huewe <peterhuewe@....de>,
        Jarkko Sakkinen <jarkko@...nel.org>
Cc:     kbuild-all@...ts.01.org, netdev@...r.kernel.org
Subject: Re: [PATCH v2] vio: make remove callback return void

Hi "Uwe,

I love your patch! Yet something to improve:

[auto build test ERROR on next-20210224]
[also build test ERROR on v5.11]
[cannot apply to powerpc/next sparc/master sparc-next/master v5.11 v5.11-rc7 v5.11-rc6]
[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]

url:    https://github.com/0day-ci/linux/commits/Uwe-Kleine-K-nig/vio-make-remove-callback-return-void/20210224-153029
base:    577c283560fe8a81a23a95654c6d13e8412d22f1
config: powerpc-randconfig-r013-20210223 (attached as .config)
compiler: powerpc64le-linux-gcc (GCC) 9.3.0
reproduce (this is a W=1 build):
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # https://github.com/0day-ci/linux/commit/1cc965e9b41d0acfaf8d597ffeb7ef1c2031ec4c
        git remote add linux-review https://github.com/0day-ci/linux
        git fetch --no-tags linux-review Uwe-Kleine-K-nig/vio-make-remove-callback-return-void/20210224-153029
        git checkout 1cc965e9b41d0acfaf8d597ffeb7ef1c2031ec4c
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=powerpc 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@...el.com>

All errors (new ones prefixed by >>):

>> drivers/tty/hvc/hvcs.c:822:13: error: conflicting types for 'hvcs_remove'
     822 | static void hvcs_remove(struct vio_dev *dev)
         |             ^~~~~~~~~~~
   drivers/tty/hvc/hvcs.c:320:12: note: previous declaration of 'hvcs_remove' was here
     320 | static int hvcs_remove(struct vio_dev *dev);
         |            ^~~~~~~~~~~


vim +/hvcs_remove +822 drivers/tty/hvc/hvcs.c

   821	
 > 822	static void hvcs_remove(struct vio_dev *dev)
   823	{
   824		struct hvcs_struct *hvcsd = dev_get_drvdata(&dev->dev);
   825		unsigned long flags;
   826		struct tty_struct *tty;
   827	
   828		/* By this time the vty-server won't be getting any more interrupts */
   829	
   830		spin_lock_irqsave(&hvcsd->lock, flags);
   831	
   832		tty = hvcsd->port.tty;
   833	
   834		spin_unlock_irqrestore(&hvcsd->lock, flags);
   835	
   836		/*
   837		 * Let the last holder of this object cause it to be removed, which
   838		 * would probably be tty_hangup below.
   839		 */
   840		tty_port_put(&hvcsd->port);
   841	
   842		/*
   843		 * The hangup is a scheduled function which will auto chain call
   844		 * hvcs_hangup.  The tty should always be valid at this time unless a
   845		 * simultaneous tty close already cleaned up the hvcs_struct.
   846		 */
   847		if (tty)
   848			tty_hangup(tty);
   849	
   850		printk(KERN_INFO "HVCS: vty-server@%X removed from the"
   851				" vio bus.\n", dev->unit_address);
   852	};
   853	

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org

Download attachment ".config.gz" of type "application/gzip" (30696 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ