Skip to contentSkip to conversation

tty: Serialise racing tiocspgrp() callers

PATCH kernel test robot 1 participant 1 message Sep 1, 2023

lore
Share & tools
lore

kernel test robot

author build bot
#0 lore raw

::::::
:::::: Manual check reason: "checkpatch"
::::::

BCC: [email protected]
CC: [email protected]
In-Reply-To: <[email protected]>
References: <[email protected]>
TO: Earl Chew <[email protected]>
TO: [email protected]
TO: [email protected]
TO: [email protected]
CC: [email protected]
CC: [email protected]

Hi Earl,

kernel test robot noticed the following build warnings:

[auto build test WARNING on tty/tty-testing]
[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#_base_tree_information]

url:    https://github.com/intel-lab-lkp/linux/commits/Earl-Chew/tty-Serialise-racing-tiocspgrp-callers/20230901-095411
base:   https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty.git tty-testing
patch link:    https://lore.kernel.org/r/20230901015030.2469062-3-earl.chew%40yahoo.ca
patch subject: [PATCH 2/3] tty: Serialise racing tiocspgrp() callers

:::::: branch date: 3 hours ago
:::::: commit date: 3 hours ago
reproduce: (https://download.01.org/0day-ci/archive/20230901/[email protected]/reproduce)

If you fix the issue in a separate patch/commit (i.e. not just a new version of the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <[email protected]>
| Closes: https://lore.kernel.org/r/[email protected]/

# many are suggestions rather than must-fix

ERROR: Please use git commit description style 'commit <12+ chars of sha1> ("<title line>")' - ie: 'commit 47f86834bbd4 ("redo locking of tty->pgrp")' #8:
the introduction of tty->ctrl.lock in commit 47f86834bbd4
(redo locking of tty->pgrp), tiocspgrp() has acquired the

WARNING: Do not crash the kernel unless it is absolutely unavoidable--use WARN_ON_ONCE() plus recovery code (if feasible) instead of BUG() or variants #36: drivers/tty/tty_jobctrl.c:40:
+ BUG_ON(ctrl_lock && (

WARNING: Where possible, use lockdep_assert_held instead of assertions based on spin_is_locked #37: drivers/tty/tty_jobctrl.c:41:
+ ctrl_lock != &tty->ctrl.lock || !spin_is_locked(ctrl_lock)));

ERROR: code indent should use tabs where possible
#105: drivers/tty/tty_jobctrl.c:521:
+ }$

WARNING: please, no spaces at the start of a line
#105: drivers/tty/tty_jobctrl.c:521:
+ }$

Signature · 2 lines
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki