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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 5FCB6C433EF for ; Sat, 2 Jul 2022 12:01:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=vgkDIohyqop+VbTjH+BQenWmVM8iVE8Mbk6aeqjxDA0=; b=YImNMvQbarN4Ec CROjqc5IWqixHTUOkR1YwfCrE9mdrnwGvdb6qrAYhNW+02aHVQmhvXKIdm/ZcSJH64QlMSVlo3FmA tBgdTOVFPayHmyHh6VyCHTiB1wCaWBVESF8kHNa42YpsQrYTS2wlFnt7cjB1daJKoekVGHpnPeH0U WFpPctioyCWrfyVKq4T9m3wmaCmnt/R8VHHgU0/+EG7r68SyQALFpEKsfixLdr584YPmRT92QwAAz J7zxyN6VtxNnXTNlJvTKyu30i4tnw14Z7yLdGmoQoDfg0OcLedVmCzzb8nmGszqYjXJ7lJXA/6Dk5 Ei1wSOHNEwm7Jn7hbYfw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1o7bnp-009OXU-JZ; Sat, 02 Jul 2022 12:00:45 +0000 Received: from mga02.intel.com ([134.134.136.20]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1o7bnn-009OWh-8a for linux-arm-kernel@lists.infradead.org; Sat, 02 Jul 2022 12:00:44 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1656763243; x=1688299243; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=TmBINPi4YWQq6jPhvMGuqgLplCQN4DhZzS9sXB4R8Ug=; b=BEnWHsLYowbCidjkD2GlIERWoJ9oFaRDg0XvuYWXSFCI0+Z7O6GjH4RU RD7iuHS3/EdbOhg3M9bdUrwMaGohG/0s1NFmEWeL0I5Y3Bo3oEjj5b3Oh gaBpcNkzNU9N/3qy0lmWL+kLGJ2gFinb0borP76eydTR+k+6EZ8kZWhX8 PNrhZw6KKC78SQ4Ilh3Z2FOKRTPDNgDr3bU5Dy0OYfuohLfBNYq1Vbhcf vaLUoGBtuQVsapvR0UVxM40+FN3rmDBdGEmsBtm4LK5hY4FAXqSLdX0RR fS3YhIKf/Ob60YBjvHDhLHOTOC+0Tr9Q7bxXP5Tfmu82B8t4gdNH2oD+z g==; X-IronPort-AV: E=McAfee;i="6400,9594,10395"; a="271595296" X-IronPort-AV: E=Sophos;i="5.92,239,1650956400"; d="scan'208";a="271595296" Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 02 Jul 2022 05:00:42 -0700 X-IronPort-AV: E=Sophos;i="5.92,239,1650956400"; d="scan'208";a="838343902" Received: from smile.fi.intel.com ([10.237.72.54]) by fmsmga006-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 02 Jul 2022 05:00:38 -0700 Received: from andy by smile.fi.intel.com with local (Exim 4.96) (envelope-from ) id 1o7bnQ-0013au-0e; Sat, 02 Jul 2022 15:00:20 +0300 Date: Sat, 2 Jul 2022 15:00:19 +0300 From: Andy Shevchenko To: Yury Norov Cc: linux-kernel@vger.kernel.org, Andrew Morton , David Howells , Geert Uytterhoeven , Jonathan Corbet , "Kirill A . Shutemov" , Matthew Wilcox , NeilBrown , Rasmus Villemoes , Russell King , Vlastimil Babka , William Kucharski , linux-doc@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mm@kvack.org Subject: Re: [PATCH 5/8] lib/cpumask: change return types to unsigned where appropriate Message-ID: References: <20220701125430.2907638-1-yury.norov@gmail.com> <20220701125430.2907638-6-yury.norov@gmail.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20220701125430.2907638-6-yury.norov@gmail.com> Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220702_050043_373537_803B16B3 X-CRM114-Status: GOOD ( 10.31 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Fri, Jul 01, 2022 at 05:54:27AM -0700, Yury Norov wrote: > Switch return types to unsigned int where return values cannot be negative. ... > -int cpumask_any_and_distribute(const struct cpumask *src1p, > +unsigned int cpumask_any_and_distribute(const struct cpumask *src1p, > const struct cpumask *src2p); It breaks indentation of the second line. ... > -int cpumask_next_and(int n, const struct cpumask *src1p, > +unsigned int cpumask_next_and(int n, const struct cpumask *src1p, > const struct cpumask *src2p) Ditto. And seems a lot of cases in the series like this. -- With Best Regards, Andy Shevchenko _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel