Received: by 2002:a05:6359:6284:b0:131:369:b2a3 with SMTP id se4csp355401rwb; Fri, 4 Aug 2023 14:01:05 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHZsumuv6zUKJw0vJ22EQMPt/Am0h3e0VgvpeWtgIjPv0RDovvy92HUOD2D6HrCM5xJj+5h X-Received: by 2002:a17:90a:df0c:b0:268:542a:6c22 with SMTP id gp12-20020a17090adf0c00b00268542a6c22mr2412329pjb.9.1691182864638; Fri, 04 Aug 2023 14:01:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1691182864; cv=none; d=google.com; s=arc-20160816; b=0zlXo/+WKJhLDuCQOR/WNzLItpI/rP0UCdMSf2HVJxMVX2huIUzN73bECk97diJoc/ wNO1CRCVGY9aLVF/Y35FeM/0GmGoeaEuYudRddyQQgtB2QWxrM7EbHDX7B8DZkIZNmvF ubk9+Znq9tYVcst16VqMWxXCbQMV6X0goVYLSqAQwcT0mlvVdoFFOwzJYU+6FdK16h7S cI6q1Ze0fVnPrB0LS8B+P1Vk/D8auy5tOrAzOul25xE+6EyMUsAbm8EP/DmM0XIyOWL9 Hz/k595pnnsX/AexGFpo1W1sZVi3OdxBKPorKaNFC1jDnSMNG8gNq04Tv1l8e68VyMxk aWyw== 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=PUt6XfM4QVaZmaffnDjDQpnQshBAoyER3wY7WoNtv+c=; fh=oI/Xiro4+EHjElptEbxeKLLzFvN1qXeWbIHTFIMB7YM=; b=M7xsb6p/y7r5srL8MGDdZ+TnaLo/PY4MxGeCstAdPX36U3zErCM4AX3Dbtwa34vJGe 45BQuoMONyHswv8dB3n/zJ5qMcImq/fvqfDnmG0zKEmp50d6MVGLMhBiMzmaHV0bzAtS dfOnWXPGA8OSgF2Zu4VeUpECdiVJpmiA67g3+8DKTcZ4BFpcGKCUdflF3NiNmCk5WNlr mSreXgGq7HJgDlN+59HQDhnnyCuFVwhmyBmmtjz/VgDj6Jcc2b+Yz4yUHPguWiC8v3VM zOC1QpmLyykyoHX7I1XRnhf51dHjxM5Xs2hM0hdrcAnBOA5CF+C7ywPJTxAYHmnvFGPi 7YSg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=hhl1yViY; 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 q7-20020a17090a430700b0026360db339fsi2248137pjg.12.2023.08.04.14.00.22; Fri, 04 Aug 2023 14:01:04 -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=hhl1yViY; 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 S229892AbjHDUeM (ORCPT + 99 others); Fri, 4 Aug 2023 16:34:12 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46654 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229652AbjHDUeK (ORCPT ); Fri, 4 Aug 2023 16:34:10 -0400 Received: from mgamail.intel.com (mgamail.intel.com [192.55.52.43]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 66E9F4C2D for ; Fri, 4 Aug 2023 13:34:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1691181249; x=1722717249; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=Ie3+Tp8HSJL5p5a626rZ9+1bzRCSCac0mPMAN935+jg=; b=hhl1yViY5b3601jlhethoQpo+FF2KpQ7R3cjDxBJwKuxLl4F8MZwAT08 pHmhDSWl3C0ayGj7EwAHkfTdPCV0mA6IxDGqittIAw2GLASbYOprveb9h iMUiDiw+7dFNmgPC6VAQZ4qkFDBvQvnxOZ0ZNLRKQQ56zH7GFiTbyMvUI 3iGYHu+eNrvIYYUK9mRz4jlbkBtqPQLLmmCBIIvrIzQxHAMw71mGjtInM /shoFLw8G0qCRmujjB2P+BPYuQMRqq5ugF6DvYaEk1T7WRyKMUp7fNoQH jfVbV5jLZJGNng1y4zr0aCKgE9vXBF2c/cHc8QIpjcy+lxJ4LxQfxrzxM g==; X-IronPort-AV: E=McAfee;i="6600,9927,10792"; a="456619034" X-IronPort-AV: E=Sophos;i="6.01,255,1684825200"; d="scan'208";a="456619034" Received: from orsmga003.jf.intel.com ([10.7.209.27]) by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 04 Aug 2023 13:34:08 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10792"; a="680087031" X-IronPort-AV: E=Sophos;i="6.01,255,1684825200"; d="scan'208";a="680087031" Received: from smile.fi.intel.com ([10.237.72.54]) by orsmga003.jf.intel.com with ESMTP; 04 Aug 2023 13:34:05 -0700 Received: from andy by smile.fi.intel.com with local (Exim 4.96) (envelope-from ) id 1qS1Up-0070AP-2g; Fri, 04 Aug 2023 23:34:03 +0300 Date: Fri, 4 Aug 2023 23:34:03 +0300 From: Andy Shevchenko To: Rasmus Villemoes Cc: Marco Elver , linux-kernel@vger.kernel.org, kasan-dev@googlegroups.com, linux-mm@kvack.org, Petr Mladek , Steven Rostedt , Sergey Senozhatsky , Alexander Potapenko , Dmitry Vyukov , Andrew Morton Subject: Re: [PATCH v1 4/4] lib/vsprintf: Split out sprintf() and friends Message-ID: References: <20230804082619.61833-1-andriy.shevchenko@linux.intel.com> <20230804082619.61833-5-andriy.shevchenko@linux.intel.com> <71ce8516-21cb-32c6-84d3-b3f9bb3d625b@rasmusvillemoes.dk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <71ce8516-21cb-32c6-84d3-b3f9bb3d625b@rasmusvillemoes.dk> 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,URIBL_BLOCKED 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 Fri, Aug 04, 2023 at 11:31:58AM +0200, Rasmus Villemoes wrote: > On 04/08/2023 10.26, Andy Shevchenko wrote: ... > > +#include > > Shouldn't this at least also include compiler_attributes.h, to make it > self-contained? As I replied in the other email, this is guaranteed by types.h. But if you insist, I can add it. > As Marco said, please just declare no_hash_pointers in this file as > well. Perhaps with a comment about not accessing it unless one has good > reason, but I suppose that's true in general for all kernel global > variables, so maybe not worth it for this one. Sure, thank you for the review! -- With Best Regards, Andy Shevchenko