Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754148AbdHXX1q (ORCPT ); Thu, 24 Aug 2017 19:27:46 -0400 Received: from esa4.hgst.iphmx.com ([216.71.154.42]:21320 "EHLO esa4.hgst.iphmx.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753495AbdHXX1o (ORCPT ); Thu, 24 Aug 2017 19:27:44 -0400 X-IronPort-AV: E=Sophos;i="5.41,423,1498492800"; d="scan'208";a="45165602" From: Bart Van Assche To: "corbet@lwn.net" , "gregkh@linuxfoundation.org" CC: "linux-kernel@vger.kernel.org" , "linux-doc@vger.kernel.org" Subject: Re: [PATCH] driver core: Document struct device:dma_ops Thread-Topic: [PATCH] driver core: Document struct device:dma_ops Thread-Index: AQHTHSWhg/s4/Js8kEmmYV+EfSBZMKKUJIuA Date: Thu, 24 Aug 2017 23:26:56 +0000 Message-ID: <1503616763.2899.123.camel@wdc.com> References: <20170824160910.43c9b643@lwn.net> In-Reply-To: <20170824160910.43c9b643@lwn.net> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=Bart.VanAssche@wdc.com; x-originating-ip: [63.163.107.100] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1;CY1PR0401MB1067;20:EG6iApe8dbE8gJP3nGzbViG2dq9Se2j03oQ3KWnvxk4egWtjTL2MR7BohFdyXLGkXKvspMfl3GQYoWiUr1V7St465hpR080ejtXHq60l8gOR7UvN5Sj/gMV1LxUNBRNA7kNnyTC/vpgetMsvzDi1pRwOfhTCYri5WekEOyCFf3M= x-ms-exchange-antispam-srfa-diagnostics: SSOS; x-ms-office365-filtering-correlation-id: d3bd402d-fca6-471a-e64d-08d4eb479c88 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:(300000500095)(300135000095)(300000501095)(300135300095)(22001)(300000502095)(300135100095)(2017030254152)(300000503095)(300135400095)(48565401081)(2017052603199)(201703131423075)(201703031133081)(201702281549075)(300000504095)(300135200095)(300000505095)(300135600095)(300000506095)(300135500095);SRVR:CY1PR0401MB1067; x-ms-traffictypediagnostic: CY1PR0401MB1067: wdcipoutbound: EOP-TRUE x-exchange-antispam-report-test: UriScan:; x-microsoft-antispam-prvs: x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6040450)(601004)(2401047)(8121501046)(5005006)(3002001)(100000703101)(100105400095)(93006095)(93001095)(10201501046)(6055026)(6041248)(20161123558100)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123555025)(20161123564025)(20161123560025)(20161123562025)(6072148)(201708071742011)(100000704101)(100105200095)(100000705101)(100105500095);SRVR:CY1PR0401MB1067;BCL:0;PCL:0;RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095);SRVR:CY1PR0401MB1067; x-forefront-prvs: 04097B7F7F x-forefront-antispam-report: SFV:NSPM;SFS:(10019020)(6009001)(39860400002)(199003)(377424004)(189002)(24454002)(2950100002)(14454004)(72206003)(101416001)(229853002)(6436002)(54356999)(6506006)(6486002)(2900100001)(5660300001)(4326008)(76176999)(8936002)(50986999)(103116003)(68736007)(6512007)(54906002)(99286003)(25786009)(77096006)(8676002)(81156014)(81166006)(36756003)(189998001)(105586002)(6246003)(53936002)(106356001)(305945005)(3660700001)(7736002)(6116002)(3280700002)(3846002)(66066001)(86362001)(102836003)(478600001)(2501003)(33646002)(2906002)(97736004);DIR:OUT;SFP:1102;SCL:1;SRVR:CY1PR0401MB1067;H:CY1PR0401MB1536.namprd04.prod.outlook.com;FPR:;SPF:None;PTR:InfoNoRecords;A:1;MX:1;LANG:en; spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="utf-8" Content-ID: <4931A769A1ABFC42B4178958B774B315@namprd04.prod.outlook.com> MIME-Version: 1.0 X-OriginatorOrg: wdc.com X-MS-Exchange-CrossTenant-originalarrivaltime: 24 Aug 2017 23:26:56.5613 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: b61c8803-16f3-4c35-9b17-6f65f441df86 X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY1PR0401MB1067 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from base64 to 8bit by nfs id v7ONRoir009672 Content-Length: 1258 Lines: 31 On Thu, 2017-08-24 at 16:09 -0600, Jonathan Corbet wrote: > Commit 5657933dbb6e (treewide: Move dma_ops from struct dev_archdata into > struct device) added the dma_ops field to struct device, but did not > update the kerneldoc comment, yielding this warning: > > ./include/linux/device.h:969: warning: No description found for parameter 'dma_ops' > > Add a description and bring a little peace to the world. > > Signed-off-by: Jonathan Corbet > --- > include/linux/device.h | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/include/linux/device.h b/include/linux/device.h > index 723cd54b94da..ed9904728cda 100644 > --- a/include/linux/device.h > +++ b/include/linux/device.h > @@ -847,6 +847,7 @@ struct dev_links_info { > * @msi_list: Hosts MSI descriptors > * @msi_domain: The generic MSI domain this device is using. > * @numa_node: NUMA node this device is close to. > + * @dma_ops: DMA mapping operations for this device. > * @dma_mask: Dma mask (if dma'ble device). > * @coherent_dma_mask: Like dma_mask, but for alloc_coherent mapping as not all > * hardware supports 64-bit addresses for consistent allocations Thanks Jonathan for this patch. Reviewed-by: Bart Van Assche