Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp11459530pxu; Thu, 31 Dec 2020 09:52:50 -0800 (PST) X-Google-Smtp-Source: ABdhPJy1hlTAmsGiEMv7AK+T4HAf+sFeByHyG6OUAHqcP9DIo1uTziGlSElwz50PNZTTTOKtFafM X-Received: by 2002:a50:b765:: with SMTP id g92mr56067710ede.317.1609437169919; Thu, 31 Dec 2020 09:52:49 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1609437169; cv=none; d=google.com; s=arc-20160816; b=xSXlu3igT4KrgGTI2O1JHV11FXScZXGgqW5niou6wGzr2Qb9EsTeyVX/FrGKYKWi4y 786+lQN5Cg4lY6YXL1Lw4aOeefU9/bza0zJZVI4BDsSJHoT54lHrelJtq9D6yVecrjex G8C9p1IjeBPstFMZ5UStZP00crcbggVIpMxz0c8uj2wX2vj3iKn3qwFcC5kCJQuRiJVv NP0erlFQqxnRb40puqpUynumev9p9Fvm57uIrvtTOtjJftuYGN4qYgn+z5fA/iiaDRvQ aqxwC0ksSAjNqZDuXaGIHPRAny7Bp3qJ7MBEe27tXIDvUeEC4fCMT86DdbUMjKDauaLK V29g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=jUMjEdGbLDnXMtL7ZQtAd6uBEwt+BnvAK/zMbo8ySxo=; b=UPz9Hm6x1AIrZvt7KlCPDJ3TSEXCgJOxaK2A90yi8IMUHDnT/6P7LPeZKFJmJfaa2N fDvNPcUAwYaQMqP2yHtvyG3LrHvXnNBbuC3AogEEJNdKdvJnqkM/Sg8WBZSS8P3RnMnq ms28sxtn5EvMFWHhBpY7o6qXrZsvU3h/3QDFfW8iQihdoI7w/KA+3bNbEWt6uX8w36/4 j4I3MQRjCMPpDz559vUMHEnd7spl+HB3wxP+v9RHoRDpRt+/mhAtSOc0OE2W+aEp1h+r RYRqV12swtcjEDW2vJVXvJ8ucy9xeKZBD98pRvOVx18KjyUmiVQ/CfsSwGfZiDg9EMQr IdGg== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id 3si24681791edw.263.2020.12.31.09.52.08; Thu, 31 Dec 2020 09:52:49 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727187AbgLaRnF (ORCPT + 99 others); Thu, 31 Dec 2020 12:43:05 -0500 Received: from relay6-d.mail.gandi.net ([217.70.183.198]:52541 "EHLO relay6-d.mail.gandi.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727048AbgLaRnF (ORCPT ); Thu, 31 Dec 2020 12:43:05 -0500 X-Originating-IP: 86.202.109.140 Received: from localhost (lfbn-lyo-1-13-140.w86-202.abo.wanadoo.fr [86.202.109.140]) (Authenticated sender: alexandre.belloni@bootlin.com) by relay6-d.mail.gandi.net (Postfix) with ESMTPSA id 741A7C0003; Thu, 31 Dec 2020 17:42:23 +0000 (UTC) From: Alexandre Belloni To: Nathan Chancellor Cc: Alexandre Belloni , linux-i3c@lists.infradead.org, Nick Desaulniers , clang-built-linux@googlegroups.com, linux-kernel@vger.kernel.org, Nicolas Pitre Subject: Re: [PATCH] i3c/master/mipi-i3c-hci: Fix position of __maybe_unused in i3c_hci_of_match Date: Thu, 31 Dec 2020 18:42:23 +0100 Message-Id: <160943653614.132002.12499200411415721355.b4-ty@bootlin.com> X-Mailer: git-send-email 2.29.2 In-Reply-To: <20201222025931.3043480-1-natechancellor@gmail.com> References: <20201222025931.3043480-1-natechancellor@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 21 Dec 2020 19:59:31 -0700, Nathan Chancellor wrote: > Clang warns: > > ../drivers/i3c/master/mipi-i3c-hci/core.c:780:21: warning: attribute > declaration must precede definition [-Wignored-attributes] > static const struct __maybe_unused of_device_id i3c_hci_of_match[] = { > ^ > ../include/linux/compiler_attributes.h:267:56: note: expanded from macro > '__maybe_unused' > #define __maybe_unused __attribute__((__unused__)) > ^ > ../include/linux/mod_devicetable.h:262:8: note: previous definition is > here > struct of_device_id { > ^ > 1 warning generated. > > [...] Applied, thanks! [1/1] i3c/master/mipi-i3c-hci: Fix position of __maybe_unused in i3c_hci_of_match commit: 291b5c9870fc546376d69cf792b7885cd0c9c1b3 Best regards, -- Alexandre Belloni