From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id 0F0D4EE49AA for ; Mon, 21 Aug 2023 23:44:19 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 7A76494001B; Mon, 21 Aug 2023 19:44:19 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 7081594000B; Mon, 21 Aug 2023 19:44:19 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 5A8FE94001B; Mon, 21 Aug 2023 19:44:19 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0016.hostedemail.com [216.40.44.16]) by kanga.kvack.org (Postfix) with ESMTP id 44E6A94000B for ; Mon, 21 Aug 2023 19:44:19 -0400 (EDT) Received: from smtpin18.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay03.hostedemail.com (Postfix) with ESMTP id 17E46A0156 for ; Mon, 21 Aug 2023 23:44:19 +0000 (UTC) X-FDA: 81149743038.18.A54523A Received: from mgamail.intel.com (mgamail.intel.com [134.134.136.31]) by imf28.hostedemail.com (Postfix) with ESMTP id E74C5C0002 for ; Mon, 21 Aug 2023 23:44:16 +0000 (UTC) Authentication-Results: imf28.hostedemail.com; dkim=pass header.d=intel.com header.s=Intel header.b=ZlxlsKqL; dmarc=pass (policy=none) header.from=intel.com; spf=pass (imf28.hostedemail.com: domain of lkp@intel.com designates 134.134.136.31 as permitted sender) smtp.mailfrom=lkp@intel.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1692661457; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:content-transfer-encoding: in-reply-to:in-reply-to:references:references:dkim-signature; bh=io0WUsynk+4JZEeX85KaZBW79hQlKEKUneA7D7c9/dc=; b=RDebcQTBXsAE8g7vqBKFiO4Mk4JGF0zH9HCJuYGEHpROwf0ySAWsQ1+tPkudkSFoUqbJWH bvsqTGEduxO88uXQ/0bfyV05kZUUiVaV1oCrWJU6HlCOKaQynpag8n9k6xpQVfSL/bBvxp y3Ao+CMkpoAkiuUhyrzdAeGjpil62/M= ARC-Authentication-Results: i=1; imf28.hostedemail.com; dkim=pass header.d=intel.com header.s=Intel header.b=ZlxlsKqL; dmarc=pass (policy=none) header.from=intel.com; spf=pass (imf28.hostedemail.com: domain of lkp@intel.com designates 134.134.136.31 as permitted sender) smtp.mailfrom=lkp@intel.com ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1692661457; a=rsa-sha256; cv=none; b=PAO6IvXXce/liZ5u++I+xs7EMS4FfRzEptR4E4lTCQ4zyVhvRY0DJNBp2C3v7rPsqEufpB peW6kN75lqFJYxwZQdmt8hUdpImusn0SLiDriDDUisOWXb2uyT84YmMU11/hZTciBQCyRs NuqQ1mbNK0NS/AfqSxhBcHCkNMxxLBg= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1692661457; x=1724197457; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=STFTRhm3lru3nDEhHPEOCOUbJYOYoNTJoOH2Kvs0Kok=; b=ZlxlsKqLmOmnn0yvapJ8+rWVyJ2SGb7OjhQWmhnb3XaAnZa7jWj4SJXY b5Aj7dDjwRjZz3tt+Z6Hz5QJmAXXhviWBxFu85WJDMX4TWP/g/ntC0I/C Uqx8O5dxCLVcBf+xocy8kngDXkMqXaF8NbwXFx323OuYPjXu8KtJYv14I Q1RdxDxZ/Hn5jvLFgb9KFlk46nKS6i2Scy1hGrqCOY9Qy5V0H6o9OfDun 2DLiZ2hEEz4wkjF1PldiQtBJY9m+vbvANKOnrWy1Jn3/iWME5Lgu/uhX9 pOo+ggRLuIjX4P49PajBlYz2/ZeSOyfl1B5hKJa/sihNWwjq257gei5Ox g==; X-IronPort-AV: E=McAfee;i="6600,9927,10809"; a="437651985" X-IronPort-AV: E=Sophos;i="6.01,191,1684825200"; d="scan'208";a="437651985" Received: from orsmga004.jf.intel.com ([10.7.209.38]) by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 21 Aug 2023 16:44:14 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10809"; a="859673727" X-IronPort-AV: E=Sophos;i="6.01,191,1684825200"; d="scan'208";a="859673727" Received: from lkp-server02.sh.intel.com (HELO 6809aa828f2a) ([10.239.97.151]) by orsmga004.jf.intel.com with ESMTP; 21 Aug 2023 16:44:11 -0700 Received: from kbuild by 6809aa828f2a with local (Exim 4.96) (envelope-from ) id 1qYEZ8-00014S-2K; Mon, 21 Aug 2023 23:44:10 +0000 Date: Tue, 22 Aug 2023 07:43:31 +0800 From: kernel test robot To: Helge Deller , linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, Andrei Vagin , Andrew Morton Cc: oe-kbuild-all@lists.linux.dev, Linux Memory Management List , linux-parisc@vger.kernel.org Subject: Re: [PATCH] procfs: Fix /proc/self/maps output for 32-bit kernel and compat tasks Message-ID: <202308220747.XMKc32Kz-lkp@intel.com> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Rspamd-Queue-Id: E74C5C0002 X-Rspam-User: X-Rspamd-Server: rspam05 X-Stat-Signature: jtxdh4j1ibwbtjnjtrs1ur8c63qz6icr X-HE-Tag: 1692661456-814691 X-HE-Meta: U2FsdGVkX1+3Ix1LEuz4TBfcSqSqP+uaUeqlOI4DHd5ICd6hWvXSk/OlXSQIuBdv0/fnThgocgbL5r+HndXlv4ptjMd/9P3bl+k46/2POVW2hNBFJytDKOiwM4OFEaPGl5WRk6/kjf/v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4n38aqfuz/57BbJuZjb60jHkmea6UY8QrSPf1vfohxu/2zjks2pzvfZ8AYNsiXGqfioWUcvrEfWfQ3kcHIcgtVbpK1j91EGRWlLT900GYQpbzUnecAKdGE/jTCBMVZO6Ug5U1Ngyk= X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: Hi Helge, kernel test robot noticed the following build errors: [auto build test ERROR on linus/master] [also build test ERROR on v6.5-rc7 next-20230821] [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/Helge-Deller/procfs-Fix-proc-self-maps-output-for-32-bit-kernel-and-compat-tasks/20230821-100823 base: linus/master patch link: https://lore.kernel.org/r/ZOCJltW%2FeufPUc%2BT%40p100 patch subject: [PATCH] procfs: Fix /proc/self/maps output for 32-bit kernel and compat tasks config: x86_64-buildonly-randconfig-006-20230822 (https://download.01.org/0day-ci/archive/20230822/202308220747.XMKc32Kz-lkp@intel.com/config) compiler: gcc-12 (Debian 12.2.0-14) 12.2.0 reproduce: (https://download.01.org/0day-ci/archive/20230822/202308220747.XMKc32Kz-lkp@intel.com/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 | Closes: https://lore.kernel.org/oe-kbuild-all/202308220747.XMKc32Kz-lkp@intel.com/ All errors (new ones prefixed by >>): fs/seq_file.c: In function 'seq_put_hex_ll': >> fs/seq_file.c:765:23: error: implicit declaration of function 'is_compat_task' [-Werror=implicit-function-declaration] 765 | if (v == 0 || is_compat_task()) | ^~~~~~~~~~~~~~ cc1: some warnings being treated as errors vim +/is_compat_task +765 fs/seq_file.c 737 738 /** 739 * seq_put_hex_ll - put a number in hexadecimal notation 740 * @m: seq_file identifying the buffer to which data should be written 741 * @delimiter: a string which is printed before the number 742 * @v: the number 743 * @width: a minimum field width 744 * 745 * seq_put_hex_ll(m, "", v, 8) is equal to seq_printf(m, "%08llx", v) 746 * 747 * This routine is very quick when you show lots of numbers. 748 * In usual cases, it will be better to use seq_printf(). It's easier to read. 749 */ 750 void seq_put_hex_ll(struct seq_file *m, const char *delimiter, 751 unsigned long long v, unsigned int width) 752 { 753 unsigned int len; 754 int i; 755 756 if (delimiter && delimiter[0]) { 757 if (delimiter[1] == 0) 758 seq_putc(m, delimiter[0]); 759 else 760 seq_puts(m, delimiter); 761 } 762 763 #ifdef CONFIG_64BIT 764 /* If x is 0, the result of __builtin_clzll is undefined */ > 765 if (v == 0 || is_compat_task()) 766 len = 1; 767 else 768 len = (sizeof(v) * 8 - __builtin_clzll(v) + 3) / 4; 769 #else 770 /* On 32-bit kernel always use provided width */ 771 len = 1; 772 #endif 773 774 if (len < width) 775 len = width; 776 777 if (m->count + len > m->size) { 778 seq_set_overflow(m); 779 return; 780 } 781 782 for (i = len - 1; i >= 0; i--) { 783 m->buf[m->count + i] = hex_asc[0xf & v]; 784 v = v >> 4; 785 } 786 m->count += len; 787 } 788 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki