From nobody Mon Feb 9 13:04:46 2026 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 902C3C7EE23 for ; Thu, 1 Jun 2023 14:50:16 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232380AbjFAOuP (ORCPT ); Thu, 1 Jun 2023 10:50:15 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35140 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234553AbjFAOt4 (ORCPT ); Thu, 1 Jun 2023 10:49:56 -0400 Received: from wout1-smtp.messagingengine.com (wout1-smtp.messagingengine.com [64.147.123.24]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D096C186 for ; Thu, 1 Jun 2023 07:49:42 -0700 (PDT) Received: from compute6.internal (compute6.nyi.internal [10.202.2.47]) by mailout.west.internal (Postfix) with ESMTP id 1B79F32004CE; Thu, 1 Jun 2023 10:49:42 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute6.internal (MEProxy); Thu, 01 Jun 2023 10:49:42 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sakamocchi.jp; h=cc:cc:content-transfer-encoding:content-type:date:date:from :from:in-reply-to:message-id:mime-version:reply-to:sender :subject:subject:to:to; s=fm1; t=1685630981; x=1685717381; bh=Cq tOqnMtfLTl17jHaTNX0NBBuC9GEzqPFAtZkKhT4aQ=; b=FIO86q7ngSkYiI1pra hezdwZjk9KnSAiGxYi02eyU7t1HD6eIPKFWEd7HJh/jxbK3WmEmuXNAlJ/YgeIBu luoKtjCFQmq11NIpB5z5lDD7BDIGiztNJGLz+A/DBwa4LvmLsn3fas3Rl70aCR4j QQwvydBf+Lgdc/iBe2wJvYJ6ebqw7pJkS4Vv0O2LMiJXO3Fc2u+rtlVvzPjk/Nze m5GepDmUOZVk4/dZOxNczHQ248KmjLTksx07q76H1YIrMDEOXeVG7yImWDHYuVDS L3C6VglZYzwQVF0YcqXnROiz+x6BKS3Dtol5WBy/XkzAj87eHS4L3qKbPV9hJENQ gOhA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:message-id:mime-version:reply-to:sender:subject :subject:to:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm1; t=1685630981; x=1685717381; bh=CqtOqnMtfLTl1 7jHaTNX0NBBuC9GEzqPFAtZkKhT4aQ=; b=pzW9xq2p49aFzYxbwsnmSHK38zg0t xDUOWaJvD7RJd1pT6M3deQtrLj4x/CqfKx/XUp4QUbb0P43PO8XBqU1P4+Px8Tqu rk+uYbd/SypkomJPBVTjY7GQHNWLhwroINkQsHfXxZ4nA276WVugJGzPSdmw68Fd oBoHcmfiEoCGJs77lMFjNrUmo9Na7RMmL/SsHVpRKXA7vXa9OUAyuT06RaNCI9Bd RymMbSbdezNq1PTkWSfjxLxfBigNCK+5Fw0nw7PX9E88zu0KMQFOep7l7KbbUgJS 8KqD8HpAcPXynkV6a7urIZyP5whFWwMH9SfIqvZwm999/YE+jMqoPGLKQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedrfeeluddgkeduucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefhvfevufffkffoggfgsedtkeertd ertddtnecuhfhrohhmpefvrghkrghshhhiucfurghkrghmohhtohcuoehoqdhtrghkrghs hhhisehsrghkrghmohgttghhihdrjhhpqeenucggtffrrghtthgvrhhnpeeggfehleehje eileehveefkefhtdeffedtfeeghfekffetudevjeegkeevhfdvueenucffohhmrghinhep khgvrhhnvghlrdhorhhgnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrg hilhhfrhhomhepohdqthgrkhgrshhhihesshgrkhgrmhhotggthhhirdhjph X-ME-Proxy: Feedback-ID: ie8e14432:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Thu, 1 Jun 2023 10:49:40 -0400 (EDT) From: Takashi Sakamoto To: linux1394-devel@lists.sourceforge.net, linux-kernel@vger.kernel.org Cc: Stephen Rothwell Subject: [PATCH] firewire: fix warnings to generate UAPI documentation Date: Thu, 1 Jun 2023 23:49:37 +0900 Message-Id: <20230601144937.121179-1-o-takashi@sakamocchi.jp> X-Mailer: git-send-email 2.39.2 MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Type: text/plain; charset="utf-8" Any target to generate UAPI documentation reports warnings to missing annotation for padding member in structures added recently. This commit suppresses the warnings. Reported-by: Stephen Rothwell Closes: https://lore.kernel.org/lkml/20230531135306.43613a59@canb.auug.org.= au/ Fixes: 7c22d4a92bb2 ("firewire: cdev: add new event to notify request subac= tion with time stamp") Fixes: fc2b52cf2e0e ("firewire: cdev: add new event to notify response suba= ction with time stamp") Signed-off-by: Takashi Sakamoto --- include/uapi/linux/firewire-cdev.h | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/include/uapi/linux/firewire-cdev.h b/include/uapi/linux/firewi= re-cdev.h index 99e823935427..1f2c9469f921 100644 --- a/include/uapi/linux/firewire-cdev.h +++ b/include/uapi/linux/firewire-cdev.h @@ -130,6 +130,9 @@ struct fw_cdev_event_response { * @length: Data length, i.e. the response's payload size in bytes * @request_tstamp: The time stamp of isochronous cycle at which the reque= st was sent. * @response_tstamp: The time stamp of isochronous cycle at which the resp= onse was sent. + * @padding: Padding to keep the size of structure as multiples of 8 in va= rious architectures + * since 4 byte alignment is used for 8 byte of object type in System V A= BI for i386 + * architecture. * @data: Payload data, if any * * This event is sent when the stack receives a response to an outgoing re= quest @@ -155,10 +158,6 @@ struct fw_cdev_event_response2 { __u32 length; __u32 request_tstamp; __u32 response_tstamp; - /* - * Padding to keep the size of structure as multiples of 8 in various arc= hitectures since - * 4 byte alignment is used for 8 byte of object type in System V ABI for= i386 architecture. - */ __u32 padding; __u32 data[]; }; @@ -231,6 +230,9 @@ struct fw_cdev_event_request2 { * @handle: Reference to the kernel-side pending request * @length: Data length, i.e. the request's payload size in bytes * @tstamp: The time stamp of isochronous cycle at which the request arriv= ed. + * @padding: Padding to keep the size of structure as multiples of 8 in va= rious architectures + * since 4 byte alignment is used for 8 byte of object type in System V A= BI for i386 + * architecture. * @data: Incoming data, if any * * This event is sent when the stack receives an incoming request to an ad= dress @@ -284,10 +286,6 @@ struct fw_cdev_event_request3 { __u32 handle; __u32 length; __u32 tstamp; - /* - * Padding to keep the size of structure as multiples of 8 in various arc= hitectures since - * 4 byte alignment is used for 8 byte of object type in System V ABI for= i386 architecture. - */ __u32 padding; __u32 data[]; }; --=20 2.39.2