drivers/net/wireless/intel/iwlwifi/mvm/rs-fw.c:314 iwl_mvm_tlc_update_notif() warn: inconsistent indenting
by kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 923dcc5eb0c111eccd51cc7ce1658537e3c38b25
commit: 82cdbd11b60a19e59f7991350b0c4e901c48c687 iwlwifi: mvm: Support version 3 of tlc_update_notif.
date: 4 weeks ago
config: mips-randconfig-m031-20211104 (attached as .config)
compiler: mips-linux-gcc (GCC) 11.2.0
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
smatch warnings:
drivers/net/wireless/intel/iwlwifi/mvm/rs-fw.c:314 iwl_mvm_tlc_update_notif() warn: inconsistent indenting
vim +314 drivers/net/wireless/intel/iwlwifi/mvm/rs-fw.c
278
279 void iwl_mvm_tlc_update_notif(struct iwl_mvm *mvm,
280 struct iwl_rx_cmd_buffer *rxb)
281 {
282 struct iwl_rx_packet *pkt = rxb_addr(rxb);
283 struct iwl_tlc_update_notif *notif;
284 struct ieee80211_sta *sta;
285 struct iwl_mvm_sta *mvmsta;
286 struct iwl_lq_sta_rs_fw *lq_sta;
287 u32 flags;
288
289 rcu_read_lock();
290
291 notif = (void *)pkt->data;
292 sta = rcu_dereference(mvm->fw_id_to_mac_id[notif->sta_id]);
293 if (IS_ERR_OR_NULL(sta)) {
294 IWL_ERR(mvm, "Invalid sta id (%d) in FW TLC notification\n",
295 notif->sta_id);
296 goto out;
297 }
298
299 mvmsta = iwl_mvm_sta_from_mac80211(sta);
300
301 if (!mvmsta) {
302 IWL_ERR(mvm, "Invalid sta id (%d) in FW TLC notification\n",
303 notif->sta_id);
304 goto out;
305 }
306
307 flags = le32_to_cpu(notif->flags);
308
309 lq_sta = &mvmsta->lq_sta.rs_fw;
310
311 if (flags & IWL_TLC_NOTIF_FLAG_RATE) {
312 char pretty_rate[100];
313
> 314 if (iwl_fw_lookup_notif_ver(mvm->fw, DATA_PATH_GROUP,
315 TLC_MNG_UPDATE_NOTIF, 0) < 3) {
316 rs_pretty_print_rate_v1(pretty_rate, sizeof(pretty_rate),
317 le32_to_cpu(notif->rate));
318 IWL_DEBUG_RATE(mvm,
319 "Got rate in old format. Rate: %s. Converting.\n",
320 pretty_rate);
321 lq_sta->last_rate_n_flags =
322 iwl_new_rate_from_v1(le32_to_cpu(notif->rate));
323 } else {
324 lq_sta->last_rate_n_flags = le32_to_cpu(notif->rate);
325 }
326 rs_pretty_print_rate(pretty_rate, sizeof(pretty_rate),
327 lq_sta->last_rate_n_flags);
328 IWL_DEBUG_RATE(mvm, "new rate: %s\n", pretty_rate);
329 }
330
331 if (flags & IWL_TLC_NOTIF_FLAG_AMSDU && !mvmsta->orig_amsdu_len) {
332 u16 size = le32_to_cpu(notif->amsdu_size);
333 int i;
334
335 if (sta->max_amsdu_len < size) {
336 /*
337 * In debug sta->max_amsdu_len < size
338 * so also check with orig_amsdu_len which holds the
339 * original data before debugfs changed the value
340 */
341 WARN_ON(mvmsta->orig_amsdu_len < size);
342 goto out;
343 }
344
345 mvmsta->amsdu_enabled = le32_to_cpu(notif->amsdu_enabled);
346 mvmsta->max_amsdu_len = size;
347 sta->max_rc_amsdu_len = mvmsta->max_amsdu_len;
348
349 for (i = 0; i < IWL_MAX_TID_COUNT; i++) {
350 if (mvmsta->amsdu_enabled & BIT(i))
351 sta->max_tid_amsdu_len[i] =
352 iwl_mvm_max_amsdu_size(mvm, sta, i);
353 else
354 /*
355 * Not so elegant, but this will effectively
356 * prevent AMSDU on this TID
357 */
358 sta->max_tid_amsdu_len[i] = 1;
359 }
360
361 IWL_DEBUG_RATE(mvm,
362 "AMSDU update. AMSDU size: %d, AMSDU selected size: %d, AMSDU TID bitmap 0x%X\n",
363 le32_to_cpu(notif->amsdu_size), size,
364 mvmsta->amsdu_enabled);
365 }
366 out:
367 rcu_read_unlock();
368 }
369
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
10 months
[mark:arm64/preempt-dynamic-static-key 6/6] kernel/locking/locktorture.c:122:3: error: implicit declaration of function 'preempt_schedule'
by kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/mark/linux.git arm64/preempt-dynamic-static-key
head: 47c5f8b3abb64dcd6ac43521d24ca9e7d7891dcc
commit: 47c5f8b3abb64dcd6ac43521d24ca9e7d7891dcc [6/6] arm64: support PREEMPT_DYNAMIC
config: arm64-buildonly-randconfig-r004-20211118 (attached as .config)
compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project c46becf500df2a7fb4b4fce16178a036c344315a)
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
# install arm64 cross compiling tool for clang build
# apt-get install binutils-aarch64-linux-gnu
# https://git.kernel.org/pub/scm/linux/kernel/git/mark/linux.git/commit/?id...
git remote add mark https://git.kernel.org/pub/scm/linux/kernel/git/mark/linux.git
git fetch --no-tags mark arm64/preempt-dynamic-static-key
git checkout 47c5f8b3abb64dcd6ac43521d24ca9e7d7891dcc
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 ARCH=arm64
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>):
>> kernel/locking/locktorture.c:122:3: error: implicit declaration of function 'preempt_schedule' [-Werror,-Wimplicit-function-declaration]
torture_preempt_schedule(); /* Allow test to be preempted. */
^
include/linux/torture.h:126:36: note: expanded from macro 'torture_preempt_schedule'
#define torture_preempt_schedule() preempt_schedule()
^
kernel/locking/locktorture.c:122:3: note: did you mean 'preempt_schedule_irq'?
include/linux/torture.h:126:36: note: expanded from macro 'torture_preempt_schedule'
#define torture_preempt_schedule() preempt_schedule()
^
include/linux/sched.h:291:17: note: 'preempt_schedule_irq' declared here
asmlinkage void preempt_schedule_irq(void);
^
kernel/locking/locktorture.c:170:3: error: implicit declaration of function 'preempt_schedule' [-Werror,-Wimplicit-function-declaration]
torture_preempt_schedule(); /* Allow test to be preempted. */
^
include/linux/torture.h:126:36: note: expanded from macro 'torture_preempt_schedule'
#define torture_preempt_schedule() preempt_schedule()
^
kernel/locking/locktorture.c:349:3: error: implicit declaration of function 'preempt_schedule' [-Werror,-Wimplicit-function-declaration]
torture_preempt_schedule(); /* Allow test to be preempted. */
^
include/linux/torture.h:126:36: note: expanded from macro 'torture_preempt_schedule'
#define torture_preempt_schedule() preempt_schedule()
^
kernel/locking/locktorture.c:524:3: error: implicit declaration of function 'preempt_schedule' [-Werror,-Wimplicit-function-declaration]
torture_preempt_schedule(); /* Allow test to be preempted. */
^
include/linux/torture.h:126:36: note: expanded from macro 'torture_preempt_schedule'
#define torture_preempt_schedule() preempt_schedule()
^
kernel/locking/locktorture.c:564:3: error: implicit declaration of function 'preempt_schedule' [-Werror,-Wimplicit-function-declaration]
torture_preempt_schedule(); /* Allow test to be preempted. */
^
include/linux/torture.h:126:36: note: expanded from macro 'torture_preempt_schedule'
#define torture_preempt_schedule() preempt_schedule()
^
kernel/locking/locktorture.c:591:3: error: implicit declaration of function 'preempt_schedule' [-Werror,-Wimplicit-function-declaration]
torture_preempt_schedule(); /* Allow test to be preempted. */
^
include/linux/torture.h:126:36: note: expanded from macro 'torture_preempt_schedule'
#define torture_preempt_schedule() preempt_schedule()
^
6 errors generated.
--
>> kernel/rcu/rcutorture.c:400:3: error: implicit declaration of function 'preempt_schedule' [-Werror,-Wimplicit-function-declaration]
torture_preempt_schedule(); /* QS only if preemptible. */
^
include/linux/torture.h:126:36: note: expanded from macro 'torture_preempt_schedule'
#define torture_preempt_schedule() preempt_schedule()
^
kernel/rcu/rcutorture.c:400:3: note: did you mean 'preempt_schedule_irq'?
include/linux/torture.h:126:36: note: expanded from macro 'torture_preempt_schedule'
#define torture_preempt_schedule() preempt_schedule()
^
include/linux/sched.h:291:17: note: 'preempt_schedule_irq' declared here
asmlinkage void preempt_schedule_irq(void);
^
kernel/rcu/rcutorture.c:2051:5: error: implicit declaration of function 'preempt_schedule' [-Werror,-Wimplicit-function-declaration]
preempt_schedule();
^
2 errors generated.
vim +/preempt_schedule +122 kernel/locking/locktorture.c
e086481baf9d04 Paul E. McKenney 2014-02-11 112
e086481baf9d04 Paul E. McKenney 2014-02-11 113 static void torture_lock_busted_write_delay(struct torture_random_state *trsp)
e086481baf9d04 Paul E. McKenney 2014-02-11 114 {
61d49d2f9888ac Paul E. McKenney 2015-04-01 115 const unsigned long longdelay_ms = 100;
e086481baf9d04 Paul E. McKenney 2014-02-11 116
e086481baf9d04 Paul E. McKenney 2014-02-11 117 /* We want a long delay occasionally to force massive contention. */
e086481baf9d04 Paul E. McKenney 2014-02-11 118 if (!(torture_random(trsp) %
61d49d2f9888ac Paul E. McKenney 2015-04-01 119 (cxt.nrealwriters_stress * 2000 * longdelay_ms)))
61d49d2f9888ac Paul E. McKenney 2015-04-01 120 mdelay(longdelay_ms);
630952c22b04ad Davidlohr Bueso 2014-09-11 121 if (!(torture_random(trsp) % (cxt.nrealwriters_stress * 20000)))
cc1321c96f8555 Paul E. McKenney 2017-10-16 @122 torture_preempt_schedule(); /* Allow test to be preempted. */
e086481baf9d04 Paul E. McKenney 2014-02-11 123 }
e086481baf9d04 Paul E. McKenney 2014-02-11 124
:::::: The code at line 122 was first introduced by commit
:::::: cc1321c96f855525fbd847fec130f000daa1bb1f torture: Reduce #ifdefs for preempt_schedule()
:::::: TO: Paul E. McKenney <paulmck(a)linux.vnet.ibm.com>
:::::: CC: Paul E. McKenney <paulmck(a)linux.vnet.ibm.com>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
10 months
drivers/gpu/drm/amd/amdgpu/../display/dc/dcn20/dcn20_optc.c:312:6: warning: no previous prototype for 'optc2_align_vblanks'
by kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 923dcc5eb0c111eccd51cc7ce1658537e3c38b25
commit: 77a2b7265f20ee827e527eaa6f82b87e88388947 drm/amd/display: Synchronize displays with different timings
date: 9 months ago
config: x86_64-randconfig-m001-20211109 (attached as .config)
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
reproduce (this is a W=1 build):
# https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit...
git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
git fetch --no-tags linus master
git checkout 77a2b7265f20ee827e527eaa6f82b87e88388947
# save the attached .config to linux build tree
make W=1 ARCH=x86_64
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All warnings (new ones prefixed by >>):
drivers/gpu/drm/amd/amdgpu/../display/dc/dcn20/dcn20_optc.c:80:6: warning: no previous prototype for 'optc2_set_timing_db_mode' [-Wmissing-prototypes]
80 | void optc2_set_timing_db_mode(struct timing_generator *optc, bool enable)
| ^~~~~~~~~~~~~~~~~~~~~~~~
drivers/gpu/drm/amd/amdgpu/../display/dc/dcn20/dcn20_optc.c:114:6: warning: no previous prototype for 'optc2_use_gsl_as_master_update_lock' [-Wmissing-prototypes]
114 | void optc2_use_gsl_as_master_update_lock(struct timing_generator *optc,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/gpu/drm/amd/amdgpu/../display/dc/dcn20/dcn20_optc.c:124:6: warning: no previous prototype for 'optc2_set_gsl_window' [-Wmissing-prototypes]
124 | void optc2_set_gsl_window(struct timing_generator *optc,
| ^~~~~~~~~~~~~~~~~~~~
drivers/gpu/drm/amd/amdgpu/../display/dc/dcn20/dcn20_optc.c:142:6: warning: no previous prototype for 'optc2_set_vupdate_keepout' [-Wmissing-prototypes]
142 | void optc2_set_vupdate_keepout(struct timing_generator *optc,
| ^~~~~~~~~~~~~~~~~~~~~~~~~
drivers/gpu/drm/amd/amdgpu/../display/dc/dcn20/dcn20_optc.c:176:6: warning: no previous prototype for 'optc2_set_dsc_encoder_frame_start' [-Wmissing-prototypes]
176 | void optc2_set_dsc_encoder_frame_start(struct timing_generator *optc,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/gpu/drm/amd/amdgpu/../display/dc/dcn20/dcn20_optc.c:299:6: warning: no previous prototype for 'optc2_set_dwb_source' [-Wmissing-prototypes]
299 | void optc2_set_dwb_source(struct timing_generator *optc,
| ^~~~~~~~~~~~~~~~~~~~
>> drivers/gpu/drm/amd/amdgpu/../display/dc/dcn20/dcn20_optc.c:312:6: warning: no previous prototype for 'optc2_align_vblanks' [-Wmissing-prototypes]
312 | void optc2_align_vblanks(
| ^~~~~~~~~~~~~~~~~~~
--
drivers/gpu/drm/amd/amdgpu/../display/dc/dcn10/dcn10_hw_sequencer.c:74:6: warning: no previous prototype for 'print_microsec' [-Wmissing-prototypes]
74 | void print_microsec(struct dc_context *dc_ctx,
| ^~~~~~~~~~~~~~
drivers/gpu/drm/amd/amdgpu/../display/dc/dcn10/dcn10_hw_sequencer.c:129:6: warning: no previous prototype for 'dcn10_log_hubbub_state' [-Wmissing-prototypes]
129 | void dcn10_log_hubbub_state(struct dc *dc, struct dc_log_buffer_ctx *log_ctx)
| ^~~~~~~~~~~~~~~~~~~~~~
>> drivers/gpu/drm/amd/amdgpu/../display/dc/dcn10/dcn10_hw_sequencer.c:1854:10: warning: no previous prototype for 'reduceSizeAndFraction' [-Wmissing-prototypes]
1854 | uint64_t reduceSizeAndFraction(
| ^~~~~~~~~~~~~~~~~~~~~
>> drivers/gpu/drm/amd/amdgpu/../display/dc/dcn10/dcn10_hw_sequencer.c:1900:6: warning: no previous prototype for 'is_low_refresh_rate' [-Wmissing-prototypes]
1900 | bool is_low_refresh_rate(struct pipe_ctx *pipe)
| ^~~~~~~~~~~~~~~~~~~
>> drivers/gpu/drm/amd/amdgpu/../display/dc/dcn10/dcn10_hw_sequencer.c:1909:9: warning: no previous prototype for 'get_clock_divider' [-Wmissing-prototypes]
1909 | uint8_t get_clock_divider(struct pipe_ctx *pipe, bool account_low_refresh_rate)
| ^~~~~~~~~~~~~~~~~
>> drivers/gpu/drm/amd/amdgpu/../display/dc/dcn10/dcn10_hw_sequencer.c:1929:5: warning: no previous prototype for 'dcn10_align_pixel_clocks' [-Wmissing-prototypes]
1929 | int dcn10_align_pixel_clocks(
| ^~~~~~~~~~~~~~~~~~~~~~~~
drivers/gpu/drm/amd/amdgpu/../display/dc/dcn10/dcn10_hw_sequencer.c: In function 'dcn10_align_pixel_clocks':
>> drivers/gpu/drm/amd/amdgpu/../display/dc/dcn10/dcn10_hw_sequencer.c:1944:7: warning: variable 'clamshell_closed' set but not used [-Wunused-but-set-variable]
1944 | bool clamshell_closed = false;
| ^~~~~~~~~~~~~~~~
drivers/gpu/drm/amd/amdgpu/../display/dc/dcn10/dcn10_hw_sequencer.c: At top level:
drivers/gpu/drm/amd/amdgpu/../display/dc/dcn10/dcn10_hw_sequencer.c:2344:6: warning: no previous prototype for 'dcn10_program_pte_vm' [-Wmissing-prototypes]
2344 | void dcn10_program_pte_vm(struct dce_hwseq *hws, struct hubp *hubp)
| ^~~~~~~~~~~~~~~~~~~~
vim +/optc2_align_vblanks +312 drivers/gpu/drm/amd/amdgpu/../display/dc/dcn20/dcn20_optc.c
311
> 312 void optc2_align_vblanks(
313 struct timing_generator *optc_master,
314 struct timing_generator *optc_slave,
315 uint32_t master_pixel_clock_100Hz,
316 uint32_t slave_pixel_clock_100Hz,
317 uint8_t master_clock_divider,
318 uint8_t slave_clock_divider)
319 {
320 /* accessing slave OTG registers */
321 struct optc *optc1 = DCN10TG_FROM_TG(optc_slave);
322
323 uint32_t master_v_active = 0;
324 uint32_t master_h_total = 0;
325 uint32_t slave_h_total = 0;
326 uint64_t L, XY, p = 10000;
327 uint32_t X, Y;
328 uint32_t master_update_lock;
329
330 /* disable slave OTG */
331 REG_UPDATE(OTG_CONTROL, OTG_MASTER_EN, 0);
332 /* wait until disabled */
333 REG_WAIT(OTG_CONTROL,
334 OTG_CURRENT_MASTER_EN_STATE,
335 0, 10, 5000);
336
337 REG_GET(OTG_H_TOTAL, OTG_H_TOTAL, &slave_h_total);
338
339 /* assign slave OTG to be controlled by master update lock */
340 REG_SET(OTG_GLOBAL_CONTROL0, 0,
341 OTG_MASTER_UPDATE_LOCK_SEL, optc_master->inst);
342
343 /* accessing master OTG registers */
344 optc1 = DCN10TG_FROM_TG(optc_master);
345
346 /* saving update lock state, not sure if it's needed */
347 REG_GET(OTG_MASTER_UPDATE_LOCK,
348 OTG_MASTER_UPDATE_LOCK, &master_update_lock);
349 /* unlocking master OTG */
350 REG_SET(OTG_MASTER_UPDATE_LOCK, 0,
351 OTG_MASTER_UPDATE_LOCK, 0);
352
353 REG_GET(OTG_V_BLANK_START_END,
354 OTG_V_BLANK_START, &master_v_active);
355 REG_GET(OTG_H_TOTAL, OTG_H_TOTAL, &master_h_total);
356
357 /* calculate when to enable slave OTG */
358 L = p * slave_h_total * master_pixel_clock_100Hz /
359 master_h_total / slave_pixel_clock_100Hz;
360 XY = L / p;
361 Y = master_v_active - XY - 1;
362 X = ((XY + 1) * p - L) * master_h_total / master_clock_divider / p;
363
364 /*
365 * set master OTG to unlock when V/H
366 * counters reach calculated values
367 */
368 REG_UPDATE(OTG_GLOBAL_CONTROL1,
369 MASTER_UPDATE_LOCK_DB_EN, 1);
370 REG_UPDATE_2(OTG_GLOBAL_CONTROL1,
371 MASTER_UPDATE_LOCK_DB_X,
372 X,
373 MASTER_UPDATE_LOCK_DB_Y,
374 Y);
375
376 /* lock master OTG */
377 REG_SET(OTG_MASTER_UPDATE_LOCK, 0,
378 OTG_MASTER_UPDATE_LOCK, 1);
379 REG_WAIT(OTG_MASTER_UPDATE_LOCK,
380 UPDATE_LOCK_STATUS, 1, 1, 10);
381
382 /* accessing slave OTG registers */
383 optc1 = DCN10TG_FROM_TG(optc_slave);
384
385 /*
386 * enable slave OTG, the OTG is locked with
387 * master's update lock, so it will not run
388 */
389 REG_UPDATE(OTG_CONTROL,
390 OTG_MASTER_EN, 1);
391
392 /* accessing master OTG registers */
393 optc1 = DCN10TG_FROM_TG(optc_master);
394
395 /*
396 * unlock master OTG. When master H/V counters reach
397 * DB_XY point, slave OTG will start
398 */
399 REG_SET(OTG_MASTER_UPDATE_LOCK, 0,
400 OTG_MASTER_UPDATE_LOCK, 0);
401
402 /* accessing slave OTG registers */
403 optc1 = DCN10TG_FROM_TG(optc_slave);
404
405 /* wait for slave OTG to start running*/
406 REG_WAIT(OTG_CONTROL,
407 OTG_CURRENT_MASTER_EN_STATE,
408 1, 10, 5000);
409
410 /* accessing master OTG registers */
411 optc1 = DCN10TG_FROM_TG(optc_master);
412
413 /* disable the XY point*/
414 REG_UPDATE(OTG_GLOBAL_CONTROL1,
415 MASTER_UPDATE_LOCK_DB_EN, 0);
416 REG_UPDATE_2(OTG_GLOBAL_CONTROL1,
417 MASTER_UPDATE_LOCK_DB_X,
418 0,
419 MASTER_UPDATE_LOCK_DB_Y,
420 0);
421
422 /*restore master update lock*/
423 REG_SET(OTG_MASTER_UPDATE_LOCK, 0,
424 OTG_MASTER_UPDATE_LOCK, master_update_lock);
425
426 /* accessing slave OTG registers */
427 optc1 = DCN10TG_FROM_TG(optc_slave);
428 /* restore slave to be controlled by it's own */
429 REG_SET(OTG_GLOBAL_CONTROL0, 0,
430 OTG_MASTER_UPDATE_LOCK_SEL, optc_slave->inst);
431
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
10 months
[chenxing:msc313_mainlining 40/69] drivers/pinctrl/mstar/pinctrl-msc313-pm.c:35:27: warning: unused variable 'pm_uart_groups'
by kernel test robot
Hi Daniel,
First bad commit (maybe != root cause):
tree: git://github.com/linux-chenxing/linux.git msc313_mainlining
head: df6df62e60f3a32773b02a41e0d6a4e0f2b353b5
commit: baf52d9889a05e4a516eb56f326b4e6525dc0fa8 [40/69] pinctrl: mstar: msc313 pinctrl driver
config: riscv-randconfig-r002-20211120 (attached as .config)
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
# install riscv cross compiling tool for clang build
# apt-get install binutils-riscv64-linux-gnu
# https://github.com/linux-chenxing/linux/commit/baf52d9889a05e4a516eb56f32...
git remote add chenxing git://github.com/linux-chenxing/linux.git
git fetch --no-tags chenxing msc313_mainlining
git checkout baf52d9889a05e4a516eb56f326b4e6525dc0fa8
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 ARCH=riscv
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All warnings (new ones prefixed by >>):
>> drivers/pinctrl/mstar/pinctrl-msc313-pm.c:35:27: warning: unused variable 'pm_uart_groups' [-Wunused-const-variable]
static const char * const pm_uart_groups[] = {
^
>> drivers/pinctrl/mstar/pinctrl-msc313-pm.c:39:27: warning: unused variable 'pm_spi_groups' [-Wunused-const-variable]
static const char * const pm_spi_groups[] = {
^
>> drivers/pinctrl/mstar/pinctrl-msc313-pm.c:43:27: warning: unused variable 'pm_irin_groups' [-Wunused-const-variable]
static const char * const pm_irin_groups[] = {
^
3 warnings generated.
vim +/pm_uart_groups +35 drivers/pinctrl/mstar/pinctrl-msc313-pm.c
c4e1ce29f34995 Daniel Palmer 2021-01-10 34
c4e1ce29f34995 Daniel Palmer 2021-01-10 @35 static const char * const pm_uart_groups[] = {
c4e1ce29f34995 Daniel Palmer 2021-01-10 36 GROUPNAME_PM_UART,
c4e1ce29f34995 Daniel Palmer 2021-01-10 37 };
c4e1ce29f34995 Daniel Palmer 2021-01-10 38
c4e1ce29f34995 Daniel Palmer 2021-01-10 @39 static const char * const pm_spi_groups[] = {
c4e1ce29f34995 Daniel Palmer 2021-01-10 40 GROUPNAME_PM_SPI,
c4e1ce29f34995 Daniel Palmer 2021-01-10 41 };
c4e1ce29f34995 Daniel Palmer 2021-01-10 42
c4e1ce29f34995 Daniel Palmer 2021-01-10 @43 static const char * const pm_irin_groups[] = {
c4e1ce29f34995 Daniel Palmer 2021-01-10 44 GROUPNAME_PM_IRIN,
c4e1ce29f34995 Daniel Palmer 2021-01-10 45 };
c4e1ce29f34995 Daniel Palmer 2021-01-10 46
:::::: The code at line 35 was first introduced by commit
:::::: c4e1ce29f349954fb2dbcae8047330e375dbbae1 pinctrl: mstar: msc313 pm pinctrl driver
:::::: TO: Daniel Palmer <daniel(a)0x0f.com>
:::::: CC: Daniel Palmer <daniel(a)0x0f.com>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
10 months
[android-common:android12-5.10-2021-09 10732/10852] kernel/sched/pelt.c:35:5: warning: no previous prototype for function 'get_pelt_halflife'
by kernel test robot
Hi JianMin,
FYI, the error/warning still remains.
tree: https://android.googlesource.com/kernel/common android12-5.10-2021-09
head: cac628d5320f43641e9fb9285d972060b61ca2de
commit: 1efc36b815769cb8c7dae1d53373b190c017f5d1 [10732/10852] ANDROID: sched: add a helper function to change PELT half-life
config: x86_64-randconfig-r033-20210928 (attached as .config)
compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project dc6e8dfdfe7efecfda318d43a06fae18b40eb498)
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
git remote add android-common https://android.googlesource.com/kernel/common
git fetch --no-tags android-common android12-5.10-2021-09
git checkout 1efc36b815769cb8c7dae1d53373b190c017f5d1
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 ARCH=x86_64
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All warnings (new ones prefixed by >>):
>> kernel/sched/pelt.c:35:5: warning: no previous prototype for function 'get_pelt_halflife' [-Wmissing-prototypes]
int get_pelt_halflife(void)
^
kernel/sched/pelt.c:35:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
int get_pelt_halflife(void)
^
static
>> kernel/sched/pelt.c:68:5: warning: no previous prototype for function 'set_pelt_halflife' [-Wmissing-prototypes]
int set_pelt_halflife(int num)
^
kernel/sched/pelt.c:68:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
int set_pelt_halflife(int num)
^
static
2 warnings generated.
vim +/get_pelt_halflife +35 kernel/sched/pelt.c
34
> 35 int get_pelt_halflife(void)
36 {
37 return pelt_load_avg_period;
38 }
39 EXPORT_SYMBOL_GPL(get_pelt_halflife);
40
41 static int __set_pelt_halflife(void *data)
42 {
43 int rc = 0;
44 int num = *(int *)data;
45
46 switch (num) {
47 case PELT8_LOAD_AVG_PERIOD:
48 pelt_load_avg_period = PELT8_LOAD_AVG_PERIOD;
49 pelt_load_avg_max = PELT8_LOAD_AVG_MAX;
50 pelt_runnable_avg_yN_inv = pelt8_runnable_avg_yN_inv;
51 pr_info("PELT half life is set to %dms\n", num);
52 break;
53 case PELT32_LOAD_AVG_PERIOD:
54 pelt_load_avg_period = PELT32_LOAD_AVG_PERIOD;
55 pelt_load_avg_max = PELT32_LOAD_AVG_MAX;
56 pelt_runnable_avg_yN_inv = pelt32_runnable_avg_yN_inv;
57 pr_info("PELT half life is set to %dms\n", num);
58 break;
59 default:
60 rc = -EINVAL;
61 pr_err("Failed to set PELT half life to %dms, the current value is %dms\n",
62 num, pelt_load_avg_period);
63 }
64
65 return rc;
66 }
67
> 68 int set_pelt_halflife(int num)
69 {
70 return stop_machine(__set_pelt_halflife, &num, NULL);
71 }
72 EXPORT_SYMBOL_GPL(set_pelt_halflife);
73
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
10 months
Re: [PATCH 1/2] watchdog: Add watchdog driver for Sunplus SP7021
by kernel test robot
Hi Xiantao,
I love your patch! Perhaps something to improve:
[auto build test WARNING on pza/reset/next]
[also build test WARNING on robh/for-next linux/master linus/master v5.16-rc1 next-20211118]
[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/Xiantao-Hu/Add-watchdog-driver-f...
base: https://git.pengutronix.de/git/pza/linux reset/next
config: arm64-randconfig-r023-20211115 (attached as .config)
compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project fbe72e41b99dc7994daac300d208a955be3e4a0a)
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
# install arm64 cross compiling tool for clang build
# apt-get install binutils-aarch64-linux-gnu
# https://github.com/0day-ci/linux/commit/eac808eeed4a851ca5cfef12adefd6df1...
git remote add linux-review https://github.com/0day-ci/linux
git fetch --no-tags linux-review Xiantao-Hu/Add-watchdog-driver-for-Sunplus-SP7021-SoC/20211112-191201
git checkout eac808eeed4a851ca5cfef12adefd6df199f62c2
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 ARCH=arm64
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All warnings (new ones prefixed by >>):
>> drivers/watchdog/sunplus_wdt.c:191:27: warning: variable 'clk' is uninitialized when used here [-Wuninitialized]
err = clk_prepare_enable(clk);
^~~
drivers/watchdog/sunplus_wdt.c:178:17: note: initialize the variable 'clk' to silence this warning
struct clk *clk;
^
= NULL
1 warning generated.
vim +/clk +191 drivers/watchdog/sunplus_wdt.c
172
173 static int sp_wdt_probe(struct platform_device *pdev)
174 {
175 struct device *dev = &pdev->dev;
176 struct sp_wdt_priv *priv;
177 struct resource *wdt_res;
178 struct clk *clk;
179 int err;
180
181 priv = devm_kzalloc(dev, sizeof(*priv), GFP_KERNEL);
182 if (!priv)
183 return -ENOMEM;
184
185 priv->clk = devm_clk_get(dev, NULL);
186 if (IS_ERR(priv->clk)) {
187 dev_err(dev, "Can't find clock source\n");
188 return PTR_ERR(priv->clk);
189 }
190
> 191 err = clk_prepare_enable(clk);
192 if (err) {
193 dev_err(dev, "Clock can't be enabled correctly\n");
194 return err;
195 }
196
197 priv->rstc = devm_reset_control_get_exclusive(dev, NULL);
198 if (!IS_ERR(priv->rstc))
199 reset_control_deassert(priv->rstc);
200
201 platform_set_drvdata(pdev, priv);
202
203 priv->base = devm_platform_ioremap_resource(pdev, 0);
204 if (IS_ERR(priv->base))
205 return PTR_ERR(priv->base);
206
207 wdt_res = platform_get_resource(pdev, IORESOURCE_MEM, 1);
208 priv->miscellaneous =
209 devm_ioremap(dev, wdt_res->start, resource_size(wdt_res));
210 if (IS_ERR(priv->miscellaneous))
211 return PTR_ERR(priv->miscellaneous);
212
213 priv->wdev.info = &sp_wdt_info;
214 priv->wdev.ops = &sp_wdt_ops;
215 priv->wdev.timeout = SP_WDT_MAX_TIMEOUT;
216 priv->wdev.max_timeout = SP_WDT_MAX_TIMEOUT;
217 priv->wdev.min_timeout = SP_WDT_MIN_TIMEOUT;
218 priv->wdev.parent = dev;
219
220 watchdog_set_drvdata(&priv->wdev, priv);
221 sp_wdt_hw_init(&priv->wdev);
222
223 watchdog_init_timeout(&priv->wdev, timeout, dev);
224 watchdog_set_nowayout(&priv->wdev, nowayout);
225 watchdog_stop_on_reboot(&priv->wdev);
226
227 err = devm_watchdog_register_device(dev, &priv->wdev);
228 if (unlikely(err))
229 return err;
230
231 dev_info(dev, "Watchdog enabled (timeout=%d sec%s.)\n",
232 priv->wdev.timeout, nowayout ? ", nowayout" : "");
233
234 return 0;
235 }
236
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
10 months
dtbs_check: arch/arm/boot/dts/bcm47189-luxul-xap-1440.dt.yaml: mpcore@18310000: $nodename:0: 'mpcore@18310000' does not match '^([a-z][a-z0-9\-]+-bus|bus|soc|axi|ahb|apb)(@[0-9a-f]+)?$'
by kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 9539ba4308ad5bdca6cb41c7b73cbb9f796dcdd7
commit: a7b4dba9a71d64e07fbc9802bbc1eaad5494f071 dt-bindings: phy: exynos: add the samsung,exynos-pcie-phy binding
date: 12 months ago
compiler: arm-linux-gnueabi-gcc (GCC) 11.2.0
reproduce: make ARCH=arm dtbs_check
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
dtcheck warnings: (new ones prefixed by >>)
arch/arm/boot/dts/bcm47189-luxul-xap-1440.dt.yaml: mpcore@18310000: $nodename:0: 'mpcore@18310000' does not match '^([a-z][a-z0-9\\-]+-bus|bus|soc|axi|ahb|apb)(@[0-9a-f]+)?$'
From schema: /usr/local/lib/python3.9/dist-packages/dtschema/schemas/simple-bus.yaml
arch/arm/boot/dts/bcm47189-luxul-xap-1440.dt.yaml: chipcommon@0: $nodename:0: 'chipcommon@0' does not match '^([a-z][a-z0-9\\-]+-bus|bus|soc|axi|ahb|apb)(@[0-9a-f]+)?$'
From schema: /usr/local/lib/python3.9/dist-packages/dtschema/schemas/simple-bus.yaml
>> arch/arm/boot/dts/bcm47189-luxul-xap-1440.dt.yaml: pcie@2000: 'device_type' is a required property
From schema: /usr/local/lib/python3.9/dist-packages/dtschema/schemas/pci/pci-bus.yaml
>> arch/arm/boot/dts/bcm47189-luxul-xap-1440.dt.yaml: pcie@2000: 'ranges' is a required property
From schema: /usr/local/lib/python3.9/dist-packages/dtschema/schemas/pci/pci-bus.yaml
>> arch/arm/boot/dts/bcm47189-luxul-xap-1440.dt.yaml: pcie@2000: '#address-cells' is a required property
From schema: /usr/local/lib/python3.9/dist-packages/dtschema/schemas/pci/pci-bus.yaml
>> arch/arm/boot/dts/bcm47189-luxul-xap-1440.dt.yaml: pcie@2000: '#size-cells' is a required property
From schema: /usr/local/lib/python3.9/dist-packages/dtschema/schemas/pci/pci-bus.yaml
arch/arm/boot/dts/bcm47189-luxul-xap-1440.dt.yaml: ehci@4000: $nodename:0: 'ehci@4000' does not match '^usb(@.*)?'
From schema: Documentation/devicetree/bindings/usb/generic-ehci.yaml
arch/arm/boot/dts/bcm47189-luxul-xap-1440.dt.yaml: ehci@4000: '#address-cells', '#size-cells', 'port@1', 'port@2' do not match any of the regexes: 'pinctrl-[0-9]+'
From schema: Documentation/devicetree/bindings/usb/generic-ehci.yaml
arch/arm/boot/dts/bcm47189-luxul-xap-1440.dt.yaml: ohci@d000: $nodename:0: 'ohci@d000' does not match '^usb(@.*)?'
From schema: Documentation/devicetree/bindings/usb/generic-ohci.yaml
arch/arm/boot/dts/bcm47189-luxul-xap-1440.dt.yaml: ohci@d000: '#address-cells', '#size-cells', '#usb-cells', 'port@1', 'port@2' do not match any of the regexes: 'pinctrl-[0-9]+'
From schema: Documentation/devicetree/bindings/usb/generic-ohci.yaml
>> arch/arm/boot/dts/bcm47189-luxul-xap-1440.dt.yaml: leds: 'system', 'wlan' do not match any of the regexes: '(^led-[0-9a-f]$|led)', 'pinctrl-[0-9]+'
From schema: Documentation/devicetree/bindings/leds/leds-gpio.yaml
schemas/input/input.yaml: ignoring, error in schema: properties: power-off-time-sec
Traceback (most recent call last):
File "/usr/local/bin/dt-validate", line 164, in <module>
sg.check_trees(filename, testtree)
File "/usr/local/bin/dt-validate", line 113, in check_trees
self.check_subtree(dt, subtree, "/", "/", filename)
File "/usr/local/bin/dt-validate", line 104, in check_subtree
self.check_subtree(tree, value, name, fullname + name, filename)
File "/usr/local/bin/dt-validate", line 99, in check_subtree
--
arch/arm/boot/dts/bcm47189-luxul-xap-810.dt.yaml: mpcore@18310000: $nodename:0: 'mpcore@18310000' does not match '^([a-z][a-z0-9\\-]+-bus|bus|soc|axi|ahb|apb)(@[0-9a-f]+)?$'
From schema: /usr/local/lib/python3.9/dist-packages/dtschema/schemas/simple-bus.yaml
arch/arm/boot/dts/bcm47189-luxul-xap-810.dt.yaml: chipcommon@0: $nodename:0: 'chipcommon@0' does not match '^([a-z][a-z0-9\\-]+-bus|bus|soc|axi|ahb|apb)(@[0-9a-f]+)?$'
From schema: /usr/local/lib/python3.9/dist-packages/dtschema/schemas/simple-bus.yaml
>> arch/arm/boot/dts/bcm47189-luxul-xap-810.dt.yaml: pcie@2000: ranges: 'oneOf' conditional failed, one must be fixed:
>> arch/arm/boot/dts/bcm47189-luxul-xap-810.dt.yaml: pcie@2000: ranges: 'oneOf' conditional failed, one must be fixed:
[[0, 0, 0, 0, 0, 1048576]] is not of type 'boolean'
True was expected
[[0, 0, 0, 0, 0, 1048576]] is not of type 'null'
0 is not one of [16777216, 33554432, 50331648, 1107296256, 1124073472, 2164260864, 2181038080, 2197815296, 3254779904, 3271557120]
From schema: /usr/local/lib/python3.9/dist-packages/dtschema/schemas/pci/pci-bus.yaml
arch/arm/boot/dts/bcm47189-luxul-xap-810.dt.yaml: pcie@2000: 'device_type' is a required property
From schema: /usr/local/lib/python3.9/dist-packages/dtschema/schemas/pci/pci-bus.yaml
arch/arm/boot/dts/bcm47189-luxul-xap-810.dt.yaml: ehci@4000: $nodename:0: 'ehci@4000' does not match '^usb(@.*)?'
From schema: Documentation/devicetree/bindings/usb/generic-ehci.yaml
arch/arm/boot/dts/bcm47189-luxul-xap-810.dt.yaml: ehci@4000: '#address-cells', '#size-cells', 'port@1', 'port@2' do not match any of the regexes: 'pinctrl-[0-9]+'
From schema: Documentation/devicetree/bindings/usb/generic-ehci.yaml
arch/arm/boot/dts/bcm47189-luxul-xap-810.dt.yaml: ohci@d000: $nodename:0: 'ohci@d000' does not match '^usb(@.*)?'
From schema: Documentation/devicetree/bindings/usb/generic-ohci.yaml
arch/arm/boot/dts/bcm47189-luxul-xap-810.dt.yaml: ohci@d000: '#address-cells', '#size-cells', '#usb-cells', 'port@1', 'port@2' do not match any of the regexes: 'pinctrl-[0-9]+'
From schema: Documentation/devicetree/bindings/usb/generic-ohci.yaml
>> arch/arm/boot/dts/bcm47189-luxul-xap-810.dt.yaml: leds: '5ghz', 'system' do not match any of the regexes: '(^led-[0-9a-f]$|led)', 'pinctrl-[0-9]+'
From schema: Documentation/devicetree/bindings/leds/leds-gpio.yaml
arch/arm/boot/dts/bcm47189-luxul-xap-810.dt.yaml: leds: '5ghz' does not match any of the regexes: '.*-names$', '.*-supply$', '^#.*-cells$', '^#[a-zA-Z0-9,+\\-._]{0,63}$', '^[a-zA-Z][a-zA-Z0-9,+\\-._]{0,63}$', '^[a-zA-Z][a-zA-Z0-9,+\\-._]{0,63}@[0-9a-fA-F]+(,[0-9a-fA-F]+)*$', '^__.*__$', 'pinctrl-[0-9]+'
From schema: /usr/local/lib/python3.9/dist-packages/dtschema/schemas/dt-core.yaml
>> arch/arm/boot/dts/bcm47189-luxul-xap-810.dt.yaml: pcie0_leds: '2ghz' does not match any of the regexes: '(^led-[0-9a-f]$|led)', 'pinctrl-[0-9]+'
From schema: Documentation/devicetree/bindings/leds/leds-gpio.yaml
arch/arm/boot/dts/bcm47189-luxul-xap-810.dt.yaml: pcie0_leds: '2ghz' does not match any of the regexes: '.*-names$', '.*-supply$', '^#.*-cells$', '^#[a-zA-Z0-9,+\\-._]{0,63}$', '^[a-zA-Z][a-zA-Z0-9,+\\-._]{0,63}$', '^[a-zA-Z][a-zA-Z0-9,+\\-._]{0,63}@[0-9a-fA-F]+(,[0-9a-fA-F]+)*$', '^__.*__$', 'pinctrl-[0-9]+'
From schema: /usr/local/lib/python3.9/dist-packages/dtschema/schemas/dt-core.yaml
schemas/input/input.yaml: ignoring, error in schema: properties: power-off-time-sec
Traceback (most recent call last):
File "/usr/local/bin/dt-validate", line 164, in <module>
sg.check_trees(filename, testtree)
File "/usr/local/bin/dt-validate", line 113, in check_trees
self.check_subtree(dt, subtree, "/", "/", filename)
File "/usr/local/bin/dt-validate", line 104, in check_subtree
--
arch/arm/boot/dts/bcm47189-tenda-ac9.dt.yaml: mpcore@18310000: $nodename:0: 'mpcore@18310000' does not match '^([a-z][a-z0-9\\-]+-bus|bus|soc|axi|ahb|apb)(@[0-9a-f]+)?$'
From schema: /usr/local/lib/python3.9/dist-packages/dtschema/schemas/simple-bus.yaml
arch/arm/boot/dts/bcm47189-tenda-ac9.dt.yaml: chipcommon@0: $nodename:0: 'chipcommon@0' does not match '^([a-z][a-z0-9\\-]+-bus|bus|soc|axi|ahb|apb)(@[0-9a-f]+)?$'
From schema: /usr/local/lib/python3.9/dist-packages/dtschema/schemas/simple-bus.yaml
>> arch/arm/boot/dts/bcm47189-tenda-ac9.dt.yaml: pcie@2000: ranges: 'oneOf' conditional failed, one must be fixed:
>> arch/arm/boot/dts/bcm47189-tenda-ac9.dt.yaml: pcie@2000: ranges: 'oneOf' conditional failed, one must be fixed:
[[0, 0, 0, 0, 0, 1048576]] is not of type 'boolean'
True was expected
[[0, 0, 0, 0, 0, 1048576]] is not of type 'null'
0 is not one of [16777216, 33554432, 50331648, 1107296256, 1124073472, 2164260864, 2181038080, 2197815296, 3254779904, 3271557120]
From schema: /usr/local/lib/python3.9/dist-packages/dtschema/schemas/pci/pci-bus.yaml
>> arch/arm/boot/dts/bcm47189-tenda-ac9.dt.yaml: pcie@2000: 'device_type' is a required property
From schema: /usr/local/lib/python3.9/dist-packages/dtschema/schemas/pci/pci-bus.yaml
arch/arm/boot/dts/bcm47189-tenda-ac9.dt.yaml: ehci@4000: $nodename:0: 'ehci@4000' does not match '^usb(@.*)?'
From schema: Documentation/devicetree/bindings/usb/generic-ehci.yaml
arch/arm/boot/dts/bcm47189-tenda-ac9.dt.yaml: ehci@4000: '#address-cells', '#size-cells', 'port@1', 'port@2' do not match any of the regexes: 'pinctrl-[0-9]+'
From schema: Documentation/devicetree/bindings/usb/generic-ehci.yaml
arch/arm/boot/dts/bcm47189-tenda-ac9.dt.yaml: ohci@d000: $nodename:0: 'ohci@d000' does not match '^usb(@.*)?'
From schema: Documentation/devicetree/bindings/usb/generic-ohci.yaml
arch/arm/boot/dts/bcm47189-tenda-ac9.dt.yaml: ohci@d000: '#address-cells', '#size-cells', '#usb-cells', 'port@1', 'port@2' do not match any of the regexes: 'pinctrl-[0-9]+'
From schema: Documentation/devicetree/bindings/usb/generic-ohci.yaml
>> arch/arm/boot/dts/bcm47189-tenda-ac9.dt.yaml: leds: '5ghz', 'system', 'usb', 'wps' do not match any of the regexes: '(^led-[0-9a-f]$|led)', 'pinctrl-[0-9]+'
From schema: Documentation/devicetree/bindings/leds/leds-gpio.yaml
arch/arm/boot/dts/bcm47189-tenda-ac9.dt.yaml: leds: '5ghz' does not match any of the regexes: '.*-names$', '.*-supply$', '^#.*-cells$', '^#[a-zA-Z0-9,+\\-._]{0,63}$', '^[a-zA-Z][a-zA-Z0-9,+\\-._]{0,63}$', '^[a-zA-Z][a-zA-Z0-9,+\\-._]{0,63}@[0-9a-fA-F]+(,[0-9a-fA-F]+)*$', '^__.*__$', 'pinctrl-[0-9]+'
From schema: /usr/local/lib/python3.9/dist-packages/dtschema/schemas/dt-core.yaml
>> arch/arm/boot/dts/bcm47189-tenda-ac9.dt.yaml: pcie0_leds: '2ghz' does not match any of the regexes: '(^led-[0-9a-f]$|led)', 'pinctrl-[0-9]+'
From schema: Documentation/devicetree/bindings/leds/leds-gpio.yaml
arch/arm/boot/dts/bcm47189-tenda-ac9.dt.yaml: pcie0_leds: '2ghz' does not match any of the regexes: '.*-names$', '.*-supply$', '^#.*-cells$', '^#[a-zA-Z0-9,+\\-._]{0,63}$', '^[a-zA-Z][a-zA-Z0-9,+\\-._]{0,63}$', '^[a-zA-Z][a-zA-Z0-9,+\\-._]{0,63}@[0-9a-fA-F]+(,[0-9a-fA-F]+)*$', '^__.*__$', 'pinctrl-[0-9]+'
From schema: /usr/local/lib/python3.9/dist-packages/dtschema/schemas/dt-core.yaml
schemas/input/input.yaml: ignoring, error in schema: properties: power-off-time-sec
Traceback (most recent call last):
File "/usr/local/bin/dt-validate", line 164, in <module>
sg.check_trees(filename, testtree)
File "/usr/local/bin/dt-validate", line 113, in check_trees
self.check_subtree(dt, subtree, "/", "/", filename)
File "/usr/local/bin/dt-validate", line 104, in check_subtree
--
arch/arm/boot/dts/bcm947189acdbmr.dt.yaml: mpcore@18310000: $nodename:0: 'mpcore@18310000' does not match '^([a-z][a-z0-9\\-]+-bus|bus|soc|axi|ahb|apb)(@[0-9a-f]+)?$'
From schema: /usr/local/lib/python3.9/dist-packages/dtschema/schemas/simple-bus.yaml
arch/arm/boot/dts/bcm947189acdbmr.dt.yaml: chipcommon@0: $nodename:0: 'chipcommon@0' does not match '^([a-z][a-z0-9\\-]+-bus|bus|soc|axi|ahb|apb)(@[0-9a-f]+)?$'
From schema: /usr/local/lib/python3.9/dist-packages/dtschema/schemas/simple-bus.yaml
>> arch/arm/boot/dts/bcm947189acdbmr.dt.yaml: pcie@2000: ranges: 'oneOf' conditional failed, one must be fixed:
>> arch/arm/boot/dts/bcm947189acdbmr.dt.yaml: pcie@2000: ranges: 'oneOf' conditional failed, one must be fixed:
[[0, 0, 0, 0, 0, 1048576]] is not of type 'boolean'
True was expected
[[0, 0, 0, 0, 0, 1048576]] is not of type 'null'
0 is not one of [16777216, 33554432, 50331648, 1107296256, 1124073472, 2164260864, 2181038080, 2197815296, 3254779904, 3271557120]
From schema: /usr/local/lib/python3.9/dist-packages/dtschema/schemas/pci/pci-bus.yaml
>> arch/arm/boot/dts/bcm947189acdbmr.dt.yaml: pcie@2000: 'device_type' is a required property
From schema: /usr/local/lib/python3.9/dist-packages/dtschema/schemas/pci/pci-bus.yaml
arch/arm/boot/dts/bcm947189acdbmr.dt.yaml: ehci@4000: $nodename:0: 'ehci@4000' does not match '^usb(@.*)?'
From schema: Documentation/devicetree/bindings/usb/generic-ehci.yaml
arch/arm/boot/dts/bcm947189acdbmr.dt.yaml: ehci@4000: '#address-cells', '#size-cells', 'port@1', 'port@2' do not match any of the regexes: 'pinctrl-[0-9]+'
From schema: Documentation/devicetree/bindings/usb/generic-ehci.yaml
arch/arm/boot/dts/bcm947189acdbmr.dt.yaml: ohci@d000: $nodename:0: 'ohci@d000' does not match '^usb(@.*)?'
From schema: Documentation/devicetree/bindings/usb/generic-ohci.yaml
arch/arm/boot/dts/bcm947189acdbmr.dt.yaml: ohci@d000: '#address-cells', '#size-cells', '#usb-cells', 'port@1', 'port@2' do not match any of the regexes: 'pinctrl-[0-9]+'
From schema: Documentation/devicetree/bindings/usb/generic-ohci.yaml
>> arch/arm/boot/dts/bcm947189acdbmr.dt.yaml: leds: '2ghz', '5ghz', 'wps' do not match any of the regexes: '(^led-[0-9a-f]$|led)', 'pinctrl-[0-9]+'
From schema: Documentation/devicetree/bindings/leds/leds-gpio.yaml
arch/arm/boot/dts/bcm947189acdbmr.dt.yaml: leds: '2ghz', '5ghz' do not match any of the regexes: '.*-names$', '.*-supply$', '^#.*-cells$', '^#[a-zA-Z0-9,+\\-._]{0,63}$', '^[a-zA-Z][a-zA-Z0-9,+\\-._]{0,63}$', '^[a-zA-Z][a-zA-Z0-9,+\\-._]{0,63}@[0-9a-fA-F]+(,[0-9a-fA-F]+)*$', '^__.*__$', 'pinctrl-[0-9]+'
From schema: /usr/local/lib/python3.9/dist-packages/dtschema/schemas/dt-core.yaml
schemas/input/input.yaml: ignoring, error in schema: properties: power-off-time-sec
Traceback (most recent call last):
File "/usr/local/bin/dt-validate", line 164, in <module>
sg.check_trees(filename, testtree)
File "/usr/local/bin/dt-validate", line 113, in check_trees
self.check_subtree(dt, subtree, "/", "/", filename)
File "/usr/local/bin/dt-validate", line 104, in check_subtree
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
10 months
Re: [PATCH nf-next] netfilter: conntrack: configurable conntrack gc scan interval
by kernel test robot
Hi Eyal,
Thank you for the patch! Perhaps something to improve:
[auto build test WARNING on nf-next/master]
url: https://github.com/0day-ci/linux/commits/Eyal-Birger/netfilter-conntrack-...
base: https://git.kernel.org/pub/scm/linux/kernel/git/pablo/nf-next.git master
config: hexagon-randconfig-r045-20211121 (attached as .config)
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/2e10f30e82a92d09c72cfcd3e659cd239...
git remote add linux-review https://github.com/0day-ci/linux
git fetch --no-tags linux-review Eyal-Birger/netfilter-conntrack-configurable-conntrack-gc-scan-interval/20211121-022522
git checkout 2e10f30e82a92d09c72cfcd3e659cd2395bf3e3e
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 ARCH=hexagon
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All warnings (new ones prefixed by >>):
>> net/netfilter/nf_conntrack_core.c:1427:27: warning: comparison of distinct pointer types ('typeof (nf_conntrack_gc_scan_interval) *' (aka 'unsigned int *') and 'typeof (300) *' (aka 'int *')) [-Wcompare-distinct-pointer-types]
unsigned long next_run = max(nf_conntrack_gc_scan_interval, HZ);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
include/linux/minmax.h:52:19: note: expanded from macro 'max'
#define max(x, y) __careful_cmp(x, y, >)
^~~~~~~~~~~~~~~~~~~~~~
include/linux/minmax.h:36:24: note: expanded from macro '__careful_cmp'
__builtin_choose_expr(__safe_cmp(x, y), \
^~~~~~~~~~~~~~~~
include/linux/minmax.h:26:4: note: expanded from macro '__safe_cmp'
(__typecheck(x, y) && __no_side_effects(x, y))
^~~~~~~~~~~~~~~~~
include/linux/minmax.h:20:28: note: expanded from macro '__typecheck'
(!!(sizeof((typeof(x) *)1 == (typeof(y) *)1)))
~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~
1 warning generated.
vim +1427 net/netfilter/nf_conntrack_core.c
1422
1423 static void gc_worker(struct work_struct *work)
1424 {
1425 unsigned long end_time = jiffies + GC_SCAN_MAX_DURATION;
1426 unsigned int i, hashsz, nf_conntrack_max95 = 0;
> 1427 unsigned long next_run = max(nf_conntrack_gc_scan_interval, HZ);
1428 struct conntrack_gc_work *gc_work;
1429 gc_work = container_of(work, struct conntrack_gc_work, dwork.work);
1430
1431 i = gc_work->next_bucket;
1432 if (gc_work->early_drop)
1433 nf_conntrack_max95 = nf_conntrack_max / 100u * 95u;
1434
1435 do {
1436 struct nf_conntrack_tuple_hash *h;
1437 struct hlist_nulls_head *ct_hash;
1438 struct hlist_nulls_node *n;
1439 struct nf_conn *tmp;
1440
1441 rcu_read_lock();
1442
1443 nf_conntrack_get_ht(&ct_hash, &hashsz);
1444 if (i >= hashsz) {
1445 rcu_read_unlock();
1446 break;
1447 }
1448
1449 hlist_nulls_for_each_entry_rcu(h, n, &ct_hash[i], hnnode) {
1450 struct nf_conntrack_net *cnet;
1451 struct net *net;
1452
1453 tmp = nf_ct_tuplehash_to_ctrack(h);
1454
1455 if (test_bit(IPS_OFFLOAD_BIT, &tmp->status)) {
1456 nf_ct_offload_timeout(tmp);
1457 continue;
1458 }
1459
1460 if (nf_ct_is_expired(tmp)) {
1461 nf_ct_gc_expired(tmp);
1462 continue;
1463 }
1464
1465 if (nf_conntrack_max95 == 0 || gc_worker_skip_ct(tmp))
1466 continue;
1467
1468 net = nf_ct_net(tmp);
1469 cnet = nf_ct_pernet(net);
1470 if (atomic_read(&cnet->count) < nf_conntrack_max95)
1471 continue;
1472
1473 /* need to take reference to avoid possible races */
1474 if (!atomic_inc_not_zero(&tmp->ct_general.use))
1475 continue;
1476
1477 if (gc_worker_skip_ct(tmp)) {
1478 nf_ct_put(tmp);
1479 continue;
1480 }
1481
1482 if (gc_worker_can_early_drop(tmp))
1483 nf_ct_kill(tmp);
1484
1485 nf_ct_put(tmp);
1486 }
1487
1488 /* could check get_nulls_value() here and restart if ct
1489 * was moved to another chain. But given gc is best-effort
1490 * we will just continue with next hash slot.
1491 */
1492 rcu_read_unlock();
1493 cond_resched();
1494 i++;
1495
1496 if (time_after(jiffies, end_time) && i < hashsz) {
1497 gc_work->next_bucket = i;
1498 next_run = 0;
1499 break;
1500 }
1501 } while (i < hashsz);
1502
1503 if (gc_work->exiting)
1504 return;
1505
1506 /*
1507 * Eviction will normally happen from the packet path, and not
1508 * from this gc worker.
1509 *
1510 * This worker is only here to reap expired entries when system went
1511 * idle after a busy period.
1512 */
1513 if (next_run) {
1514 gc_work->early_drop = false;
1515 gc_work->next_bucket = 0;
1516 }
1517 queue_delayed_work(system_power_efficient_wq, &gc_work->dwork, next_run);
1518 }
1519
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
10 months
Re: New products updating of vanity
by sales@cosyhomecabinet.me
Hi
[随机名言名句]_X^^NNWdoHKZjpWke`\]hCjTWKRI^bWWFJFPYXDJlZ[OLhpFaI
Glad to hear that you're on the market for vanity.
This is Rose from cosyhome Company in China. We specialized in vanity for many years, and hope to find a way to cooperate with you!
Please find the pictures with models and different packaging in email. An American guy purchased this model in BIG quantity last year.
FREE SAMPLES can be sent on request. reply me, let's talk more!
Thanks and best regards,
vanity
cosyhome Company
https://cosyhomeco.com
https://cosyhomeco.com
If you are not interested in our products and services, you can unsubscribed our email and you will no longer receive similar email notifications.
10 months
[android-common:android12-5.10-2021-09 1944/10852] kernel/cpu.c:1098:5: warning: no previous prototype for function '__pause_drain_rq'
by kernel test robot
Hi Vincent,
FYI, the error/warning still remains.
tree: https://android.googlesource.com/kernel/common android12-5.10-2021-09
head: cac628d5320f43641e9fb9285d972060b61ca2de
commit: e19b8ce907a4ccc2f9dbeba218c50d1ff07fd321 [1944/10852] ANDROID: cpu/hotplug: add migration to paused_cpus
config: x86_64-randconfig-r033-20210928 (attached as .config)
compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project dc6e8dfdfe7efecfda318d43a06fae18b40eb498)
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
git remote add android-common https://android.googlesource.com/kernel/common
git fetch --no-tags android-common android12-5.10-2021-09
git checkout e19b8ce907a4ccc2f9dbeba218c50d1ff07fd321
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 ARCH=x86_64
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All warnings (new ones prefixed by >>):
>> kernel/cpu.c:1098:5: warning: no previous prototype for function '__pause_drain_rq' [-Wmissing-prototypes]
int __pause_drain_rq(struct cpumask *cpus)
^
kernel/cpu.c:1098:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
int __pause_drain_rq(struct cpumask *cpus)
^
static
>> kernel/cpu.c:1118:6: warning: no previous prototype for function '__wait_drain_rq' [-Wmissing-prototypes]
void __wait_drain_rq(struct cpumask *cpus)
^
kernel/cpu.c:1118:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
void __wait_drain_rq(struct cpumask *cpus)
^
static
2 warnings generated.
vim +/__pause_drain_rq +1098 kernel/cpu.c
1097
> 1098 int __pause_drain_rq(struct cpumask *cpus)
1099 {
1100 unsigned int cpu;
1101 int err = 0;
1102
1103 /*
1104 * Disabling preemption avoids that one of the stopper, started from
1105 * sched_cpu_drain_rq(), blocks firing draining for the whole cpumask.
1106 */
1107 preempt_disable();
1108 for_each_cpu(cpu, cpus) {
1109 err = sched_cpu_drain_rq(cpu);
1110 if (err)
1111 break;
1112 }
1113 preempt_enable();
1114
1115 return err;
1116 }
1117
> 1118 void __wait_drain_rq(struct cpumask *cpus)
1119 {
1120 unsigned int cpu;
1121
1122 for_each_cpu(cpu, cpus)
1123 sched_cpu_drain_rq_wait(cpu);
1124 }
1125
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
10 months