Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp13733958pxu; Mon, 4 Jan 2021 03:01:36 -0800 (PST) X-Google-Smtp-Source: ABdhPJyPmh1Q/3Rpz7JkZcGBZFsgyx2SYd1SKbignv/xTpa7lihAGtJIWOQa7lPNAG+O8ShxeGkS X-Received: by 2002:a05:6402:171a:: with SMTP id y26mr71760138edu.371.1609758096151; Mon, 04 Jan 2021 03:01:36 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1609758096; cv=none; d=google.com; s=arc-20160816; b=LfFh5CZSqjEdsqMGpjRrZWOC9i0cx4xypMmbK2xxjKh3iEeSeIa1JTbhUjnu/2u8H2 9ei+/4q34EtgLEHULN+kx73ZwdLnspqdphi/D06/npN01dDESCA6QoiGwhUGwBLZmbJm i5x0jKNu3csyqb1lXAkkEehBNHONFRcvqd9EoWwhnQnxj8rEv5ZDqB9cCRhd8wFpu+Iu rSPP/n/53hldPuAvzRehh7PHv40cOrqExWNze9vkPm8w0D01lscwdH7kzRhuzpmK3p9P E113E0nnRPIls1udqdENOm3b+cswcU9UhYuUQK2DszdalQvv3bBtgeJz3z0DtCJOsGeU dUmQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=e2XTKO07RkHiN0jB+08Hz0QNSOJZsUf68U5bg9AP9cs=; b=qcudIs+xXnOhWW8EvjwfVuVG2OI007EDnO68NpYr2PFx2SmNm2hLh+6cg4oFpQlyzq axfwLm06CKwm1Ari/8DJzgvDdHyD0A41G+J7iAgJeoHYwqIqM5qQfTxcfkBKTsXKUVL3 YffSB+0pxtq7QdefWZ4vLA2JwigMsfz/nKVkoiifVBe//qgwlv7q2D63lk0UPofSiBUo eEdpmdEVp76Is+ooPkOqVuFECqnizNhADF5HHioYfWtGUw6LJqXu8kIhnGL32WTiAaHo rdWSWz0rTCwilVGkYW9nJryncHqJclYt6OLZLIoKSKtYVz6vfPS31tBHz6bUlUFDWBHN SPCQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=u3Al1M7W; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id j1si31157544edn.611.2021.01.04.03.01.12; Mon, 04 Jan 2021 03:01:36 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=u3Al1M7W; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726248AbhADK7z (ORCPT + 99 others); Mon, 4 Jan 2021 05:59:55 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55258 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726129AbhADK7y (ORCPT ); Mon, 4 Jan 2021 05:59:54 -0500 Received: from mail-ed1-x529.google.com (mail-ed1-x529.google.com [IPv6:2a00:1450:4864:20::529]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 70253C061574 for ; Mon, 4 Jan 2021 02:59:14 -0800 (PST) Received: by mail-ed1-x529.google.com with SMTP id i24so26867108edj.8 for ; Mon, 04 Jan 2021 02:59:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=e2XTKO07RkHiN0jB+08Hz0QNSOJZsUf68U5bg9AP9cs=; b=u3Al1M7Wsh5+XczAi/pOAVxGnzkXUFMCkcxICIuYrz595GUTSAOZkoZvXz9tDIxAKt wqP3enhqv/unLZ6A3QVuN+L8+bnKO/HXnzLfMy0YMUVCsh0403c4sELYb7FEI7l70aZJ suxf6zZE4qw0gmPQ+G4J0fHkHlGAmWcaEHTszviYghZqCFJlISUjczqI2i442VkT+xzx YmzhfLEjXWl9LOC9ijsf7yRvU5U5pcgGd3+N2nRxWkRoL26NkLI1MCflaFGfbN0rSwlC DgpU6cFKd3uIkryUdxlilFNPCh1DlL0hhThGbzDvk3xLh8lgSJU2G+bnivZPkB6QXy/F g8fw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=e2XTKO07RkHiN0jB+08Hz0QNSOJZsUf68U5bg9AP9cs=; b=VLPH5qQHTd8Ek6kceAme5PvHj2lUyn7837tMwlxBMTVoD1JNojyEix+E8+Aq3Fs8Mc ugWdmVlTl5E0sN6MFx8rLaPxY4dTvnOf475l+ADVST1R+u0V8A0wlZjiMFjiEhAVl6HT k//pjD6w+3+x/p3dyaSBGJtnmo4kxw0uKekY1k9ueFYoutAObp3gPnm4n04u9awp5WUO VYp7kJ2vAq1Ikdvbj5uIdGe7Y6TDiEpHbqMKPQA++MM3VPkfd2hS4WDVCgt9ld6ey/CU KiznOozOxCfLxLPnzUyTz+AT6/ucGmIQlvF1rB27P7XHsmQrKyJJqNoMwFRALcoIpPmy klmA== X-Gm-Message-State: AOAM531LhKT65tDz8bszdf+r2DNCNnzTkCjlx/oKRp4Lt/TjlTpPbf7w b+Q3xMxIZw/NpjEDVUWaLZwBrdIMEj2NQGolGUgcHA== X-Received: by 2002:a05:6402:229b:: with SMTP id cw27mr69366993edb.23.1609757953078; Mon, 04 Jan 2021 02:59:13 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Naresh Kamboju Date: Mon, 4 Jan 2021 16:28:59 +0530 Message-ID: Subject: Re: [sh] smp-shx3.c: error: ignoring return value of 'request_irq', declared with attribute warn_unused_result To: John Paul Adrian Glaubitz Cc: open list , linux-sh@vger.kernel.org, lkft-triage@lists.linaro.org, Yoshinori Sato , Rich Felker Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 1 Jan 2021 at 20:18, John Paul Adrian Glaubitz wrote: > > Hello Naresh! > > On 12/9/20 6:26 PM, Naresh Kamboju wrote: > > Linux next 20201209 tag the arch 'sh' defconfig build failed to build with > > gcc-8, gcc-9 and gcc-10. > > > > arch/sh/kernel/cpu/sh4a/smp-shx3.c: In function 'shx3_prepare_cpus': > > arch/sh/kernel/cpu/sh4a/smp-shx3.c:76:3: error: ignoring return value > > of 'request_irq', declared with attribute warn_unused_result > > [-Werror=unused-result] > > request_irq(104 + i, ipi_interrupt_handler, > > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > IRQF_PERCPU, "IPI", (void *)(long)i); > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > > > Reported-by: Naresh Kamboju > > I can't reproduce this issue on Linus' current tree as of today. > > Maybe the issue has been fixed in the meantime? Seems like this has been fixed in the meantime. - Naresh