Received: by 2002:a05:7412:bbc7:b0:fc:a2b0:25d7 with SMTP id kh7csp988677rdb; Fri, 2 Feb 2024 09:53:18 -0800 (PST) X-Google-Smtp-Source: AGHT+IGm6IY/HaAmwRYATlXlEPlLj0N5+1vWe7vhaSWSGIPtdE1HAKs2WkOnNkNelwF5q8rHZgMF X-Received: by 2002:a05:6e02:1bce:b0:363:b680:5079 with SMTP id x14-20020a056e021bce00b00363b6805079mr1959336ilv.25.1706896398502; Fri, 02 Feb 2024 09:53:18 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706896398; cv=pass; d=google.com; s=arc-20160816; b=yxTTJ8KJ0BWsNOQyYvejFBm/Gj3/XdfkZQnZG+PddhfWxB1l6GE21zfVxv4Nd7FEkb zOFMUsrDwYy1o88JSHlxWX4j9yaHy5eWbQjJi08eak1VmW+9bgbpTYMfnOmgBo/11Q/I BZj77kDZ19lIkEyn5bQYje21y3iUzD4buZvncG1tHm68mdxID5vyaA+Iv3WXByr3gbtU WoMj9rw5eNH4DTiOe6CrZnsDIE8g9hwjT/67fwdBvIUqX6RUriso75lofp2+e3950J+V KXxALRHhSAlQ99MazqX5q6WbEZJJBbWHmbxxvRWY3/tbVdW7rTKugbKH70WxTzToyn/i ulgg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=a0oqk2Qv/uv75hvSIv/tSG+w2UrecbdacnnYUOsB90o=; fh=GDlgXJIlM0S+hLEFckZrljKDIMp4sbO+HXEjQMaHlD8=; b=TieTNCsIzixXtNeMOawfBk4Twk2YsHWLWWS1Yu6zIM9t5ImBCVprn7bRg+8tZ5aCA5 EXoF0T6R3GiGhZCC7x/CvUiwiEnxLpsGiqtR/64NE8WDgxd9fTNye0sVNWsqWpejHA3P mkNrLIpUXxi4FowBlTC15uMZjm3JHT9RyVXTuSFDNgO3ze1/BQbMbANftt57hOTnRVu4 j4DhDK47JvbT7zpBhzf/UCxXx8A0qLtOWgms8RU7FdCk+6H8QfbyV4EFVBtRthoZT6rS e48aaQ6WdmFFnY/rKhZTOW+MLnpYaJehtgorZmedn+EL/V6HSsn/RA2bh8Xc3h3n0Ru0 TCHw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=Y7aPhw6y; arc=pass (i=1 dkim=pass dkdomain=intel.com dmarc=pass fromdomain=linux.intel.com); spf=pass (google.com: domain of linux-kernel+bounces-49917-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-49917-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com X-Forwarded-Encrypted: i=1; AJvYcCXXYczlcUEwy60P+lVObICo0YMFc2YZQGe56UIvMQj+wWBsXCyQPnGF4XwUjxEfTLJfW1I9AKIr7TD1tDG879vIDudtjWmtqXqLhfSseg== Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id 22-20020a630c56000000b005cda184c281si1833700pgm.199.2024.02.02.09.53.17 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 02 Feb 2024 09:53:18 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-49917-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=Y7aPhw6y; arc=pass (i=1 dkim=pass dkdomain=intel.com dmarc=pass fromdomain=linux.intel.com); spf=pass (google.com: domain of linux-kernel+bounces-49917-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-49917-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id 61A4AB256DE for ; Fri, 2 Feb 2024 13:49:12 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id D9E6347A4D; Fri, 2 Feb 2024 13:49:00 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="Y7aPhw6y" Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.15]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id D376146551; Fri, 2 Feb 2024 13:48:57 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.175.65.15 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706881740; cv=none; b=nCje9GNEqeruUbbFh4lmU6s+a7J/k1bYbzoaVG+h1GxHFcgYAQgUZRdjGIok/rHha/o/kmGV/+1yCAg98u5JXWqgOvX6af6V6C7R8B269QqJghF6WU0Zp9mUvuPGOwI3doJvsvE21HSF4xSFxrvFS5iBdhBJYnY4NO+fKOgqEAc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706881740; c=relaxed/simple; bh=5oAxVFemPM8II0r20k3cx2T21LfwQLuEcMKNm4dSXFg=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=n0JgRo1Y8v9tVUeVEUH1oO0r8uTXkVpWQDAeyZDSQHwZUMWkQSEPRHE3Y3XrjM1ukT1Llg/ausICyJa5A5klSQ0smFu9eb0ABgAB3bBz9bOSd+uTsZ0UXQkHrOD7yhg3RZd7VmEkUMJW3J2hwodHwwpZXaVNtwx231GeZaEaUNM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.intel.com; spf=none smtp.mailfrom=linux.intel.com; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b=Y7aPhw6y; arc=none smtp.client-ip=198.175.65.15 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.intel.com Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=linux.intel.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1706881738; x=1738417738; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=5oAxVFemPM8II0r20k3cx2T21LfwQLuEcMKNm4dSXFg=; b=Y7aPhw6yNCEGwNXNgBD5URHq2mPH4UMmAqSflRn1Xeb0JbJI8qYWAj1x kiIdqJnRdEh/HRIJ9T1NH+zthAT6rdqTnRKCwc0PGzo3Zo9E5kz58JbEf INqIVJoNAFKEgPW1OwoLTTi4gJ3UMzHiEhLkOPXCYE+81bD4Fhs9UUHjW abGpZJcs0MIHPGMKCCU5UQvgEUxAB8KH2tIR7L7+oTgWOSZvFiR3k2T0d y+HC0Gl0Q9KuX2VP3X7Ft9KholcQJeS1y0flrd3sNthbXl6E+yOC9ozUL XMyxgL+KhCm5guI/aZ5ZZChNJQGOxXF2XwsiRq+bBYbMzm8agfMlNsFaF w==; X-IronPort-AV: E=McAfee;i="6600,9927,10971"; a="4059836" X-IronPort-AV: E=Sophos;i="6.05,238,1701158400"; d="scan'208";a="4059836" Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by orvoesa107.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 02 Feb 2024 05:48:57 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10971"; a="908579982" X-IronPort-AV: E=Sophos;i="6.05,238,1701158400"; d="scan'208";a="908579982" Received: from turnipsi.fi.intel.com (HELO kekkonen.fi.intel.com) ([10.237.72.44]) by fmsmga002-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 02 Feb 2024 05:48:55 -0800 Received: from kekkonen.localdomain (localhost [127.0.0.1]) by kekkonen.fi.intel.com (Postfix) with SMTP id 7BCCC1205FA; Fri, 2 Feb 2024 15:41:30 +0200 (EET) Date: Fri, 2 Feb 2024 13:41:30 +0000 From: Sakari Ailus To: Mauro Carvalho Chehab Cc: linux-media@vger.kernel.org, Stephen Rothwell , linux-kernel@vger.kernel.org, linux-next@vger.kernel.org Subject: Re: [PATCH 1/1] media: v4l: Fix link frequency helper's kernel-doc Message-ID: References: <20240202145412.336db5b2@canb.auug.org.au> <20240202064007.50545-1-sakari.ailus@linux.intel.com> <20240202143027.21fe3f5b@coco.lan> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240202143027.21fe3f5b@coco.lan> Hi Mauro, On Fri, Feb 02, 2024 at 02:30:27PM +0100, Mauro Carvalho Chehab wrote: > Em Fri, 2 Feb 2024 08:40:07 +0200 > Sakari Ailus escreveu: > > > Fix kernel-doc indentation for v4l2_link_freq_to_bitmap(). > > > > Reported-by: Stephen Rothwell > > Fixes: a68e88e2cf9e ("media: v4l: Add a helper for setting up link-frequencies control") > > Signed-off-by: Sakari Ailus > > --- > > Thanks for reporting this, Stephen. > > > > include/media/v4l2-common.h | 2 +- > > 1 file changed, 1 insertion(+), 1 deletion(-) > > > > diff --git a/include/media/v4l2-common.h b/include/media/v4l2-common.h > > index cd2163f24f8a..602738f7741e 100644 > > --- a/include/media/v4l2-common.h > > +++ b/include/media/v4l2-common.h > > @@ -563,7 +563,7 @@ u32 v4l2_fraction_to_interval(u32 numerator, u32 denominator); > > * Return values: > > * 0: Success > > * -ENOENT: No match found between driver-supported link frequencies and > > - * those available in firmware. > > + * those available in firmware. > > * -ENODATA: No link frequencies were specified in firmware. > > */ > > int v4l2_link_freq_to_bitmap(struct device *dev, const u64 *fw_link_freqs, > > This won't do what's expected at documentation, as Sphinx will just > fold everything into a single paragraph, like: > > "0: Success -ENOENT: No match found between driver-supported link frequencies and those available in firmware. -ENODATA: No link frequencies were specified in firmware." > > Maybe you could try using (untested): > > > * Return values: > * > * * 0: success > * * -ENOENT: No match found between driver-supported link frequencies and > * those available in firmware. > * * - ENODATA: No link frequencies were specified in firmware. > > Please test it and see if the "make htmldocs" output will be what it would > be expected. Hans separately submitted a patch to address this better, it's here: So this one can be ignored. -- Regards, Sakari Ailus