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 X-Spam-Level: X-Spam-Status: No, score=-7.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 17C39C433E0 for ; Sat, 9 Jan 2021 04:50:20 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id 7E3C923A1E for ; Sat, 9 Jan 2021 04:50:19 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 7E3C923A1E Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=owner-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix) id F2EEC8D01D0; Fri, 8 Jan 2021 23:50:18 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id EDF496B00C1; Fri, 8 Jan 2021 23:50:18 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id DF48C8D01D0; Fri, 8 Jan 2021 23:50:18 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0188.hostedemail.com [216.40.44.188]) by kanga.kvack.org (Postfix) with ESMTP id C8A6A6B0095 for ; Fri, 8 Jan 2021 23:50:18 -0500 (EST) Received: from smtpin12.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay05.hostedemail.com (Postfix) with ESMTP id 8DFB9181AEF1F for ; Sat, 9 Jan 2021 04:50:18 +0000 (UTC) X-FDA: 77685010116.12.mice62_510ead1274f8 Received: from filter.hostedemail.com (10.5.16.251.rfc1918.com [10.5.16.251]) by smtpin12.hostedemail.com (Postfix) with ESMTP id 7037718023AA7 for ; Sat, 9 Jan 2021 04:50:18 +0000 (UTC) X-HE-Tag: mice62_510ead1274f8 X-Filterd-Recvd-Size: 6629 Received: from mail-ua1-f47.google.com (mail-ua1-f47.google.com [209.85.222.47]) by imf10.hostedemail.com (Postfix) with ESMTP for ; Sat, 9 Jan 2021 04:50:18 +0000 (UTC) Received: by mail-ua1-f47.google.com with SMTP id y25so4164534uaq.7 for ; Fri, 08 Jan 2021 20:50:17 -0800 (PST) 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=KUPFDJXRDSVsqa0e58PVfrvG3ttneDUcTIp5cVW8rWg=; b=XO7flPKZaEYiJPGJNw97qA8lHnEVDAHYwZQ15yvky0keoInQ8rvmzpm/0wNHE2n40P BRpnmxilnvR+Ay/j5U3mNxNJL7XVqveRPv7pSqOXFeAB/YEzcVmR3waSyvmEBYlLu9IP +PGBMC0l65EvW2cbaf1vwmHSiuOKDfdYpgYWmfVi1scznKw+mKczrUv+HYhI0qruL689 h9u94IWhBBbLVwcV6KXbA837P6jUHlMvK9lcAAX/o4NdISHOVwbHcx2EsH3EVSp2mmYF X9TB6Dr/4XAuF9V8QSYWWkUwbKn8ZgYS5bEzCvOeudYCAiYgVKgRHdNRHOjnj+ughHZF 63qg== 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=KUPFDJXRDSVsqa0e58PVfrvG3ttneDUcTIp5cVW8rWg=; b=XI6wOPV7WMLhgsEQSBCX8HX+HkSs68ySiglf95kqZx0sZLI4YY4MGF/eywVXJByb72 U577TxcRxZBPCg8Nf8hgq2Q2DaOn1v/iUo8i6Pqcr/RzfauNx8AXx17YAxCT9OhE6nLX IwzE8vqgcAQlxvvfk4JRwin+mpaaam5HTSe3aGVHYJ9hhogJuDARhAE5WnpOi0w8Itvr GLSKkbcKfumZl4sYfPSXT+LcXOt3+VKJ7CHRza1k9U1Z73+riT+JEEusA5pCEXunHQ/3 H9CResRVyxVQfaDCBMyFweXDe4jrWxIai531unHSX3NS7z+5W6UZSG4cWMtAVEev8odM DyOw== X-Gm-Message-State: AOAM5317Fetfejxi0AgbNQkeNvUQclNpv/TGZ6Z8e3/FI3PlicYqkR4W mijoIaBFX+KZV7+8wVWO9xF+rxKL7lcjCn6EU2g= X-Google-Smtp-Source: ABdhPJyMvX/9L7B4uQnl7ptp6r7oJxi3u9GdklRZAnR5tKplstErcJdg2JsM3DhFU2/zviCKta/ZQRFSpHaa6rDXRBE= X-Received: by 2002:ab0:3894:: with SMTP id z20mr5671672uav.82.1610167817405; Fri, 08 Jan 2021 20:50:17 -0800 (PST) MIME-Version: 1.0 References: <20210106064807.253112-1-Sonicadvance1@gmail.com> <202101061653.5TRW1DBX-lkp@intel.com> In-Reply-To: <202101061653.5TRW1DBX-lkp@intel.com> From: Souptick Joarder Date: Sat, 9 Jan 2021 10:20:15 +0530 Message-ID: Subject: Re: [PATCH] Adds a new ioctl32 syscall for backwards compatibility layers To: kernel test robot Cc: sonicadvance1@gmail.com, kbuild-all@lists.01.org, Catalin Marinas , Will Deacon , Alexander Viro , Arnd Bergmann , Christian Brauner , Andrew Morton , Linux Memory Management List , Minchan Kim , Aleksa Sarai Content-Type: text/plain; charset="UTF-8" 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: On Wed, Jan 6, 2021 at 1:39 PM kernel test robot wrote: > > Hi, > > Thank you for the patch! Yet something to improve: > > [auto build test ERROR on linus/master] > [also build test ERROR on v5.11-rc2] > [cannot apply to arm64/for-next/core asm-generic/master soc/for-next next-20210104] > [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] > > url: https://github.com/0day-ci/linux/commits/sonicadvance1-gmail-com/Adds-a-new-ioctl32-syscall-for-backwards-compatibility-layers/20210106-145354 > base: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git e71ba9452f0b5b2e8dc8aa5445198cd9214a6a62 > config: arc-randconfig-r005-20210106 (attached as .config) > compiler: arc-elf-gcc (GCC) 9.3.0 > reproduce (this is a W=1 build): > wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross > chmod +x ~/bin/make.cross > # https://github.com/0day-ci/linux/commit/a927032b3a499474d8484f47644aa9a2578a5196 > git remote add linux-review https://github.com/0day-ci/linux > git fetch --no-tags linux-review sonicadvance1-gmail-com/Adds-a-new-ioctl32-syscall-for-backwards-compatibility-layers/20210106-145354 > git checkout a927032b3a499474d8484f47644aa9a2578a5196 > # save the attached .config to linux build tree > COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=arc > > If you fix the issue, kindly add following tag as appropriate > Reported-by: kernel test robot > > All errors (new ones prefixed by >>): > > In file included from kernel/events/core.c:34: > >> include/linux/syscalls.h:390:5: error: unknown type name 'compat_ulong_t' > 390 | compat_ulong_t arg); > | ^~~~~~~~~~~~~~ > kernel/events/core.c:6535:6: warning: no previous prototype for 'perf_pmu_snapshot_aux' [-Wmissing-prototypes] > 6535 | long perf_pmu_snapshot_aux(struct perf_buffer *rb, > | ^~~~~~~~~~~~~~~~~~~~~ > In file included from include/linux/perf_event.h:25, > from include/linux/trace_events.h:10, > from include/trace/syscall.h:7, > from include/linux/syscalls.h:84, > from kernel/events/core.c:34: > arch/arc/include/asm/perf_event.h:126:23: warning: 'arc_pmu_cache_map' defined but not used [-Wunused-const-variable=] > 126 | static const unsigned arc_pmu_cache_map[C(MAX)][C(OP_MAX)][C(RESULT_MAX)] = { > | ^~~~~~~~~~~~~~~~~ > arch/arc/include/asm/perf_event.h:91:27: warning: 'arc_pmu_ev_hw_map' defined but not used [-Wunused-const-variable=] > 91 | static const char * const arc_pmu_ev_hw_map[] = { > | ^~~~~~~~~~~~~~~~~ > These two variables arc_pmu_cache_map & arc_pmu_ev_hw_map are used in arch/arc/kernel/perf_event.c. I think, moving it some other files/header will silence these warnings. > > vim +/compat_ulong_t +390 include/linux/syscalls.h > > 385 > 386 /* fs/ioctl.c */ > 387 asmlinkage long sys_ioctl(unsigned int fd, unsigned int cmd, > 388 unsigned long arg); > 389 asmlinkage long sys_ioctl32(unsigned int fd, unsigned int cmd, > > 390 compat_ulong_t arg); > 391 > > --- > 0-DAY CI Kernel Test Service, Intel Corporation > https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org