Received: by 2002:a05:7412:b995:b0:f9:9502:5bb8 with SMTP id it21csp1509536rdb; Sat, 23 Dec 2023 09:17:39 -0800 (PST) X-Google-Smtp-Source: AGHT+IFKy6NAo9OwfCKAj3jJ6JUt9VQUmWGKXROhHuw+Ua0OkvT7y6DEad6lXYU0bsI/dCNz+n28 X-Received: by 2002:a05:6e02:3181:b0:35f:b606:fe9a with SMTP id cb1-20020a056e02318100b0035fb606fe9amr4942501ilb.3.1703351859263; Sat, 23 Dec 2023 09:17:39 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1703351859; cv=none; d=google.com; s=arc-20160816; b=FexKza5iX3zlbwsBhdhaIUpncvcBd1cqG16EPGx6IIxIOTutih22QOOFSYzyz2f7BA LuHy1aoTbYQg/KREr0opEW7S4bkaI5Mxrq9jlYLStMi1UMPVarFC2bEAq+O2EQ3Cefw1 PJoKmiyCtwA4KHVaNIpwOHytOEmLTfdvieiitQKqMKw/ELbEyY6hH6Qm1IAIfgXGoztw p4aVhNwA5KJneUAlRv2rTsSkvel7rTuH35fUMJObxezt9NYL737n3MwcRWfaduDUqyhF 2IF/8lICIucA7ciZKjsj7lUTGIEE96+LmPlBee4OQPOAEop6harp1wBDLtPXtUsmklQ0 QhTQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=Q62WNNWZ2lfBVFMcSG5BsRb6SIeoYe2usU45vEczado=; fh=oWuflpoAaVHjv4VeYAikYPAb6yTzMnWE1HQdLY7xm5I=; b=ujTk/zJz/xQFAHtqnY2hoEthxChdAja/I3FyQfG9FZvlYxPLUWRqTx7VWesqfthVA4 MuH1Zf6zENVZIDMzEApdt8QtEfCqXYY9QNcPMm6P51CUNg9AjGSnRMIHsV/t6YMRQXIu ORxkkyMvu+GfyyKlovPmLfreSjO+u5PsaGcW+6MFmoFe3TRfygJZkSPUhWUkxQUDvwq0 MNUN39YtJ1r8PeJki+E3Cpt0eAwGHDSzsKT+vTOSkv19EeLwUPw9bx5k2UMwxDXQke7J cF3zy8FppGqZ5AT5ACpRtm3etY8q1lqergvwag3e4K18Dgm2icGynX5FygvnSlu2Jt6a ob1g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=FSif25Dv; spf=pass (google.com: domain of linux-kernel+bounces-10507-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-10507-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id ck22-20020a056a02091600b005cdf851b5ffsi2965521pgb.537.2023.12.23.09.17.38 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 23 Dec 2023 09:17:39 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-10507-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=FSif25Dv; spf=pass (google.com: domain of linux-kernel+bounces-10507-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-10507-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id 82FA8B21F6D for ; Sat, 23 Dec 2023 17:17:11 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id B436011C8A; Sat, 23 Dec 2023 17:17:02 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b="FSif25Dv" X-Original-To: linux-kernel@vger.kernel.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.subspace.kernel.org (Postfix) with ESMTPS id CDE23208B9; Sat, 23 Dec 2023 17:16:59 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=infradead.org Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Content-Transfer-Encoding: Content-Type:In-Reply-To:From:References:Cc:To:Subject:MIME-Version:Date: Message-ID:Sender:Reply-To:Content-ID:Content-Description; bh=Q62WNNWZ2lfBVFMcSG5BsRb6SIeoYe2usU45vEczado=; b=FSif25DvNHqBmd4ALT7goYKspC 2gE4o6sLy+kIsUL2/8RYf743T7k/HneSsZwq6OoUQ2SehqTpbjAkdt5AIkPswCLHuTT0xTKLbE06w TMUkSoJp6enwN3NbNZmoR7vpN5dwrlmVXknKG0tVKoKktechUPL7seoh6j7QEXz3u2jB4ioR3wXqd CVZEwKonkYAtoctAFmYKyDjnk4Ya/r7GDxPLt33403rV4jqxjPu+gYl0+R6Mws0cx9c3dgcfyGB80 wiVbroOP04EaRnGR7d1+d/6h4clLwoa/rlbD5svbRIzxMxr6lxPEE95IkywRGdGHbu4s9FIB5Kklo 11gucG+w==; Received: from [50.53.46.231] (helo=[192.168.254.15]) by bombadil.infradead.org with esmtpsa (Exim 4.96 #2 (Red Hat Linux)) id 1rH5cQ-008D1e-1C; Sat, 23 Dec 2023 17:16:58 +0000 Message-ID: <04d355d7-ced1-4dd6-b0de-29478a67f15d@infradead.org> Date: Sat, 23 Dec 2023 09:16:56 -0800 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v2] LoongArch: signal.c: add header file to fix build error Content-Language: en-US To: Huacai Chen Cc: linux-kernel@vger.kernel.org, WANG Xuerui , loongarch@lists.linux.dev, Kent Overstreet References: <20231222044554.25656-1-rdunlap@infradead.org> From: Randy Dunlap In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit On 12/23/23 02:27, Huacai Chen wrote: > On Fri, Dec 22, 2023 at 12:59 PM Huacai Chen wrote: >> >> Hi, Randy, >> >> I cannot reproduce it with the default config file. > Oh, I know, this error only occurs in linux-next, but I think this > patch should be squashed into "rseq: Split out rseq.h from sched.h". > Or as a fix applied to the bcachefs tree rather than the loongarch > tree. Yes, I think Kent is taking care of it. Yes, in linux-next. Thanks. > Huacai > >> >> Huacai >> >> On Fri, Dec 22, 2023 at 12:46 PM Randy Dunlap wrote: >>> >>> loongarch's signal.c uses rseq_signal_deliver() so it should >>> pull in the appropriate header to prevent a build error: >>> >>> ../arch/loongarch/kernel/signal.c: In function 'handle_signal': >>> ../arch/loongarch/kernel/signal.c:1034:9: error: implicit declaration of function 'rseq_signal_deliver' [-Werror=implicit-function-declaration] >>> 1034 | rseq_signal_deliver(ksig, regs); >>> | ^~~~~~~~~~~~~~~~~~~ >>> >>> Fixes: b74baf4ad05b ("LoongArch: Add signal handling support") >>> Signed-off-by: Randy Dunlap >>> Cc: Huacai Chen >>> Cc: WANG Xuerui >>> Cc: loongarch@lists.linux.dev >>> Cc: Kent Overstreet >>> --- >>> v2: repair Cc: list >>> >>> arch/loongarch/kernel/signal.c | 1 + >>> 1 file changed, 1 insertion(+) >>> >>> diff -- a/arch/loongarch/kernel/signal.c b/arch/loongarch/kernel/signal.c >>> --- a/arch/loongarch/kernel/signal.c >>> +++ b/arch/loongarch/kernel/signal.c >>> @@ -15,6 +15,7 @@ >>> #include >>> #include >>> #include >>> +#include >>> #include >>> #include >>> #include -- #Randy https://people.kernel.org/tglx/notes-about-netiquette https://subspace.kernel.org/etiquette.html