Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751999AbbHBTnR (ORCPT ); Sun, 2 Aug 2015 15:43:17 -0400 Received: from mout.gmx.net ([212.227.15.18]:58466 "EHLO mout.gmx.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750972AbbHBTnQ (ORCPT ); Sun, 2 Aug 2015 15:43:16 -0400 Message-ID: <55BE72C5.5020900@gmx.de> Date: Sun, 02 Aug 2015 21:43:01 +0200 From: Hartmut Knaack User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:36.0) Gecko/20100101 Firefox/36.0 SeaMonkey/2.33.1 MIME-Version: 1.0 To: Jonathan Cameron , Cristina Opriceana CC: lars@metafoo.de, pmeerw@pmeerw.net, linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org, daniel.baluta@intel.com Subject: Re: [PATCH 4/6] iio: event: Add missing fields in kernel docs References: <55BE5483.6080509@kernel.org> In-Reply-To: <55BE5483.6080509@kernel.org> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K0:axoG08yC+AnIUZyqTF1gr6MpFnQLUVzuicpEotTxrdoOX45Taly 9apHoTq1dpz5joi2ZeG7USNRw/+/5uyyCZpLsybMd/erdGqnKvKidED1jcfPpplPL0OX+6A vQuXXyX3TvYOpqge5W2HMKVxR6ScF9TeAHSSoWlVZ0SKSCnAHc32j8OR22BeNonEvrxwVxk 0/valR4v8kWIItf3Y5O2A== X-UI-Out-Filterresults: notjunk:1;V01:K0:YABYxxeWNWU=:ELZKsHWTsrKXk3IJI17RjS jpTehRtQNZKE39ux3NxCCRTW6CIJkbbOM3FKit4gvBBmcJt7YEZiTDr5FPV2xcqnpnRnR1MwJ ibMvPHss99VzxZi2v/r2lJfTRD2wAejpCDnITcoMdRtuNZrS+Mpi25Iv52SgHdwlVxNVwWwh6 QnDXtCmVYZda78q1kl+WPyZ2Kiek9JIIROcu1Xe+jmMaMnaIrOyFgum/WP6nsBLOTALpMg0uq +Eyono1vTPXi3eYNzpoKw/W2LP6y2Daqv6gPoVl1KupNoS/UtxLudtkdbMU4uiFbMNHy/ML9d zyXvZZpH5wuqPojQ4MGFR8TrNk6M3pNZb2+KvidGS8YTDYYYfR9ogFpEPo6oKoNZ4c2XkQ3TM dUpWW0/bRMFGBc52x6hlR/YZwBmDj0QFoTpINXO/x1GO5biJDMjs/keZkHVTHCE7E4dLWGWyE OHjZ2cbd+O1oq/FMvsNceeofpgm+BovpkbmTySWhavVdllC4yYNcvM7/mRo/h5/HRS73yzZcA 2cn/1BpBHaWOfjoJy+vE9LuFFWu8iYpr9juwq6BryFRzCrLFBjmVdAiGbYp8hcBNKWNl2O5i8 aQ8NfC1bwDt1xaUWWKqr0l869ggBlJa0aCcuEWFxa4vIEPyGZSrZmh5SmxZoKa6w3qE2TbYpV epcHN+dSgwDJNivrL73YYv9eEEI9gpEBEkMooTHv7+C3wWRmi+9s+hQGa8E9/5rOcPR4= Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2049 Lines: 56 Jonathan Cameron schrieb am 02.08.2015 um 19:33: > 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 This can also return 0 if no data is available. Actually, being unsigned int, the intended negative error code won't appear - ouch! Any volunteers to address this issue? >> */ >> static unsigned int iio_event_poll(struct file *filep, >> struct poll_table_struct *wait) >> > > -- > To unsubscribe from this list: send the line "unsubscribe linux-iio" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html > -- 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/