From: kernel test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: Re: [PATCH v14 06/17] counter: Internalize sysfs interface code
Date: Tue, 03 Aug 2021 23:11:43 +0800 [thread overview]
Message-ID: <202108032313.uMQ1PVPD-lkp@intel.com> (raw)
In-Reply-To: <2df092636a9eea5a3ddae1e9a6429e32b51284f7.1627990337.git.vilhelm.gray@gmail.com>
[-- Attachment #1: Type: text/plain, Size: 5958 bytes --]
Hi William,
I love your patch! Perhaps something to improve:
[auto build test WARNING on stm32/stm32-next]
[also build test WARNING on linus/master v5.14-rc4 next-20210802]
[cannot apply to linux/master]
[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/William-Breathitt-Gray/Introduce-the-Counter-character-device-interface/20210803-201000
base: https://git.kernel.org/pub/scm/linux/kernel/git/atorgue/stm32.git stm32-next
config: m68k-allmodconfig (attached as .config)
compiler: m68k-linux-gcc (GCC) 10.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/490c9a9a44e9c680fa6658f0710bb81831173299
git remote add linux-review https://github.com/0day-ci/linux
git fetch --no-tags linux-review William-Breathitt-Gray/Introduce-the-Counter-character-device-interface/20210803-201000
git checkout 490c9a9a44e9c680fa6658f0710bb81831173299
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-10.3.0 make.cross ARCH=m68k
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
All warnings (new ones prefixed by >>):
>> drivers/counter/stm32-timer-cnt.c:55:2: warning: implicit conversion from 'enum stm32_count_function' to 'enum counter_function' [-Wenum-conversion]
55 | STM32_COUNT_SLAVE_MODE_DISABLED,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/counter/stm32-timer-cnt.c:56:2: warning: implicit conversion from 'enum stm32_count_function' to 'enum counter_function' [-Wenum-conversion]
56 | STM32_COUNT_ENCODER_MODE_1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/counter/stm32-timer-cnt.c:57:2: warning: implicit conversion from 'enum stm32_count_function' to 'enum counter_function' [-Wenum-conversion]
57 | STM32_COUNT_ENCODER_MODE_2,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/counter/stm32-timer-cnt.c:58:2: warning: implicit conversion from 'enum stm32_count_function' to 'enum counter_function' [-Wenum-conversion]
58 | STM32_COUNT_ENCODER_MODE_3,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/counter/stm32-timer-cnt.c: In function 'stm32_count_function_read':
drivers/counter/stm32-timer-cnt.c:97:13: warning: implicit conversion from 'enum stm32_count_function' to 'enum counter_function' [-Wenum-conversion]
97 | *function = STM32_COUNT_SLAVE_MODE_DISABLED;
| ^
drivers/counter/stm32-timer-cnt.c:100:13: warning: implicit conversion from 'enum stm32_count_function' to 'enum counter_function' [-Wenum-conversion]
100 | *function = STM32_COUNT_ENCODER_MODE_1;
| ^
drivers/counter/stm32-timer-cnt.c:103:13: warning: implicit conversion from 'enum stm32_count_function' to 'enum counter_function' [-Wenum-conversion]
103 | *function = STM32_COUNT_ENCODER_MODE_2;
| ^
drivers/counter/stm32-timer-cnt.c:106:13: warning: implicit conversion from 'enum stm32_count_function' to 'enum counter_function' [-Wenum-conversion]
106 | *function = STM32_COUNT_ENCODER_MODE_3;
| ^
--
>> drivers/counter/stm32-lptimer-cnt.c:139:2: warning: implicit conversion from 'enum stm32_lptim_cnt_function' to 'enum counter_function' [-Wenum-conversion]
139 | STM32_LPTIM_COUNTER_INCREASE,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/counter/stm32-lptimer-cnt.c:140:2: warning: implicit conversion from 'enum stm32_lptim_cnt_function' to 'enum counter_function' [-Wenum-conversion]
140 | STM32_LPTIM_ENCODER_BOTH_EDGE,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/counter/stm32-lptimer-cnt.c: In function 'stm32_lptim_cnt_function_read':
drivers/counter/stm32-lptimer-cnt.c:195:13: warning: implicit conversion from 'enum stm32_lptim_cnt_function' to 'enum counter_function' [-Wenum-conversion]
195 | *function = STM32_LPTIM_COUNTER_INCREASE;
| ^
drivers/counter/stm32-lptimer-cnt.c:200:13: warning: implicit conversion from 'enum stm32_lptim_cnt_function' to 'enum counter_function' [-Wenum-conversion]
200 | *function = STM32_LPTIM_ENCODER_BOTH_EDGE;
| ^
--
>> drivers/counter/ftm-quaddec.c:162:2: warning: implicit conversion from 'enum ftm_quaddec_count_function' to 'enum counter_function' [-Wenum-conversion]
162 | FTM_QUADDEC_COUNT_ENCODER_MODE_1
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/counter/ftm-quaddec.c: In function 'ftm_quaddec_count_function_read':
drivers/counter/ftm-quaddec.c:199:12: warning: implicit conversion from 'enum ftm_quaddec_count_function' to 'enum counter_function' [-Wenum-conversion]
199 | *function = FTM_QUADDEC_COUNT_ENCODER_MODE_1;
| ^
vim +55 drivers/counter/stm32-timer-cnt.c
490c9a9a44e9c6 William Breathitt Gray 2021-08-03 53
490c9a9a44e9c6 William Breathitt Gray 2021-08-03 54 static const enum counter_function stm32_count_functions[] = {
fae6f62e6a580b William Breathitt Gray 2021-02-26 @55 STM32_COUNT_SLAVE_MODE_DISABLED,
ad29937e206f5e Benjamin Gaignard 2019-04-02 56 STM32_COUNT_ENCODER_MODE_1,
ad29937e206f5e Benjamin Gaignard 2019-04-02 57 STM32_COUNT_ENCODER_MODE_2,
ad29937e206f5e Benjamin Gaignard 2019-04-02 58 STM32_COUNT_ENCODER_MODE_3,
ad29937e206f5e Benjamin Gaignard 2019-04-02 59 };
ad29937e206f5e Benjamin Gaignard 2019-04-02 60
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org
[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 60682 bytes --]
next prev parent reply other threads:[~2021-08-03 15:11 UTC|newest]
Thread overview: 50+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-08-03 12:06 [PATCH v14 00/17] Introduce the Counter character device interface William Breathitt Gray
2021-08-03 12:06 ` William Breathitt Gray
2021-08-03 12:06 ` [PATCH v14 01/17] counter: 104-quad-8: Return error when invalid mode during ceiling_write William Breathitt Gray
2021-08-03 12:06 ` William Breathitt Gray
2021-08-08 17:06 ` Jonathan Cameron
2021-08-08 17:06 ` Jonathan Cameron
2021-08-03 12:06 ` [PATCH v14 02/17] counter: Return error code on invalid modes William Breathitt Gray
2021-08-03 12:06 ` William Breathitt Gray
2021-08-08 17:07 ` Jonathan Cameron
2021-08-08 17:07 ` Jonathan Cameron
2021-08-03 12:06 ` [PATCH v14 03/17] counter: Standardize to ERANGE for limit exceeded errors William Breathitt Gray
2021-08-03 12:06 ` William Breathitt Gray
2021-08-08 17:08 ` Jonathan Cameron
2021-08-08 17:08 ` Jonathan Cameron
2021-08-03 12:06 ` [PATCH v14 04/17] counter: Rename counter_signal_value to counter_signal_level William Breathitt Gray
2021-08-03 12:06 ` William Breathitt Gray
2021-08-08 17:10 ` Jonathan Cameron
2021-08-08 17:10 ` Jonathan Cameron
2021-08-03 12:06 ` [PATCH v14 05/17] counter: Rename counter_count_function to counter_function William Breathitt Gray
2021-08-03 12:06 ` William Breathitt Gray
2021-08-08 17:15 ` Jonathan Cameron
2021-08-08 17:15 ` Jonathan Cameron
2021-08-03 12:06 ` [PATCH v14 06/17] counter: Internalize sysfs interface code William Breathitt Gray
2021-08-03 15:11 ` kernel test robot [this message]
2021-08-04 1:04 ` William Breathitt Gray
2021-08-08 17:23 ` Jonathan Cameron
2021-08-09 3:59 ` William Breathitt Gray
2021-08-09 3:59 ` William Breathitt Gray
2021-08-03 12:06 ` [PATCH v14 07/17] counter: Update counter.h comments to reflect sysfs internalization William Breathitt Gray
2021-08-03 12:06 ` William Breathitt Gray
2021-08-03 12:06 ` [PATCH v14 08/17] docs: counter: Update " William Breathitt Gray
2021-08-03 12:06 ` William Breathitt Gray
2021-08-03 12:06 ` [PATCH v14 09/17] counter: Move counter enums to uapi header William Breathitt Gray
2021-08-03 12:06 ` William Breathitt Gray
2021-08-03 12:06 ` [PATCH v14 10/17] counter: Add character device interface William Breathitt Gray
2021-08-03 12:06 ` William Breathitt Gray
2021-08-03 12:06 ` [PATCH v14 11/17] docs: counter: Document " William Breathitt Gray
2021-08-03 12:06 ` William Breathitt Gray
2021-08-03 12:06 ` [PATCH v14 12/17] tools/counter: Create Counter tools William Breathitt Gray
2021-08-03 12:06 ` William Breathitt Gray
2021-08-03 12:06 ` [PATCH v14 13/17] counter: Implement signalZ_action_component_id sysfs attribute William Breathitt Gray
2021-08-03 12:06 ` William Breathitt Gray
2021-08-03 12:06 ` [PATCH v14 14/17] counter: Implement *_component_id sysfs attributes William Breathitt Gray
2021-08-03 12:06 ` William Breathitt Gray
2021-08-03 12:06 ` [PATCH v14 15/17] counter: Implement events_queue_size sysfs attribute William Breathitt Gray
2021-08-03 12:06 ` William Breathitt Gray
2021-08-03 12:06 ` [PATCH v14 16/17] counter: 104-quad-8: Replace mutex with spinlock William Breathitt Gray
2021-08-03 12:06 ` William Breathitt Gray
2021-08-03 12:06 ` [PATCH v14 17/17] counter: 104-quad-8: Add IRQ support for the ACCES 104-QUAD-8 William Breathitt Gray
2021-08-03 12:06 ` William Breathitt Gray
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=202108032313.uMQ1PVPD-lkp@intel.com \
--to=lkp@intel.com \
--cc=kbuild-all@lists.01.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.