Received: by 10.192.165.148 with SMTP id m20csp2874872imm; Mon, 7 May 2018 02:40:10 -0700 (PDT) X-Google-Smtp-Source: AB8JxZoAdfGl83jQtMF4zlegL313Ectbe0gNVzckYuRK6W/MNBhcbXS6FIgOqXkYF4zo1Mk9uPRW X-Received: by 2002:a63:8348:: with SMTP id h69-v6mr29217636pge.378.1525686010420; Mon, 07 May 2018 02:40:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1525686010; cv=none; d=google.com; s=arc-20160816; b=mfqNq1UoqBvc44fNz97das69L/Jl0kIPMDzW4j4aGsxnJznIgJxbPBUKzxlZlg0GzL sF+s6/3eMSRlcE9vO440nnrWLudW74xRelCFf77pjpytpP152uoQQ7F+SX8yaFQUgy0v JKKVMw9yxc3P8qHXhOEcPliKE/4Q4wLfnYy6/pQ+a6rh26Ja1M4g9BY6n1yO49jAC6A2 UPd0qUb8xa4NvfmwCwN4aL6VSfF8rR8EMULABFpI1fAZRVjSoRWdAETCsJqlGBLV66vU 0nS4hNjbowC4dW9edF9E77YQYsSeb3TFGd1mKa2p+1WOdNGhmTy9cHoOWbZIMHG4D/uc WDPw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:references :in-reply-to:message-id:date:subject:cc:to:from :arc-authentication-results; bh=ryUNifpqgcP9eHHhJGAjEwcIBYV7CAvLtabh1PzJvCc=; b=a4P15lapsWUHYtHpeszGKV6SOISa1dT6EM94AkwV1M//tk8DvQA3zaH0a76vVfPAPj kiegB2NhWig3Up/rC7JskfP77ROGxyiqVlMMrGD5yp3iNAtmQxrqBdPPBOP55mZNUXvv uZoCPBOMFSppTPlbQPeBnwcH5SEqEdy4bUrSiZdOQWjrwQPLY1+F2riY4z9l020c2gB8 EQ09BPJ8xL9B4Bl+ERZiBquTN3vQj5Lja4IXwGKaG7mJXhR2Jnghfd3659VJA6W9wH6m HY25O5IsngP/trGZth0bBEBzQgdTEso4o2bCZ5ZveBO2MkD6MVuUkqcbPBIorXeKdT/O 17tQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id m1si21118858pfe.79.2018.05.07.02.39.55; Mon, 07 May 2018 02:40:10 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752501AbeEGJi6 (ORCPT + 99 others); Mon, 7 May 2018 05:38:58 -0400 Received: from osg.samsung.com ([64.30.133.232]:49868 "EHLO osg.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752470AbeEGJgH (ORCPT ); Mon, 7 May 2018 05:36:07 -0400 Received: from localhost (localhost [127.0.0.1]) by osg.samsung.com (Postfix) with ESMTP id CC2662344C; Mon, 7 May 2018 02:36:06 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at dev.s-opensource.com X-Amavis-Alert: BAD HEADER SECTION, Duplicate header field: "References" Received: from osg.samsung.com ([127.0.0.1]) by localhost (localhost [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 0rH1d_mCTp1B; Mon, 7 May 2018 02:36:05 -0700 (PDT) Received: from smtp.s-opensource.com (177.41.109.86.dynamic.adsl.gvt.net.br [177.41.109.86]) by osg.samsung.com (Postfix) with ESMTPSA id 56A82233E6; Mon, 7 May 2018 02:36:01 -0700 (PDT) Received: from mchehab by smtp.s-opensource.com with local (Exim 4.90_1) (envelope-from ) id 1fFcYp-000884-3q; Mon, 07 May 2018 06:35:59 -0300 From: Mauro Carvalho Chehab To: Linux Doc Mailing List Cc: Mauro Carvalho Chehab , Mauro Carvalho Chehab , linux-kernel@vger.kernel.org, Jonathan Corbet , Jonathan Cameron , Hartmut Knaack , Lars-Peter Clausen , Peter Meerwald-Stadler , linux-iio@vger.kernel.org Subject: [PATCH 15/18] iio: iio.h: use nested struct support on kernel-doc markup Date: Mon, 7 May 2018 06:35:51 -0300 Message-Id: <1a31240699b1b6ee089b5b36889ab27ae14ad94e.1525684985.git.mchehab+samsung@kernel.org> X-Mailer: git-send-email 2.17.0 In-Reply-To: References: In-Reply-To: References: Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Solve those Sphinx warnings: ./include/linux/iio/iio.h:270: warning: Function parameter or member 'scan_type.sign' not described in 'iio_chan_spec' ./include/linux/iio/iio.h:270: warning: Function parameter or member 'scan_type.realbits' not described in 'iio_chan_spec' ./include/linux/iio/iio.h:270: warning: Function parameter or member 'scan_type.storagebits' not described in 'iio_chan_spec' ./include/linux/iio/iio.h:270: warning: Function parameter or member 'scan_type.shift' not described in 'iio_chan_spec' ./include/linux/iio/iio.h:270: warning: Function parameter or member 'scan_type.repeat' not described in 'iio_chan_spec' ./include/linux/iio/iio.h:270: warning: Function parameter or member 'scan_type.endianness' not described in 'iio_chan_spec' ./include/linux/iio/iio.h:191: WARNING: Unexpected indentation. ./include/linux/iio/iio.h:192: WARNING: Block quote ends without a blank line; unexpected unindent. ./include/linux/iio/iio.h:198: WARNING: Definition list ends without a blank line; unexpected unindent. Signed-off-by: Mauro Carvalho Chehab --- include/linux/iio/iio.h | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/include/linux/iio/iio.h b/include/linux/iio/iio.h index 11579fd4126e..a74cb177dc6f 100644 --- a/include/linux/iio/iio.h +++ b/include/linux/iio/iio.h @@ -183,18 +183,18 @@ struct iio_event_spec { * @address: Driver specific identifier. * @scan_index: Monotonic index to give ordering in scans when read * from a buffer. - * @scan_type: sign: 's' or 'u' to specify signed or unsigned - * realbits: Number of valid bits of data - * storagebits: Realbits + padding - * shift: Shift right by this before masking out - * realbits. - * repeat: Number of times real/storage bits - * repeats. When the repeat element is - * more than 1, then the type element in - * sysfs will show a repeat value. - * Otherwise, the number of repetitions is - * omitted. - * endianness: little or big endian + * @scan_type: struct describing the scan type + * @scan_type.sign: 's' or 'u' to specify signed or unsigned + * @scan_type.realbits: Number of valid bits of data + * @scan_type.storagebits: Realbits + padding + * @scan_type.shift: Shift right by this before masking out + * realbits. + * @scan_type.repeat: Number of times real/storage bits repeats. + * When the repeat element is more than 1, then + * the type element in sysfs will show a repeat + * value. Otherwise, the number of repetitions + * is omitted. + * @scan_type.endianness: little or big endian * @info_mask_separate: What information is to be exported that is specific to * this channel. * @info_mask_separate_available: What availability information is to be -- 2.17.0