Message ID | 20230113063756.14071-1-rdunlap@infradead.org |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:4e01:0:0:0:0:0 with SMTP id p1csp121359wrt; Thu, 12 Jan 2023 22:55:37 -0800 (PST) X-Google-Smtp-Source: AMrXdXtXWGKjZE+rSm2i5DB1xtYbYa/51G5wKHZtwE+iGB9WjfvyVxhocYuOR4X9uIdUlJwtrhRH X-Received: by 2002:a17:907:8d09:b0:867:ef3f:dd85 with SMTP id tc9-20020a1709078d0900b00867ef3fdd85mr2584132ejc.56.1673592937663; Thu, 12 Jan 2023 22:55:37 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1673592937; cv=none; d=google.com; s=arc-20160816; b=kC/zwagYAZR33Uqur3zLU/ktMIG7eo4vKmyMA1kgIZXZuiNQTBO59XMtG6gAnflmeV 9DrfcR4XGx6xaN0yetF8Hdl94quwRS1AjUCdaRxzbR0CIbCciKPjfW92g9SUkzays2Kl 3iZoixd09P5iR82hDkQfNUXUQLIYykgw7ommndyOthqsqln06vBBy35B48G2WukbrfXD 5pxHjzmPQimYpOfpoK9HgY0hWOKl0nJ8uLY6jDz/HqlVC+OQQoTpYdpQmnU7Y57xg8jz N39jR49cx4nxmqiU+QYw5AFMriLZZGeDIN6AJ1I0ySInXGv0f3QU9vDWf2fSddUeoZLH 5UkQ== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=+vjCdnNHnoKV66V7CriGqH+jy/q8YcC08G4pBcceoz4=; b=uQuC9VxlyLIIIl2YGSWPJiDTxwcUT1p+Xb04x3AnLVnSGBiETASKXr7Z7uWSXDPXxj 8llnCY1Hp2v+67VJ6fvV0+BnYp5N9HIkFkndJsz3DtMa9NaMYpED0NGxCT/fiXX5AfqV pd1R5juV4kiRFyVw7nQ2mFrn1o92TmYuqXOgCpCewG6cHmJHQ2ACjNgAnWmDIAVtLpqv kjWmD3N1b6qUFwEpulGpmu8hajxSd7RFa7apnwBIFkL+1Xg+4CsffYbQRXe78HxFAo12 LkCg8VjhYxytYABfnkfiHFb+JoH53YaVapJsUIS9lN4kN9vOvijRVsBI56NiFSuSV8hQ QPhQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=ZxGFpU8M; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id oz6-20020a1709077d8600b0085fea84a453si6940664ejc.402.2023.01.12.22.55.14; Thu, 12 Jan 2023 22:55:37 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=ZxGFpU8M; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240748AbjAMGya (ORCPT <rfc822;zhuangel570@gmail.com> + 99 others); Fri, 13 Jan 2023 01:54:30 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56878 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240140AbjAMGxz (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Fri, 13 Jan 2023 01:53:55 -0500 Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3FAD180AD5; Thu, 12 Jan 2023 22:37:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Content-Transfer-Encoding: MIME-Version:Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To:Content-Type: Content-ID:Content-Description:In-Reply-To:References; bh=+vjCdnNHnoKV66V7CriGqH+jy/q8YcC08G4pBcceoz4=; b=ZxGFpU8MYskapzeoOdpERrzVzq YkDWqcyxmJMkvHFeTpfM9+NL+cPObd98toj9MGz4tghL1Ww8xOulgp5Xip2xEJMyPLnqBybKcaY6f 4hlqG2YHhpm/L2FR7QDAUHCIzKHB3OWke6IVeifKfnxNo2fs2wDisZ5r7+dy3QZC4zAMNsFF+xyji CjNWqi+Ga3lMITzHeRm286GFzPRrVf2Jil9ItutdJn2wP36DR3zqWGLTRQC2M6Qd9USVf2Eu5Eg1o eFmBqEJiyU2ijIKz9S+IPFpiNvhyyk7TIOO99RXq/nLsYIIFL+X8tr8xQrVdaagSgxNclOzh6/YMF 618Kzhsg==; Received: from [2601:1c2:d80:3110::9307] (helo=bombadil.infradead.org) by bombadil.infradead.org with esmtpsa (Exim 4.94.2 #2 (Red Hat Linux)) id 1pGDhP-000qH5-1J; Fri, 13 Jan 2023 06:37:59 +0000 From: Randy Dunlap <rdunlap@infradead.org> To: linux-kernel@vger.kernel.org Cc: Randy Dunlap <rdunlap@infradead.org>, Krzysztof Adamski <krzysztof.adamski@nokia.com>, Wolfram Sang <wsa@kernel.org>, linux-i2c@vger.kernel.org Subject: [PATCH] i2c: axxia: use 'struct' for kernel-doc notation Date: Thu, 12 Jan 2023 22:37:56 -0800 Message-Id: <20230113063756.14071-1-rdunlap@infradead.org> X-Mailer: git-send-email 2.39.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_NONE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1754889388098995173?= X-GMAIL-MSGID: =?utf-8?q?1754889388098995173?= |
Series |
i2c: axxia: use 'struct' for kernel-doc notation
|
|
Commit Message
Randy Dunlap
Jan. 13, 2023, 6:37 a.m. UTC
Add "struct" to prevent this kernel-doc warning:
drivers/i2c/busses/i2c-axxia.c:135: warning: cannot understand function prototype: 'struct axxia_i2c_dev '
Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Cc: Krzysztof Adamski <krzysztof.adamski@nokia.com>
Cc: Wolfram Sang <wsa@kernel.org>
Cc: linux-i2c@vger.kernel.org
---
drivers/i2c/busses/i2c-axxia.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Comments
On Thu, Jan 12, 2023 at 10:37:56PM -0800, Randy Dunlap wrote: > Add "struct" to prevent this kernel-doc warning: > > drivers/i2c/busses/i2c-axxia.c:135: warning: cannot understand function prototype: 'struct axxia_i2c_dev ' > > Signed-off-by: Randy Dunlap <rdunlap@infradead.org> > Cc: Krzysztof Adamski <krzysztof.adamski@nokia.com> > Cc: Wolfram Sang <wsa@kernel.org> > Cc: linux-i2c@vger.kernel.org Applied to for-current, thanks! @Krzysztof: I hope you don't mind, I want to send out for-current soon.
diff -- a/drivers/i2c/busses/i2c-axxia.c b/drivers/i2c/busses/i2c-axxia.c --- a/drivers/i2c/busses/i2c-axxia.c +++ b/drivers/i2c/busses/i2c-axxia.c @@ -118,7 +118,7 @@ #define SDA_HOLD_TIME 0x90 /** - * axxia_i2c_dev - I2C device context + * struct axxia_i2c_dev - I2C device context * @base: pointer to register struct * @msg: pointer to current message * @msg_r: pointer to current read message (sequence transfer)