Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp1988693pxu; Sun, 13 Dec 2020 09:46:13 -0800 (PST) X-Google-Smtp-Source: ABdhPJzuPahDZGX/UCCIT3mT8Ch4vC0T694JYAvIznS1CaB91S9moDTILWdiZXMODmaMOQPIHWbX X-Received: by 2002:a17:906:74d9:: with SMTP id z25mr1834949ejl.217.1607881573473; Sun, 13 Dec 2020 09:46:13 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1607881573; cv=none; d=google.com; s=arc-20160816; b=p1vIDWuehP0rhBdbYREiicBxefLbvEjQ3eeO4hzhkqV+N70Y7+/EURC/J36F7PGCxb KuvVSohVc7nabe3ZAo22SYaMlK7vDlxM8+UEIu0bwoZIrwkTwxWtpX0s/3Vck9Xp8cAB YnEjdrjQA99hCrqinGepSYUBgi02EyEdNWKMrNFfqOHkmOJA91vTSKbvLFGQsQ96E0o+ WEk+xNR4ND43tmajTrSx9cYIz/YIINAGBg0xIoEiMUBPMR3QkaZ64cAdesHPKa/UBk4m wYfJtm/LdRvH6N+nuicLWfWF/cAUJ89lbH33Zv0TwBdw6U7YIEKxCe6uBZD33z5WcCn6 Xfgw== 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=z/uJz/Jw3MmfDGc84gX9EJKwTVBpnb7jcNLsPy/WYTg=; b=aXtpUN7zoEWoS0mVTWcXrXc+l7GQqIldwCGMaFGJ7Oxg4qspQiWa8YA1NnV9mTAUWd oV8+zzx9Zg3+1nZIPJZKZiFjZqJVcFsv9DtbgfA+iCtFwjj3tb9YN3Md4rSKJG2S2Vz/ YWwS72enL5L+ogludSdko81YtJKn4t1jJqO8oT6i+AC5DMnE7LxnB9Gg2YSS3r0RjQxk YBVjZrwP5KTH34wvAZ54/bBi0RgyBZoOr+kZTvCabeyUmxpeyoFKNC1GmRn3WeDQXKRj S5RieVxSbDRb9sm8+82rGQImur52oCamApUhNspIru3qgNF013Sm7fNz5RrlX/CF143c ZjiA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=qbb6zoMe; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id c23si8249174ejk.52.2020.12.13.09.45.50; Sun, 13 Dec 2020 09:46:13 -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=@gmail.com header.s=20161025 header.b=qbb6zoMe; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1725836AbgLMFFa (ORCPT + 99 others); Sun, 13 Dec 2020 00:05:30 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49186 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725306AbgLMFFH (ORCPT ); Sun, 13 Dec 2020 00:05:07 -0500 Received: from mail-yb1-xb43.google.com (mail-yb1-xb43.google.com [IPv6:2607:f8b0:4864:20::b43]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E9CB3C0613CF; Sat, 12 Dec 2020 21:04:26 -0800 (PST) Received: by mail-yb1-xb43.google.com with SMTP id o144so11738778ybc.0; Sat, 12 Dec 2020 21:04:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=z/uJz/Jw3MmfDGc84gX9EJKwTVBpnb7jcNLsPy/WYTg=; b=qbb6zoMeusOCfpjDEE+KXrzxNik5+GwTEST8oZQxqGb0IPh7Acicglg6QgggwsSODl nhmi5IZs8NFMHOJS9Yo8im9+F6eMyboUcziJjh0xGEuvW0hFEMamyfTAMmkMzuwuwX7N F7un+qdeVf7AfMvJFsM2N74xMrk1N+n+CNi+PoK2LZ/g5SRKe2ZSOaXInTCmSuGM2UqK WDSAPOgdLlaVIC/WZKgWOfLzQGw9yV3yCE+Yjctj5TDfdBKiGsBr/0IZ/eCnmiev/IRO dO9L/dpm29dI+w++0vDQl4NexJ7Effk7Df2uak5r9BhepGYXo6RWONeUuJxNmOU48l+r D/yQ== 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=z/uJz/Jw3MmfDGc84gX9EJKwTVBpnb7jcNLsPy/WYTg=; b=XKSqZ6bfBciGaU7LzdB3WKul/iFwhhxI0Gv04mJjHedTiHmqdGEHQcMG3g2p57cPAU m/SYb+Hvj6Oyou8jUgTEqUAwYEyjrYyR+MWxLOD3wDwQd1vg4RQ0FJLwVrgsFeT09nGU c3UO6YyTZpKDrsrMG54+KCNE3YvJpqs3eqzWD+LaehX75++x0bDFy2a++DjfADG8nxWh 2KKi4QUkLu/09LEvq2zShT1KehL772kfuvUb58+JWAS3iRqmgoiTykeYbpQlLVhXxjrj LprRssx2Ci+LVl1+/LwWecOJ2ZTprYJQC6CG8Oy4vaBpmlFOB7+OdI190upm/IsrCQ+w oTpQ== X-Gm-Message-State: AOAM531pY59J2DVnZ6wFKh2A1Bg7hxt8NB+3guFBCYpna4MX96nhm+nY 32bHdyYEQSmDLGgXUqMa5xRwOBW3yLuapGueO8nBGZTdHAc= X-Received: by 2002:a25:ef0c:: with SMTP id g12mr8240256ybd.26.1607835865316; Sat, 12 Dec 2020 21:04:25 -0800 (PST) MIME-Version: 1.0 References: <20201128193335.219395-1-masahiroy@kernel.org> <20201212161831.GA28098@roeck-us.net> In-Reply-To: <20201212161831.GA28098@roeck-us.net> From: Miguel Ojeda Date: Sun, 13 Dec 2020 06:04:14 +0100 Message-ID: Subject: Re: [PATCH v3] Compiler Attributes: remove CONFIG_ENABLE_MUST_CHECK To: Guenter Roeck Cc: Masahiro Yamada , "Jason A . Donenfeld" , Nathan Chancellor , Nick Desaulniers , Shuah Khan , clang-built-linux , linux-kernel , "open list:KERNEL SELFTEST FRAMEWORK" , Network Development , wireguard@lists.zx2c4.com Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, Dec 12, 2020 at 5:18 PM Guenter Roeck wrote: > > This patch results in: > > 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' > > when building sh:defconfig. Checking for calls to request_irq() > suggests that there will be other similar errors in various builds. > Reverting the patch fixes the problem. Which ones? From a quick grep and some filtering I could only find one file with wrong usage apart from this one: drivers/net/ethernet/lantiq_etop.c: request_irq(irq, ltq_etop_dma_irq, 0, "etop_tx", priv); drivers/net/ethernet/lantiq_etop.c: request_irq(irq, ltq_etop_dma_irq, 0, "etop_rx", priv); Of course, this does not cover other functions, but it means there aren't many issues and/or people building the code if nobody complains within a few weeks. So I think we can fix them as they come. Cheers, Miguel