Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp4558222yba; Sun, 19 May 2019 22:52:21 -0700 (PDT) X-Google-Smtp-Source: APXvYqwFAOB2DhrSIi8P6VQbcpI9wORGMJYDAQgxE01Vt9xfRAEF/q5T9yTnCzItnxmZJrzGpx/q X-Received: by 2002:a63:a55:: with SMTP id z21mr73610233pgk.440.1558331541019; Sun, 19 May 2019 22:52:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1558331541; cv=none; d=google.com; s=arc-20160816; b=SBFt5by0rguMA+Khn2y9HF5Ghj/poOeU2K8UewX/rrHK+jqWZ8Rq/XaL8oc4+VzNh7 ksSyhjdD9+/bkDzx9qGLQuF9hFq1K8yrWhB+7vUMIuUlwRueez6Q2gYMW/qUjz1uD7NC JRRh2BTjRKQRpkt5iLYTJoL201vZq4vwTs/I0b12iv9VDznciChTvL0K9q9qLXBmyMol 6Q0Yv6BZOa8fs5/da+nj3EncBMfwR7T0/IMxPhqAxC1nCCYvspsbrcGKFWP+PI7KNW2G 8aatEA/trX17x7s8lQKCbCw+lInprgd0vDaG73ZPb/1GqQHg+Xul+mmQwhPpbTiloCum Ym2A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=AVxAZEAyj0cKtRTqCE+l9X36eaHh9iSb4M4F2vHx3Z4=; b=MiSeIa28lZRvwCyQskL0ipNwjVXTfZYghXY0KprvwhDPL7j5QivsQqxAzvZum6wWuy sT+MwR7gfVittZUq4awvJwFt3UZng6zHFmpjr1gLmRm8O9XxkDjvbkNz6bBt0DAoelH1 kA3tK1TlV7NfocOKQcXcvvKsblS94MRZOnQ/SKtVeM4n2I5SZyd0iySRokMrTmAlHSqK u6g8r7tn+LHVgdKbl1696rd2i8QARF01hkUj+/GbBNhkyOTiILtYADAeC28zu4txTKg5 iqyRwzCWYUaklDLMZJn93Wu0fD5sOMRBFXApNQK+F5pLKgVMXkMqXz1qRowRi567O6tc 3Y+g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=eHSQnPK4; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 129si7701077pfe.140.2019.05.19.22.52.05; Sun, 19 May 2019 22:52:21 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=eHSQnPK4; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730399AbfETFu4 (ORCPT + 99 others); Mon, 20 May 2019 01:50:56 -0400 Received: from mail-yb1-f195.google.com ([209.85.219.195]:43230 "EHLO mail-yb1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730335AbfETFu4 (ORCPT ); Mon, 20 May 2019 01:50:56 -0400 Received: by mail-yb1-f195.google.com with SMTP id n145so606529ybg.10 for ; Sun, 19 May 2019 22:50:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=AVxAZEAyj0cKtRTqCE+l9X36eaHh9iSb4M4F2vHx3Z4=; b=eHSQnPK4iuol6x0PPMY+riUaWqnhGdd5hikQvFGV83peOCCc4oGOYUd0DOWnBntw8y sSTtqHqCEkAJze82fatN6Z1w0Yx+TkgrcC/TvHDSXYKdw2FbyfnbmQqgXpZPlPifcWuD KMDu2FaKEBf/Xz5qiRFt/H4za1242RkEVOdakJ3WS1H2Hs5hqnGbvM9IDzYLjKF9zU6o 0/GjsxiIlwj3LWPbU3mVak9up9zBn7TffCzvZJ2Cjd+poesMuGNLn97ar23iTD5zmQv7 bcPakZK4+OUvsHYTNnCe+/acNPcLWReIyXRHr8R50DeJUT4D7AWL/nmofjcDFHF+zrNc NXZg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=AVxAZEAyj0cKtRTqCE+l9X36eaHh9iSb4M4F2vHx3Z4=; b=AEUSMfeorrQDgE/QW/ca7x6rHNbGUmPSKcUhmQ0zOX3ATMaHvjnzIHpd0qIWsaXOST xueIem4zIbE1CgULJtPGnDtpyK4+Y+AFCk3zLFJ0yYUl2k2PCt0O9gK7OBpbt+9KisPp SWcUphhRdPpySx18eN1z/d/dM4Y2S8TIgtwU5Ky1NezPk66hKQSqpqUb0rYc+ezCKKZS qKSnaYnId2UxUJU5FYGGpIu2AFgT9mgYa2LcYRg5HIA6ZPI2g2QEI0KTvLGGwZvM9cjM byi5dmVtL3omKXt6meVdEJmiE466gI1sHy5DTpVI0XhjXjVLUZens9a95qIUPQB5efkt HMNw== X-Gm-Message-State: APjAAAUV3URhgVK80Sr8eOMpPqK3MdAYpvaXwZW6J83y4pmS6+ZYybVS aE8HzNM8Sh5IZ0tYZzYGjuIEPPgfmFH8EUJ+yfM= X-Received: by 2002:a25:74d5:: with SMTP id p204mr5333906ybc.329.1558331455487; Sun, 19 May 2019 22:50:55 -0700 (PDT) MIME-Version: 1.0 References: <201905201259.JxEFGvZU%lkp@intel.com> In-Reply-To: <201905201259.JxEFGvZU%lkp@intel.com> From: Max Filippov Date: Sun, 19 May 2019 22:50:44 -0700 Message-ID: Subject: Re: arch/xtensa/include/asm/uaccess.h:40:22: error: implicit declaration of function 'uaccess_kernel'; did you mean 'getname_kernel'? To: kbuild test robot Cc: Matt Sickler , kbuild-all@01.org, LKML , Greg Kroah-Hartman Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello, On Sun, May 19, 2019 at 10:39 PM kbuild test robot wrote: > Hi Matt, > > FYI, the error/warning still remains. > > tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master > head: a188339ca5a396acc588e5851ed7e19f66b0ebd9 > commit: 7df95299b94a63ec67a6389fc02dc25019a80ee8 staging: kpc2000: Add DMA driver > date: 4 weeks ago > config: xtensa-allmodconfig (attached as .config) > compiler: xtensa-linux-gcc (GCC) 8.1.0 > reproduce: > wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross > chmod +x ~/bin/make.cross > git checkout 7df95299b94a63ec67a6389fc02dc25019a80ee8 > # save the attached .config to linux build tree > GCC_VERSION=8.1.0 make.cross ARCH=xtensa > > If you fix the issue, kindly add following tag > Reported-by: kbuild test robot > > All errors (new ones prefixed by >>): > > In file included from drivers/staging/kpc2000/kpc_dma/fileops.c:11: > arch/xtensa/include/asm/uaccess.h: In function 'clear_user': > >> arch/xtensa/include/asm/uaccess.h:40:22: error: implicit declaration of function 'uaccess_kernel'; did you mean 'getname_kernel'? [-Werror=implicit-function-declaration] > #define __kernel_ok (uaccess_kernel()) > ^~~~~~~~~~~~~~ I've posted a fix for this issue here: https://lkml.org/lkml/2019/5/8/956 If there are post merge window pull requests planned for the staging tree please consider including this fix. Alternatively if I could get an ack for this fix I'd submit it in a pull request from the xtensa tree. -- Thanks. -- Max