Content-Type: multipart/mixed; boundary="===============7339344611044702865==" MIME-Version: 1.0 From: Andy Shevchenko To: kbuild-all@lists.01.org Subject: Re: [PATCH v18] tty: Fix the keyboard led light display problem Date: Tue, 30 Nov 2021 10:49:41 +0200 Message-ID: In-Reply-To: <202111291912.gGbp6mtv-lkp@intel.com> List-Id: --===============7339344611044702865== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable On Tue, Nov 30, 2021 at 10:53:37AM +0300, Dan Carpenter wrote: > Hi lianzhi, > = > url: https://github.com/0day-ci/linux/commits/lianzhi-chang/tty-Fix-th= e-keyboard-led-light-display-problem/20211129-120853 > base: https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty.git tt= y-testing > config: i386-randconfig-m021-20211128 (https://download.01.org/0day-ci/ar= chive/20211129/202111291912.gGbp6mtv-lkp(a)intel.com/config) > compiler: gcc-9 (Debian 9.3.0-22) 9.3.0 > = > If you fix the issue, kindly add following tag as appropriate > Reported-by: kernel test robot > Reported-by: Dan Carpenter > = > New smatch warnings: > drivers/tty/vt/keyboard.c:425 vt_set_leds_compute_shiftstate() warn: was = && intended here instead of ||? Indeed, how this had been tested? > 560757cc1f5e54 drivers/tty/vt/keyboard.c lianzhi chang 2021-11-29 @425 = if (kb->kbdmode !=3D VC_RAW || > 560757cc1f5e54 drivers/tty/vt/keyboard.c lianzhi chang 2021-11-29 426 = kb->kbdmode !=3D VC_MEDIUMRAW || > 560757cc1f5e54 drivers/tty/vt/keyboard.c lianzhi chang 2021-11-29 427 = kb->kbdmode !=3D VC_OFF) { > = > && was intended instead of ||. > = > 560757cc1f5e54 drivers/tty/vt/keyboard.c lianzhi chang 2021-11-29 428 = vt_switch =3D true; > 63f24a7fafd448 drivers/tty/vt/keyboard.c Jiri Slaby 2021-01-05 429 = set_leds(); > 560757cc1f5e54 drivers/tty/vt/keyboard.c lianzhi chang 2021-11-29 430 = } -- = With Best Regards, Andy Shevchenko --===============7339344611044702865==--