Received: by 2002:a25:f815:0:0:0:0:0 with SMTP id u21csp772348ybd; Sat, 22 Jun 2019 14:52:08 -0700 (PDT) X-Google-Smtp-Source: APXvYqzYnjZsrfCK3LY6ircgDMVwfZqdrFwlNqkO2ygC19/5W13UgHUs7zP9lnVj3kdqkyupNZux X-Received: by 2002:a65:41c7:: with SMTP id b7mr25019346pgq.165.1561240328361; Sat, 22 Jun 2019 14:52:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1561240328; cv=none; d=google.com; s=arc-20160816; b=EJykZIvHJPbp+5tMfzlUifhU8+8J3crXZ+orrGZuC68d0Ksdgzf7v/UVxKbZnKdy13 4Dti5K47ygWCsiIxQniabcfg7jsKwkRzdmQsOgGZejLKsltOa7DHBefapX1Z2T9xPMRO 9fSoFkLGZrc6tXMMlqkLlKprMbTAXDwbB5MUgRyTzQMTZdvegjMloVPEA03dcMrgYCMQ WEYUBf+Qvyt/Tv94bhkUQxWg6LJD3b7SMJCtc7oNlvu0tRVQDSl5yn67a7NQ7GEHFcOa rC3eCCU7W/rNT1FGVpURHxxkE/xnVOGOTI6A66C9CiZAw6vvdEl2PEaGOnfpd+CTG9DN YYhg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-language :content-transfer-encoding:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject; bh=KbR/RVAydsqY+aw+F2N1M6dpdVcmxP9UdnGJHnMywbM=; b=D65RdHjDKNFVTvHQrqnGtgkahKpFfm4+3eg5w8clPSpJlUhRFx09EBMGf5my26uZdx HzCr1fagCEB84jbqe0F0OcoaiQJPRMNmUwiD5YVtuj+0C/iV5OXavD3yWiWsg0MUb4eb w0sh/D7pqoqNJfeSvJhwrxv3u/aK30bkSJL4vMM6IwhRlViOK2Y46Kb38kUIDu66nZbR x7mahtvi3gfTXpMb6x+QNzyN9lLiOZrqGvF+5uMDdBeZ91YIsdvDExH/Z+anGubHNG6S aDH3rRio3rjSnO+xGIPsFB/rZ/oSi+s+woVBIyfXWdF43MoT4xy89DITlorp/p0QKoLa purw== 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=collabora.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f187si6308691pfb.265.2019.06.22.14.51.49; Sat, 22 Jun 2019 14:52:08 -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=collabora.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726372AbfFVVvq (ORCPT + 99 others); Sat, 22 Jun 2019 17:51:46 -0400 Received: from bhuna.collabora.co.uk ([46.235.227.227]:36956 "EHLO bhuna.collabora.co.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725844AbfFVVvq (ORCPT ); Sat, 22 Jun 2019 17:51:46 -0400 Received: from [IPv6:2804:431:d719:dd85:d711:794d:1c68:5ed3] (unknown [IPv6:2804:431:d719:dd85:d711:794d:1c68:5ed3]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: tonyk) by bhuna.collabora.co.uk (Postfix) with ESMTPSA id 73CC1260D60; Sat, 22 Jun 2019 22:51:43 +0100 (BST) Subject: Re: [PATCH v3 1/2] media: vimc: stream: add missing function documentation To: Mauro Carvalho Chehab Cc: linux-media@vger.kernel.org, hverkuil@xs4all.nl, helen.koike@collabora.com, kernel@collabora.com, linux-kernel@vger.kernel.org References: <20190617133221.21246-1-andrealmeid@collabora.com> <20190621181705.44415597@coco.lan> From: =?UTF-8?Q?Andr=c3=a9_Almeida?= Message-ID: Date: Sat, 22 Jun 2019 18:51:06 -0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.7.1 MIME-Version: 1.0 In-Reply-To: <20190621181705.44415597@coco.lan> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Content-Language: en-US Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello Mauro, On 6/21/19 6:17 PM, Mauro Carvalho Chehab wrote: > Em Mon, 17 Jun 2019 10:32:20 -0300 > André Almeida escreveu: > >> Add comments at vimc_streamer_s_stream and vimc_streamer_thread, making >> the vimc-stream totally documented. > I'm applying it right now. > > Yet, if this is fully documented, IMO you should add it to > Documentation/media/v4l-drivers, replacing the comments to kernel-doc > markups. This suggestion is a great improvement and it's simple to apply to the source. Where do you believe we can place this at[1]? Maybe something like Source code documentation ------------------------- vimc-streamer ~~~~~~~~~~~~ .. kernel-doc:: drivers/media/platform/vimc/vimc-streamer.c :internal: at the end of the file? > That would make easier for the ones to read the comments and, if someone > changes a function call, warnings will be produced, and the developer > will be warned. > Thanks, > Mauro Thanks,     André [1] https://git.linuxtv.org/media_tree.git/tree/Documentation/media/v4l-drivers/vimc.rst