From: kbuild test robot <lkp@intel.com>
To: Borislav Petkov <bp@suse.de>
Cc: kbuild-all@01.org, akpm@linux-foundation.org, bp@suse.de,
mm-commits@vger.kernel.org, lkml <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH -v5.1] printk: Add kernel parameter to control writes to /dev/kmsg
Date: Mon, 25 Jul 2016 00:55:55 +0800 [thread overview]
Message-ID: <201607250034.72IAmpIe%fengguang.wu@intel.com> (raw)
In-Reply-To: <20160719072344.GC25563@nazgul.tnic>
[-- Attachment #1: Type: text/plain, Size: 2798 bytes --]
Hi,
[auto build test ERROR on stable/master]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]
url: https://github.com/0day-ci/linux/commits/Borislav-Petkov/printk-Add-kernel-parameter-to-control-writes-to-dev-kmsg/20160725-003035
base: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git master
config: x86_64-randconfig-x012-201630 (attached as .config)
compiler: gcc-6 (Debian 6.1.1-9) 6.1.1 20160705
reproduce:
# save the attached .config to linux build tree
make ARCH=x86_64
All errors (new ones prefixed by >>):
kernel/printk/printk.c: In function 'devkmsg_open':
>> kernel/printk/printk.c:937:2: error: implicit declaration of function 'ratelimit_default_init' [-Werror=implicit-function-declaration]
ratelimit_default_init(&user->rs);
^~~~~~~~~~~~~~~~~~~~~~
>> kernel/printk/printk.c:938:2: error: implicit declaration of function 'ratelimit_set_flags' [-Werror=implicit-function-declaration]
ratelimit_set_flags(&user->rs, RATELIMIT_MSG_ON_RELEASE);
^~~~~~~~~~~~~~~~~~~
>> kernel/printk/printk.c:938:33: error: 'RATELIMIT_MSG_ON_RELEASE' undeclared (first use in this function)
ratelimit_set_flags(&user->rs, RATELIMIT_MSG_ON_RELEASE);
^~~~~~~~~~~~~~~~~~~~~~~~
kernel/printk/printk.c:938:33: note: each undeclared identifier is reported only once for each function it appears in
kernel/printk/printk.c: In function 'devkmsg_release':
>> kernel/printk/printk.c:958:2: error: implicit declaration of function 'ratelimit_state_exit' [-Werror=implicit-function-declaration]
ratelimit_state_exit(&user->rs);
^~~~~~~~~~~~~~~~~~~~
cc1: some warnings being treated as errors
vim +/ratelimit_default_init +937 kernel/printk/printk.c
931 }
932
933 user = kmalloc(sizeof(struct devkmsg_user), GFP_KERNEL);
934 if (!user)
935 return -ENOMEM;
936
> 937 ratelimit_default_init(&user->rs);
> 938 ratelimit_set_flags(&user->rs, RATELIMIT_MSG_ON_RELEASE);
939
940 mutex_init(&user->lock);
941
942 raw_spin_lock_irq(&logbuf_lock);
943 user->idx = log_first_idx;
944 user->seq = log_first_seq;
945 raw_spin_unlock_irq(&logbuf_lock);
946
947 file->private_data = user;
948 return 0;
949 }
950
951 static int devkmsg_release(struct inode *inode, struct file *file)
952 {
953 struct devkmsg_user *user = file->private_data;
954
955 if (!user)
956 return 0;
957
> 958 ratelimit_state_exit(&user->rs);
959
960 mutex_destroy(&user->lock);
961 kfree(user);
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
[-- Attachment #2: .config.gz --]
[-- Type: application/octet-stream, Size: 18881 bytes --]
next prev parent reply other threads:[~2016-07-24 16:57 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <578d49d4.fkc8q9Hf3hiC1Mky%akpm@linux-foundation.org>
2016-07-19 7:23 ` + printk-add-kernel-parameter-to-control-writes-to-dev-kmsg-checkpatch-fixes.patch added to -mm tree Borislav Petkov
2016-07-24 16:55 ` kbuild test robot [this message]
2016-07-25 6:38 ` [PATCH -v5.1] printk: Add kernel parameter to control writes to /dev/kmsg Borislav Petkov
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=201607250034.72IAmpIe%fengguang.wu@intel.com \
--to=lkp@intel.com \
--cc=akpm@linux-foundation.org \
--cc=bp@suse.de \
--cc=kbuild-all@01.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mm-commits@vger.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
all inboxes | Powered by JetHome®