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 for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:   Tue, 3 Nov 2020 02:05:37 +0800
From:   kernel test robot <lkp@...el.com>
To:     Andrej Valek <andrej.valek@...mens.com>,
        chinyeow.sim.xt@...esas.com, martin.kepplinger@...zinger.com,
        dmitry.torokhov@...il.com
Cc:     kbuild-all@...ts.01.org, linux-input@...r.kernel.org,
        linux-kernel@...r.kernel.org,
        Andrej Valek <andrej.valek@...mens.com>
Subject: Re: [PATCH] Input: st1232 - add support resolution reading

Hi Andrej,

Thank you for the patch! Perhaps something to improve:

[auto build test WARNING on input/next]
[also build test WARNING on v5.10-rc2 next-20201102]
[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/Andrej-Valek/Input-st1232-add-support-resolution-reading/20201030-173555
base:   https://git.kernel.org/pub/scm/linux/kernel/git/dtor/input.git next
config: i386-randconfig-m021-20201102 (attached as .config)
compiler: gcc-9 (Debian 9.3.0-15) 9.3.0

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

smatch warnings:
drivers/input/touchscreen/st1232.c:86 st1232_ts_read_resolution() warn: inconsistent indenting

vim +86 drivers/input/touchscreen/st1232.c

    74	
    75	static int st1232_ts_read_resolution(struct st1232_ts_data *ts, u16 *max_x,
    76					     u16 *max_y)
    77	{
    78		u8 *buf;
    79		int error;
    80	
    81		/* select resolution register */
    82		error = st1232_ts_read_data(ts, REG_XY_RESOLUTION);
    83		if (error)
    84			return error;
    85	
  > 86		 buf = ts->read_buf;
    87	
    88		*max_x = ((buf[0] & 0x0070) << 4) | buf[1];
    89		*max_y = ((buf[0] & 0x0007) << 8) | buf[2];
    90	
    91		return 0;
    92	}
    93	

---
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" (35484 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ