From: kbuild test robot <lkp@intel.com>
To: Andrzej Pietrasiewicz <andrzej.p@collabora.com>,
linux-input@vger.kernel.org, devicetree@vger.kernel.org
Cc: kbuild-all@lists.01.org,
Dmitry Torokhov <dmitry.torokhov@gmail.com>,
Rob Herring <robh+dt@kernel.org>,
Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
Jiri Slaby <jslaby@suse.com>,
andrzej.p@collabora.com, kernel@collabora.com
Subject: Re: [PATCH 5/6] tty/sysrq: Add configurable handler to signal a process
Date: Thu, 14 May 2020 17:06:58 +0800 [thread overview]
Message-ID: <202005141755.2qZ7upd6%lkp@intel.com> (raw)
In-Reply-To: <20200511135918.8203-6-andrzej.p@collabora.com>
[-- Attachment #1: Type: text/plain, Size: 2902 bytes --]
Hi Andrzej,
I love your patch! Yet something to improve:
[auto build test ERROR on 2ef96a5bb12be62ef75b5828c0aab838ebb29cb8]
url: https://github.com/0day-ci/linux/commits/Andrzej-Pietrasiewicz/Magic-SysRq-extensions/20200514-151142
base: 2ef96a5bb12be62ef75b5828c0aab838ebb29cb8
config: alpha-defconfig (attached as .config)
compiler: alpha-linux-gcc (GCC) 9.3.0
reproduce:
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day GCC_VERSION=9.3.0 make.cross ARCH=alpha
If you fix the issue, kindly add following tag as appropriate
Reported-by: kbuild test robot <lkp@intel.com>
All errors (new ones prefixed by >>, old ones prefixed by <<):
drivers/tty/sysrq.c: In function 'sysrq_str_to_signal':
>> drivers/tty/sysrq.c:791:17: error: 'SIGSTKFLT' undeclared (first use in this function); did you mean 'SIGSTKSZ'?
791 | {"SIGSTKFLT", SIGSTKFLT},
| ^~~~~~~~~
| SIGSTKSZ
drivers/tty/sysrq.c:791:17: note: each undeclared identifier is reported only once for each function it appears in
vim +791 drivers/tty/sysrq.c
771
772 static void sysrq_str_to_signal(void)
773 {
774 static const struct signal_search signals[] = {
775 {"SIGHUP", SIGHUP},
776 {"SIGINT", SIGINT},
777 {"SIGQUIT", SIGQUIT},
778 {"SIGILL", SIGILL},
779 {"SIGTRAP", SIGTRAP},
780 {"SIGABRT", SIGABRT},
781 {"SIGIOT", SIGIOT},
782 {"SIGBUS", SIGBUS},
783 {"SIGFPE", SIGFPE},
784 {"SIGKILL", SIGKILL},
785 {"SIGUSR1", SIGUSR1},
786 {"SIGSEGV", SIGSEGV},
787 {"SIGUSR2", SIGUSR2},
788 {"SIGPIPE", SIGPIPE},
789 {"SIGALRM", SIGALRM},
790 {"SIGTERM", SIGTERM},
> 791 {"SIGSTKFLT", SIGSTKFLT},
792 {"SIGCHLD", SIGCHLD},
793 {"SIGCONT", SIGCONT},
794 {"SIGSTOP", SIGSTOP},
795 {"SIGTSTP", SIGTSTP},
796 {"SIGTTIN", SIGTTIN},
797 {"SIGTTOU", SIGTTOU},
798 {"SIGURG", SIGURG},
799 {"SIGXCPU", SIGXCPU},
800 {"SIGXFSZ", SIGXFSZ},
801 {"SIGVTALRM", SIGVTALRM},
802 {"SIGPROF", SIGPROF},
803 {"SIGWINCH", SIGWINCH},
804 {"SIGIO", SIGIO},
805 {"SIGPOLL", SIGPOLL},
806 {"SIGPWR", SIGPWR},
807 {"SIGSYS", SIGSYS},
808 };
809 int i;
810
811 if (!sysrq_signal)
812 return;
813
814 for (i = 0; i < ARRAY_SIZE(signals); ++i)
815 if (!strcmp(signals[i].name, sysrq_signal))
816 break;
817
818 if (i >= ARRAY_SIZE(signals)) {
819 pr_err("Unknown signal name %s", sysrq_signal);
820
821 return;
822 }
823
824 sysrq_signal_code = signals[i].code;
825 }
826
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 13719 bytes --]
next prev parent reply other threads:[~2020-05-14 9:13 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-05-11 13:59 [PATCH 0/6] Magic SysRq extensions Andrzej Pietrasiewicz
2020-05-11 13:59 ` [PATCH 1/6] tty/sysrq: Remove linux,sysrq-reset-seq Andrzej Pietrasiewicz
2020-05-11 17:58 ` Dmitry Torokhov
2020-05-12 9:21 ` Andrzej Pietrasiewicz
2020-05-11 13:59 ` [PATCH 2/6] dt-bindings: input: Remove linux,sysrq-reset-seq binding Andrzej Pietrasiewicz
2020-05-11 13:59 ` [PATCH 3/6] tty/sysrq: Allow configurable SysRq key Andrzej Pietrasiewicz
2020-05-11 16:18 ` Greg Kroah-Hartman
2020-05-11 18:01 ` Dmitry Torokhov
2020-05-12 9:46 ` Andrzej Pietrasiewicz
2020-06-19 16:28 ` [PATCH] tty/sysrq: Add alternative " Andrzej Pietrasiewicz
2020-06-21 21:21 ` Pavel Machek
2020-06-26 11:07 ` Andrzej Pietrasiewicz
2020-06-22 6:24 ` Jiri Slaby
2020-06-26 11:51 ` Andrzej Pietrasiewicz
2020-07-09 5:05 ` Dmitry Torokhov
2020-07-09 8:15 ` Andrzej Pietrasiewicz
2020-05-11 13:59 ` [PATCH 4/6] tty/sysrq: Extend the sysrq_key_table to cover capital letters Andrzej Pietrasiewicz
2020-05-11 13:59 ` [PATCH 5/6] tty/sysrq: Add configurable handler to signal a process Andrzej Pietrasiewicz
2020-05-11 16:20 ` Greg Kroah-Hartman
2020-05-14 9:06 ` kbuild test robot [this message]
2020-05-11 13:59 ` [PATCH 6/6] tty/sysrq: Add configurable handler to execute a compound action Andrzej Pietrasiewicz
2020-05-11 16:21 ` Greg Kroah-Hartman
2020-05-11 18:29 ` Dmitry Torokhov
2020-05-12 9:15 ` Andrzej Pietrasiewicz
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=202005141755.2qZ7upd6%lkp@intel.com \
--to=lkp@intel.com \
--cc=andrzej.p@collabora.com \
--cc=devicetree@vger.kernel.org \
--cc=dmitry.torokhov@gmail.com \
--cc=gregkh@linuxfoundation.org \
--cc=jslaby@suse.com \
--cc=kbuild-all@lists.01.org \
--cc=kernel@collabora.com \
--cc=linux-input@vger.kernel.org \
--cc=robh+dt@kernel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).