Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp362576rwi; Fri, 14 Oct 2022 03:10:50 -0700 (PDT) X-Google-Smtp-Source: AMsMyM4IRFIQxQs8GAomnJIHN+g/KT4weul7/2B0iaTxTnIZDvfOTwVMPN/fk7qP7bYdlBQSrogw X-Received: by 2002:a17:90a:4888:b0:203:6d42:ccae with SMTP id b8-20020a17090a488800b002036d42ccaemr4990335pjh.166.1665742250411; Fri, 14 Oct 2022 03:10:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1665742250; cv=none; d=google.com; s=arc-20160816; b=q0SSTZHvERjisirrfL/oTSUf1Skg4o/YH9FSA3E7yGOdzH9YIHJMExmXM25Y4JQl8y j32lgJ+yQY3jR1VEGlqjhSObOAnnWcpPhW5su5gN6jk25vH9Bv/K791L13bHg64npjwe wdNgv25Bxn0wdE89qUjmNJMC+65iW+TxyP6HtuO34EluVz7+cl/AraR/ZbWHRONN1caM kACBOrNghb448oTLK17Mp0CaHomS5Lja8HLdV59yV/Dqw2feUXRTDYStbb/XE7/3KnZn klQTAwx/1BTgMdZ98LvX3zUXxYRw3TXoxPLuUuLX82uRmT2Gm1iL//KcvsX9gYjrQdw8 DmgA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:organization:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=Ez3rpY0QSrvsGekmqphlrKEeQ3xVHOfPswVpbcGclcE=; b=sLMcRKzAJkJDU4gazG4i8GC9HL0JzUDs8JGQpmIAj5A8SQ51cBfL9igZ0oLgkQzGL5 qSMPBlodT9HeapubKTwaXGLOkRmrVoUi4rvykRopKr+SRPBIiLnE0ZXQJPXlO/2rq/p+ h/+2lpgw6LiqeuVge4MXKNiykioOWmH6sWteOCT2BDivhLoBLEzDTCmcoYzADFb10GAB 7gVHR2QQuU6q0NpyE+puCGWbRn5gpjY+CcST/9PMW88H/62ZdirPym3o6qXykHBQ6MEf m+kavau/9GVvC0V+dr2/QGHQpYp0cZ0C7iCt0iMv2F8xaHogXG9I6cZkxTpmtehSy1gf nuFA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=fnDX6KhJ; 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 r10-20020a1709028bca00b001789a178e33si2128776plo.428.2022.10.14.03.10.38; Fri, 14 Oct 2022 03:10:50 -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=fnDX6KhJ; 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 S229902AbiJNKA0 (ORCPT + 99 others); Fri, 14 Oct 2022 06:00:26 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48940 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229554AbiJNKAY (ORCPT ); Fri, 14 Oct 2022 06:00:24 -0400 Received: from mga06.intel.com (mga06b.intel.com [134.134.136.31]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5634D63F3F; Fri, 14 Oct 2022 03:00:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1665741623; x=1697277623; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=yU691PK0LSDKQcnMRYmi3y8VrAcQvxQtXyiByydYRCI=; b=fnDX6KhJdiEHlqb54CTo5z/5p2CbzeTN91APcjAIThrkfvrlqwSSvWKk ITnQ0HxdzmcJgBQUEmuGrRrC+aovXewu9W1J2Cmra7KJbUoEgJ/hfMToG fvTAQ52eHGrNFMpB5CTdWuAyf2fBbgxZ1JaA/l7dme8TUmVgYGlWigaqi 0Q4pUlwzW0bGORD01AaugeCDc2hJ/mpfyteX+DSXcyGEldVwkBxKp/l5E 15grekbzCXT7V1nmSqA5/eLwBCubAFdGHu2A10oQBG9VCvfXxUP5HObr7 bKy3FWXa7TxIF3AMY4AoIiO/R4zEY8FFs4Lh7FGpRBOSf2Rngi6kENCUv w==; X-IronPort-AV: E=McAfee;i="6500,9779,10499"; a="367360304" X-IronPort-AV: E=Sophos;i="5.95,184,1661842800"; d="scan'208";a="367360304" Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 14 Oct 2022 03:00:22 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6500,9779,10499"; a="696251825" X-IronPort-AV: E=Sophos;i="5.95,184,1661842800"; d="scan'208";a="696251825" Received: from smile.fi.intel.com ([10.237.72.54]) by fmsmga004.fm.intel.com with ESMTP; 14 Oct 2022 03:00:13 -0700 Received: from andy by smile.fi.intel.com with local (Exim 4.96) (envelope-from ) id 1ojHUB-006sKC-0e; Fri, 14 Oct 2022 13:00:11 +0300 Date: Fri, 14 Oct 2022 13:00:10 +0300 From: Andy Shevchenko To: guoren@kernel.org Cc: davem@davemloft.net, edumazet@google.com, kuba@kernel.org, pabeni@redhat.com, linux@rasmusvillemoes.dk, yury.norov@gmail.com, caraitto@google.com, willemb@google.com, jonolson@google.com, amritha.nambiar@intel.com, linux-kernel@vger.kernel.org, netdev@vger.kernel.org, Guo Ren Subject: Re: [PATCH V2 2/2] net: Fixup virtnet_set_affinity() cause cpumask warning Message-ID: References: <20221014030459.3272206-1-guoren@kernel.org> <20221014030459.3272206-3-guoren@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20221014030459.3272206-3-guoren@kernel.org> Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo X-Spam-Status: No, score=-4.3 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_NONE 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 On Thu, Oct 13, 2022 at 11:04:59PM -0400, guoren@kernel.org wrote: > From: Guo Ren > > Don't pass nr_bits-1 as arg1 for cpumask_next_wrap, which would > cause warning now 78e5a3399421 ("cpumask: fix checking valid > cpu range"). > ------------[ cut here ]------------ > WARNING: CPU: 0 PID: 1 at include/linux/cpumask.h:110 cpumask_next_wrap+0x5c/0x80 > Modules linked in: Submitting Patches document suggests to cut this huge warning to only what makes sense to see in the report. -- With Best Regards, Andy Shevchenko