Received: by 2002:a05:6a10:f3d0:0:0:0:0 with SMTP id a16csp1509495pxv; Fri, 25 Jun 2021 14:59:24 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzb+SyD65CFlf/KdOhDLwUoGp/ji87+n32jIF/FuiPeZuEJrIJekGLwOUTjtjaNReiM0UYz X-Received: by 2002:a05:6e02:e43:: with SMTP id l3mr8840976ilk.64.1624658364701; Fri, 25 Jun 2021 14:59:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1624658364; cv=none; d=google.com; s=arc-20160816; b=KdIPv0cH+RXj1CkbFK7ph8u7gVAERfrQd7b6yJMOG37AU9zbsyF/W6v6u3DeGQgcs8 yohm+bilbGi14/JV92cT7g3/3K3VbX74XaWqdF04xzPTF9AgBO6E22vo69qfbn/xvHcN aDH+azEJq0Y/OWyezT1Siode9kGgvRuhKPDRDeCr42o35hqgryarmo59l4cw6m9aeIoY 1QyPM5aGL0/a5WGn5PNR6TWsgh77HguHMf/Y3fxofWaCB1YN5Qt3GKRaFhOddyhEUh9u ui86C2Xph0EgV994QgjntU2v4rHIX/Aqn5mZTdKA6S7/ixyBjLQ9emUjl+rh6rApwrr6 EMkg== 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=KIJ95ZY3Sb7CSX9xchZZbIZog2D6IH+x9tYNzZe491c=; b=mtcRhmagPldgpJVwvM472D9oIoGpdX/JQfzKML3ldb6gwSWvOw1o8ShU8PFSTtEa0o zJKUuxGJdiN+m82iF8dZAaAxPg2SWJSbUACk1IMjSfKmTr/HkwjTXyhQb975yttU582L 6vLomO27Wb2+6Qbqx5FG+dFo5SWKh3LTHDez+brjJz6PQRAhjF1w1tSIV7pRnO8Ei1aI /g8hMm4OQkYSBJmtQTzwR0Jk6zlSieSoJ/EEgxf4oLhnRWBxL9BcMaOOh9xZa5pOEGwq NkjX0wMQcPjV0R8+XW0pVtHNLJw/5X6qqFhNSQ2UHuZ8cKmznrdXS5vazN+VUHv2g0e4 cFRg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=GX19SRHN; 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 i15si6884123ila.101.2021.06.25.14.59.12; Fri, 25 Jun 2021 14:59:24 -0700 (PDT) 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=GX19SRHN; 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 S229812AbhFYV75 (ORCPT + 99 others); Fri, 25 Jun 2021 17:59:57 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44212 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229531AbhFYV74 (ORCPT ); Fri, 25 Jun 2021 17:59:56 -0400 Received: from mail-yb1-xb2d.google.com (mail-yb1-xb2d.google.com [IPv6:2607:f8b0:4864:20::b2d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F278EC061574 for ; Fri, 25 Jun 2021 14:57:32 -0700 (PDT) Received: by mail-yb1-xb2d.google.com with SMTP id m9so6852793ybo.5 for ; Fri, 25 Jun 2021 14:57:32 -0700 (PDT) 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=KIJ95ZY3Sb7CSX9xchZZbIZog2D6IH+x9tYNzZe491c=; b=GX19SRHNzluXsOAMnJde5ZS1ydej3xFsDZx7/3nH12No787EDKYGH3odC8/YavZgfe pDT2fKCblY/jI4M/nqaxqExCfQtiZdFeqwjPwVB21ZVNL65cvEyPUDp52CEQ7Ou8e5PC sHadwE8GPmluJt6e7SpFhIgCnq6+kxg5qGFhXMjAgGf9o80V7SJO8nyCbVMSkiSmAE9l Vtrl+5tzpMQ3AQa5YXv7UUg9WpljsaEpu9zehnM3B8G6T5gtV6z0dvIF/W0SCQKcx09s SVlyoWPP40MqrNnUoKbs8wal+h+6OI5+K+SxoTwjavJJrLcmRwk5T47DgYa1qzLsxp/n N+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=KIJ95ZY3Sb7CSX9xchZZbIZog2D6IH+x9tYNzZe491c=; b=tQizCZj7IUmuwibvzkPG4eV1IwD2M0aegbepStqIXK7jgxEdl3vdADkzI9RnDA59Ay LYMvwmpnELoJooFOevYMkU9bLOKaLexwTUmr56Nupq8ZZhN8Qm7de8bAhgNs5khciqic cQeSr+uf+nEhmsmI7aWRX33MKX7jawKmVLnWBIn3Z6+rUWnVtHv5fDKMAfpNfb8fz4g5 psP1uXU9kYOAZ2OczR24ln/RC2wDTVDSfoS5A6nKkTHrRdGiuygJcLAPGBhgKYFW89N3 rqtQZ4+P7HACa/Ak5ESdjW4CcyZQA+193oXHuCFr7ui38rG9ljRSWzZ3VNabHI04EmsN 7avQ== X-Gm-Message-State: AOAM532xe3rDsxbTUnBlzq7uQEIx0jwgSD4E9jo5rs3EkBBOPECpJeVo qlfx+SA9/6CSfECXUJm2pVwrpMvng/OhYw8gW1A= X-Received: by 2002:a25:d8c8:: with SMTP id p191mr14928685ybg.247.1624658252219; Fri, 25 Jun 2021 14:57:32 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Miguel Ojeda Date: Fri, 25 Jun 2021 23:57:21 +0200 Message-ID: Subject: Re: [PATCH] ELF: add and use SUPRESS_WARN_UNUSED_RESULT To: Alexey Dobriyan Cc: Andrew Morton , linux-kernel , Miguel Ojeda Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Jun 25, 2021 at 11:10 PM Alexey Dobriyan wrote: > > This is natural place. If you're supressing WUR, then the WUR macro > itself is defined implying that the header has been included. I am not sure I understand -- I guess you are saying that your macro is only ever needed if `__must_check` is defined, which is what I meant by "related". But this header was intentionally created to untangle others by keeping only attributes here. Cheers, Miguel