lkml.org 
[lkml]   [2020]   [Nov]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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@intel.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
[unhandled content-type:application/gzip]
\
 
 \ /
  Last update: 2020-11-02 19:07    [W:0.111 / U:3.484 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site