Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp509419iog; Wed, 15 Jun 2022 06:52:26 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzTxFyB8h6d2KoKIxq36tr+O8Dx8di3gc0nIpMO6AadnTTPozSGjh/t6xAeiUa/OI6jzN3Y X-Received: by 2002:a17:902:e5ca:b0:164:1958:c84a with SMTP id u10-20020a170902e5ca00b001641958c84amr9386720plf.72.1655301146325; Wed, 15 Jun 2022 06:52:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1655301146; cv=none; d=google.com; s=arc-20160816; b=ls2u/VOicJHYl1D5eJigxZInKJvcPkz52NxpwNJchrHCgsNtFIo4ubkHFHiYrXJyK0 8jTov+8XLjiZeGK2ApgLbK25h9lvG5b4YvlxPwCIqqVHlFlXF0CaD1XidT7eVQUksxVC EUAccv6zNEfhEyLiHsrnh82ApQr74O1HWdSAt2af1Opt4E/A8ukdD1+lMgZcGnAEEb0X 3YIQB14K0cq9ox0vBL+Fi06BvIl4+twxj+1LNw1/B5Ah6EAiS8C1wE/6rLZ97tU1BR58 jlDDG9G/c9bkp3G5+L2SGCVY/E4PV1pm6jGEv14vtgCx5+ecJjTprepVMmf8i49ilk33 NdPw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=gl+tPDD6pbk5k4M8pL8/xQQasJf2li+6Ho4YYC0tB5E=; b=KJUiDslxmNS4ZMBE4MYOFKpzwvz/v/rRcOrBFwA4c84ooYKE/BcOc+FI42mlS+kuTd vGgb/KSJsQcpMb/jcaoir8xlsO+B54VMmF5LAXy2jr2KYYi1a7jL8JS5ntfSxbUuoJoZ Fofpr3V/BJqf4PQwfR9jJb/UkXgRs+IzN1MahP/M4rQwRt+5U9Rs53Ep6eksCuQXBfvP NckNSrxROFNZzH/A1Py45cr+NxYHDaH638YZsduMGnAR1sJT2ilTSmlHVTgO0WiIsocH p4V4t5Z2FX4/kE3pqokzqMvFEpXIzAdMKIVHr4FPdHVoYzQ1aqRcJRIQUrqegG99rDvj 2Ypw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=F16S51Yt; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id ot10-20020a17090b3b4a00b001e3446e5c51si2609745pjb.179.2022.06.15.06.52.04; Wed, 15 Jun 2022 06:52:26 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=F16S51Yt; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236985AbiFON2v (ORCPT + 99 others); Wed, 15 Jun 2022 09:28:51 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35082 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1347478AbiFON2W (ORCPT ); Wed, 15 Jun 2022 09:28:22 -0400 Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4C1B82CCBB for ; Wed, 15 Jun 2022 06:28:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1655299701; x=1686835701; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=G5/lQUzNGrkTsaT8lmei7Sc623MPsT6oyM+mwSRQnwM=; b=F16S51Ytjx5JEpYqTpcvS2DGtyZDU+UHDBecSdMKhQq0Un/+j4lOpz1K TlTkAzN+unrFU0gulqKOvTUzYCkbpWFuxDxovA32FCgy9QuP9HoypGT9d 9wdTUu0TuutmCmVQicd1RBG8s1YdS4u5zWutYK7WgOhqQQJZc1XRvjb7N agvbt+GC9Yjo6+tJh2yeQTuCQ25evNH+0/sDEPh/OWcJFKO2p4mh9TKdX DVCScYcXQges1Q82BvLRk1pi/beRKUhU/oI9PcfzHV6V6MqL3zPxnJXKp cvVLZfefe1biREr/a+D1Mx0SNXTiESNSmszDUJEHKNIBaDuGVJEyNQ7r7 A==; X-IronPort-AV: E=McAfee;i="6400,9594,10378"; a="277752634" X-IronPort-AV: E=Sophos;i="5.91,302,1647327600"; d="scan'208";a="277752634" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 15 Jun 2022 06:28:21 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.91,302,1647327600"; d="scan'208";a="612739745" Received: from lkp-server01.sh.intel.com (HELO 60dabacc1df6) ([10.239.97.150]) by orsmga008.jf.intel.com with ESMTP; 15 Jun 2022 06:28:17 -0700 Received: from kbuild by 60dabacc1df6 with local (Exim 4.95) (envelope-from ) id 1o1T4C-000Mtf-RD; Wed, 15 Jun 2022 13:28:16 +0000 Date: Wed, 15 Jun 2022 21:27:33 +0800 From: kernel test robot To: andrey.konovalov@linux.dev, Marco Elver , Alexander Potapenko Cc: kbuild-all@lists.01.org, Andrey Konovalov , Dmitry Vyukov , Andrey Ryabinin , kasan-dev@googlegroups.com, Peter Collingbourne , Evgenii Stepanov , Florian Mayer , Andrew Morton , Linux Memory Management List , linux-kernel@vger.kernel.org Subject: Re: [PATCH 24/32] kasan: move kasan_addr_to_slab to common.c Message-ID: <202206152134.sadCRvGk-lkp@intel.com> References: <5ea6f55fb645405bb52cb15b8d30544ba3f189b0.1655150842.git.andreyknvl@google.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <5ea6f55fb645405bb52cb15b8d30544ba3f189b0.1655150842.git.andreyknvl@google.com> X-Spam-Status: No, score=-5.6 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_NONE,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, I love your patch! Perhaps something to improve: [auto build test WARNING on akpm-mm/mm-everything] [also build test WARNING on linus/master v5.19-rc2 next-20220615] [cannot apply to vbabka-slab/for-next] [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/intel-lab-lkp/linux/commits/andrey-konovalov-linux-dev/kasan-switch-tag-based-modes-to-stack-ring-from-per-object-metadata/20220614-042239 base: https://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm.git mm-everything config: s390-allyesconfig (https://download.01.org/0day-ci/archive/20220615/202206152134.sadCRvGk-lkp@intel.com/config) compiler: s390-linux-gcc (GCC) 11.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/intel-lab-lkp/linux/commit/b0b10a57b2d9a5e5ae5d7ca62046b9774df1a88f git remote add linux-review https://github.com/intel-lab-lkp/linux git fetch --no-tags linux-review andrey-konovalov-linux-dev/kasan-switch-tag-based-modes-to-stack-ring-from-per-object-metadata/20220614-042239 git checkout b0b10a57b2d9a5e5ae5d7ca62046b9774df1a88f # save the config file mkdir build_dir && cp config build_dir/.config COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.3.0 make.cross W=1 O=build_dir ARCH=s390 SHELL=/bin/bash mm/kasan/ If you fix the issue, kindly add following tag where applicable Reported-by: kernel test robot All warnings (new ones prefixed by >>): mm/kasan/common.c: In function 'kasan_addr_to_slab': >> mm/kasan/common.c:35:19: warning: ordered comparison of pointer with null pointer [-Wextra] 35 | if ((addr >= (void *)PAGE_OFFSET) && (addr < high_memory)) | ^~ mm/kasan/common.c: In function '____kasan_slab_free': mm/kasan/common.c:202:12: warning: variable 'tag' set but not used [-Wunused-but-set-variable] 202 | u8 tag; | ^~~ vim +35 mm/kasan/common.c 32 33 struct slab *kasan_addr_to_slab(const void *addr) 34 { > 35 if ((addr >= (void *)PAGE_OFFSET) && (addr < high_memory)) 36 return virt_to_slab(addr); 37 return NULL; 38 } 39 -- 0-DAY CI Kernel Test Service https://01.org/lkp