Received: by 2002:a05:7412:31a9:b0:e2:908c:2ebd with SMTP id et41csp3993523rdb; Thu, 14 Sep 2023 08:42:09 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEZ2g0jYMc6w8Yju/YYq1Sg5xv7B6cY5YVH3RPDlJ9EV+TxYqkghh4Q7hk+2vK2PhY/0S+0 X-Received: by 2002:a17:90a:247:b0:269:34a6:d4ca with SMTP id t7-20020a17090a024700b0026934a6d4camr5352548pje.0.1694706129144; Thu, 14 Sep 2023 08:42:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1694706129; cv=none; d=google.com; s=arc-20160816; b=MHWfyFKWbt7/o+ULehk1D7Ou4v3rY9+toFotHQDe87AvMeUjOwzM9TNdov1Ofpaqgg PyT7UNVDpkKkBtjwCHQ92XT6xYkCwYHlRbYHXQlwsNa15x9x3HpHB1wuO6ERGgNJ1zcY 0hU6/1/BLsQaC7et0AWjvtlfarT6ZEIa3iQxmSUTlG73a4qV8bwpMhkXK7FYDnUtS9G6 71pCdIxCDoZiJTeZQvI5SUhAySChxaRxKtePjqiwoI/4GAtQ7LeloZl5UF9qJ1ASD+hj p0aH4PqAIXlOOcyDLHFgxMUehEl7pchWpvUcgqU/HMN/LEeMfjoVtBMFvA/g+L4w82oA I++Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=CW4xQL0lp7WQtr82e0JVWX5nCGIsN3O70y5JMjEzbg8=; fh=B5++4cMppFE2yG4hsL7dvFab9ytNWwYSrHNRaMWIu5Y=; b=bLOmRPZQWAfmolkQ8XVmhcErHIxt1xlMSikGZimioR5HW06TWIrZq5fL3MethIP3I5 zDxuoEgd4VIZ6MlMuy94CyzFHVFlpxy8zClN/0g3dloIokpzAIX9f5N6sAi7leTTmZsP u8ZtbyMDk9Z8PtjMbVkFjyNf11PEtl+FaxcElVnSzvtl22JfwM+ttVckPYPZGhOBEI2N QP3HiKNBvkqvAHHK/xCwntrq7ZfGT2yarumHVUnUBcmdxKpA94L55YQCsmVpWIpc0KHF sYcsZXAHc9KK1aSuAH7Gs7vvKXBpTssaZ/5l3eBX0pAHZUnrMT59nHaOIxZh7PFU00Lt xV6Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=O3dJ2yRw; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from howler.vger.email (howler.vger.email. [2620:137:e000::3:4]) by mx.google.com with ESMTPS id bk20-20020a17090b081400b0026f833f5023si4167195pjb.174.2023.09.14.08.42.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Sep 2023 08:42:09 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) client-ip=2620:137:e000::3:4; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=O3dJ2yRw; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by howler.vger.email (Postfix) with ESMTP id D58448074509; Thu, 14 Sep 2023 08:25:48 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240810AbjINPZj (ORCPT + 99 others); Thu, 14 Sep 2023 11:25:39 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58340 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235048AbjINPZi (ORCPT ); Thu, 14 Sep 2023 11:25:38 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9C263C6 for ; Thu, 14 Sep 2023 08:25:34 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 3CE16C433C7 for ; Thu, 14 Sep 2023 15:25:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1694705134; bh=knWsHjBFVRzdgek7o198MSYRBmsXslhV9GmcwZLF6yE=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=O3dJ2yRwd8ajZp73nuPqUbjPhXusPFVa5xTYPVePNAsdbvpw8dJ5Nwhw/1c+hCvNG 9D0E/UNKtrW45cljZ7CPmVpzp5fyJsxBYzQBMOF9hqggu7K3w1l6jAKB2ZidkO2aHS Xlsn3nQwJynB93v44RjfHbK1Jh/v1SMdfWUG/mPWNX+L+Dc2K4Tdff0w6+RKr5NOGR Ktuddgq7Nw0UFl+3QJ0xioQ3VWJPTy7lPXWki127Zc1Nb/GmCJfXIoUwdPkBvVC9+2 0X0h4/7MwLmRqSEAiRadXRUQfLLd1+4j2Cg7f4u/OFrxmQm3c+HXX3YSQIB6CV2qpY fk118OZ2a9Cyg== Received: by mail-ed1-f44.google.com with SMTP id 4fb4d7f45d1cf-52f9a45b4bdso1286149a12.3 for ; Thu, 14 Sep 2023 08:25:34 -0700 (PDT) X-Gm-Message-State: AOJu0YyQ393+nEiF6BDMvuNCpkTirtLftj3tYQbjGvr9VzxXR/eKyxty kM0/ht5Ea7z6rL+iKfOyZ8Y9ZoqFcwDcgosZGvk= X-Received: by 2002:aa7:c703:0:b0:52a:250e:a052 with SMTP id i3-20020aa7c703000000b0052a250ea052mr5581143edq.7.1694705132751; Thu, 14 Sep 2023 08:25:32 -0700 (PDT) MIME-Version: 1.0 References: <20230914103445.511285-1-andriy.shevchenko@linux.intel.com> In-Reply-To: <20230914103445.511285-1-andriy.shevchenko@linux.intel.com> From: Huacai Chen Date: Thu, 14 Sep 2023 23:25:22 +0800 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v1 1/2] LoongArch: Add missing headers To: Andy Shevchenko Cc: loongarch@lists.linux.dev, linux-kernel@vger.kernel.org, WANG Xuerui Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (howler.vger.email [0.0.0.0]); Thu, 14 Sep 2023 08:25:49 -0700 (PDT) Hi, Andy, Thank you for your patch, can this patch solve the problem below? https://lore.kernel.org/oe-kbuild-all/202309072237.9zxMv4MZ-lkp@intel.com/T= /#u If yes, please add a reference in the commit message. I have investigated this problem for a long time but failed to solve it. Huacai On Thu, Sep 14, 2023 at 6:34=E2=80=AFPM Andy Shevchenko wrote: > > The header uses definitions from sizes.h, include it. > For __iomem we need the compiler_types.h, include it. > > Signed-off-by: Andy Shevchenko > --- > arch/loongarch/include/asm/addrspace.h | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/arch/loongarch/include/asm/addrspace.h b/arch/loongarch/incl= ude/asm/addrspace.h > index 5c9c03bdf915..eaf8ac098622 100644 > --- a/arch/loongarch/include/asm/addrspace.h > +++ b/arch/loongarch/include/asm/addrspace.h > @@ -10,7 +10,9 @@ > #ifndef _ASM_ADDRSPACE_H > #define _ASM_ADDRSPACE_H > > +#include > #include > +#include > > #include > > -- > 2.40.0.1.gaa8946217a0b > >