Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751991AbbHBRd6 (ORCPT ); Sun, 2 Aug 2015 13:33:58 -0400 Received: from saturn.retrosnub.co.uk ([178.18.118.26]:45413 "EHLO saturn.retrosnub.co.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751602AbbHBRd5 (ORCPT ); Sun, 2 Aug 2015 13:33:57 -0400 Subject: Re: [PATCH 4/6] iio: event: Add missing fields in kernel docs To: Cristina Opriceana References: Cc: knaack.h@gmx.de, lars@metafoo.de, pmeerw@pmeerw.net, linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org, daniel.baluta@intel.com From: Jonathan Cameron Message-ID: <55BE5483.6080509@kernel.org> Date: Sun, 2 Aug 2015 18:33:55 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.1.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1582 Lines: 43 On 24/07/15 14:21, Cristina Opriceana wrote: > Fix kernel docs warnings by adding the missing fields, > each with its associated description. > > Signed-off-by: Cristina Opriceana Applied. Thanks Jonathan > --- > drivers/iio/industrialio-event.c | 6 ++++++ > 1 file changed, 6 insertions(+) > > diff --git a/drivers/iio/industrialio-event.c b/drivers/iio/industrialio-event.c > index 894d813..b2f63f9 100644 > --- a/drivers/iio/industrialio-event.c > +++ b/drivers/iio/industrialio-event.c > @@ -32,6 +32,7 @@ > * @dev_attr_list: list of event interface sysfs attribute > * @flags: file operations related flags including busy flag. > * @group: event interface sysfs attribute group > + * @read_lock: lock to protect kfifo read operations > */ > struct iio_event_interface { > wait_queue_head_t wait; > @@ -75,6 +76,11 @@ EXPORT_SYMBOL(iio_push_event); > > /** > * iio_event_poll() - poll the event queue to find out if it has data > + * @filep: File structure pointer to identify the device > + * @wait: Poll table pointer to add the wait queue on > + * > + * Return: (POLLIN | POLLRDNORM) if data is available for reading > + * or a negative error code on failure > */ > static unsigned int iio_event_poll(struct file *filep, > struct poll_table_struct *wait) > -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/