Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp3562606pxb; Mon, 16 Nov 2020 19:19:09 -0800 (PST) X-Google-Smtp-Source: ABdhPJwGCCSCRI2bKn/g9LKEBw6m1kYSV+WWS1XUuCrLP0hsK0r2Zzh+75xCQjNogX9IuA8pr+lf X-Received: by 2002:a05:6402:2031:: with SMTP id ay17mr127791edb.358.1605583149670; Mon, 16 Nov 2020 19:19:09 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605583149; cv=none; d=google.com; s=arc-20160816; b=XoKKiF84V2DVlXNcNgZX7v7q9CoX5nuziu73JRh1Et29iNRtjM0BM9CUd81L9FO73A cw8fEWIS5nGWpDbJkTwfqTksO5KNoVf0yrQy5kjkBR2pUQo0FK2y65rML0MjtyXEWtfr R6kr0UAn/1hV0zf2t4bCx2Dp49eN/9hLum0LpwOzBhtyiF2V5E2356Jd5tPw3EokvgSR d+rooksLTNlk8pqViTSXEqTfszvEL86f5xuLU/GTPZj4MUCLBmmM5i16goaXkoTYrkfc UoBPOSbXXlsz131WNWJcmbejdsyYA82fssvqVNlif5E2w2aXBlJnRMTZLyKP731BqSob Hs3g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:mail-followup-to:message-id:subject:cc:to:from:date :dkim-signature; bh=BezluhERmfqSfMrKaRLnRUHJ00yDtJHkyuBvrv1jMf0=; b=OAUhhN1Fdtev9AuQbSgQLqNgfin+bU/QArlWUSeypYj5NW6CFtaigTb8dX9Rj/xySB hQ6Dvr9QWxDG2fG7cUaJoIskfVUP3dLS5fAMkii+t5qcpnfqms7eHthfkyiso5VDD1mb YdRxNDC0fVFcswZn+7qc4+GLEhpfiVWMWdaft0K/GX/0xIkFzO6Y2fY3wLRlpigZh1rF VDAs9/LFnnMS3/qa+FmYZcI1l0nZ8aedtRmqp9veO38t2ZUBAz8jBW0cjsVRyUaWi5gV U2NjKHNEVlHnnXjF+hrlGaFwPGmP1ycgK2nXKqUyd/1ZQkKogUUE3seD5aopn3Vg4W/z Ak5w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ffwll.ch header.s=google header.b=lbpb8hZz; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id l7si12284781eja.665.2020.11.16.19.18.47; Mon, 16 Nov 2020 19:19:09 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@ffwll.ch header.s=google header.b=lbpb8hZz; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730714AbgKPPgL (ORCPT + 99 others); Mon, 16 Nov 2020 10:36:11 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55036 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729850AbgKPPgL (ORCPT ); Mon, 16 Nov 2020 10:36:11 -0500 Received: from mail-wr1-x441.google.com (mail-wr1-x441.google.com [IPv6:2a00:1450:4864:20::441]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 08EFCC0613CF for ; Mon, 16 Nov 2020 07:36:11 -0800 (PST) Received: by mail-wr1-x441.google.com with SMTP id 23so19121222wrc.8 for ; Mon, 16 Nov 2020 07:36:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ffwll.ch; s=google; h=date:from:to:cc:subject:message-id:mail-followup-to:references :mime-version:content-disposition:in-reply-to; bh=BezluhERmfqSfMrKaRLnRUHJ00yDtJHkyuBvrv1jMf0=; b=lbpb8hZz66Mprg9UhEbf7G9PpaGneI03o9V2hsS99Texb4hfnCbCVL9jkjuLmk8bA/ U0Wvk1tzEm2WP3KTlaa7A+R+MofuwFi5SsMKxw3lNZbBiTmksIVGDxrhv0TVl3gS1uTA sbZhI3Kk2qCUKlm5QxUlnf13INIxqnXe5smfY= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id :mail-followup-to:references:mime-version:content-disposition :in-reply-to; bh=BezluhERmfqSfMrKaRLnRUHJ00yDtJHkyuBvrv1jMf0=; b=Rpq22PcwTWZyqAMFD1VUFFUfLswKJfCztf1OClcc5mrEb2GsvHjKNyMz2f0uqGmXhH HqrOKenkIfw2OiCodK41ooN+5JE8KZ9tKCeUKThOY51a8zeN+hGZMoi2TdCtGeHFtLEg wH4KumT+ZL4XN4fTGBpUlThYqfAMzk3eToEqG1y4Tb1eboo+WQTKHA/zal41Lnvpvw+/ oTvPq9WFtUstOpPzwCQimOEt+5QARx7Nsxju4j+3ygFBnhAhMkbz61eNMFlmYX3KkQDU 25QtZuqiCn82FNiOxXzam/QxLVZ/ktr0j8DnKl29/lXUoHBw6BWM+07Wu16mAO+IvTkB b4Sg== X-Gm-Message-State: AOAM53168ieq9h7Yw62FwT5SUcyz8foVwO7NL+et7nL2MN65ELu6dtic HYPO3mpp7TnOKqDfYTFI7V7New== X-Received: by 2002:a5d:5308:: with SMTP id e8mr19834649wrv.299.1605540969779; Mon, 16 Nov 2020 07:36:09 -0800 (PST) Received: from phenom.ffwll.local ([2a02:168:57f4:0:efd0:b9e5:5ae6:c2fa]) by smtp.gmail.com with ESMTPSA id o13sm4331918wmc.44.2020.11.16.07.36.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 16 Nov 2020 07:36:08 -0800 (PST) Date: Mon, 16 Nov 2020 16:36:06 +0100 From: Daniel Vetter To: Mauro Carvalho Chehab Cc: Linux Doc Mailing List , Jonathan Corbet , Bartlomiej Zolnierkiewicz , Bernard Zhao , Boris Brezillon , Daniel Vetter , Gwan-gyeong Mun , Laurent Pinchart , Sam Ravnborg , Sebastian Reichel , Thomas Zimmermann , dri-devel@lists.freedesktop.org, linux-fbdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v4 10/27] video: fix some kernel-doc markups Message-ID: <20201116153606.GC401619@phenom.ffwll.local> Mail-Followup-To: Mauro Carvalho Chehab , Linux Doc Mailing List , Jonathan Corbet , Bartlomiej Zolnierkiewicz , Bernard Zhao , Boris Brezillon , Gwan-gyeong Mun , Laurent Pinchart , Sam Ravnborg , Sebastian Reichel , Thomas Zimmermann , dri-devel@lists.freedesktop.org, linux-fbdev@vger.kernel.org, linux-kernel@vger.kernel.org References: <21661aed9892a1bacc7ef76a5dc9f5c7b37f5d8f.1605521731.git.mchehab+huawei@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <21661aed9892a1bacc7ef76a5dc9f5c7b37f5d8f.1605521731.git.mchehab+huawei@kernel.org> X-Operating-System: Linux phenom 5.7.0-1-amd64 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Nov 16, 2020 at 11:18:06AM +0100, Mauro Carvalho Chehab wrote: > Some identifiers have different names between their prototypes > and the kernel-doc markup. > > Signed-off-by: Mauro Carvalho Chehab Acked-by: Daniel Vetter I'm assuming you're sending a pull request for this. -Daniel > --- > drivers/video/fbdev/core/fbcmap.c | 2 +- > drivers/video/hdmi.c | 3 ++- > 2 files changed, 3 insertions(+), 2 deletions(-) > > diff --git a/drivers/video/fbdev/core/fbcmap.c b/drivers/video/fbdev/core/fbcmap.c > index e5ae33c1a8e8..757d5c3f620b 100644 > --- a/drivers/video/fbdev/core/fbcmap.c > +++ b/drivers/video/fbdev/core/fbcmap.c > @@ -59,41 +59,41 @@ static u16 blue16[] __read_mostly = { > 0x0000, 0xaaaa, 0x0000, 0xaaaa, 0x0000, 0xaaaa, 0x0000, 0xaaaa, > 0x5555, 0xffff, 0x5555, 0xffff, 0x5555, 0xffff, 0x5555, 0xffff > }; > > static const struct fb_cmap default_2_colors = { > .len=2, .red=red2, .green=green2, .blue=blue2 > }; > static const struct fb_cmap default_8_colors = { > .len=8, .red=red8, .green=green8, .blue=blue8 > }; > static const struct fb_cmap default_4_colors = { > .len=4, .red=red4, .green=green4, .blue=blue4 > }; > static const struct fb_cmap default_16_colors = { > .len=16, .red=red16, .green=green16, .blue=blue16 > }; > > > > /** > - * fb_alloc_cmap - allocate a colormap > + * fb_alloc_cmap_gfp - allocate a colormap > * @cmap: frame buffer colormap structure > * @len: length of @cmap > * @transp: boolean, 1 if there is transparency, 0 otherwise > * @flags: flags for kmalloc memory allocation > * > * Allocates memory for a colormap @cmap. @len is the > * number of entries in the palette. > * > * Returns negative errno on error, or zero on success. > * > */ > > int fb_alloc_cmap_gfp(struct fb_cmap *cmap, int len, int transp, gfp_t flags) > { > int size = len * sizeof(u16); > int ret = -ENOMEM; > > flags |= __GFP_NOWARN; > > if (cmap->len != len) { > diff --git a/drivers/video/hdmi.c b/drivers/video/hdmi.c > index 1e4cb63d0d11..947be761dfa4 100644 > --- a/drivers/video/hdmi.c > +++ b/drivers/video/hdmi.c > @@ -1675,41 +1675,42 @@ static int hdmi_audio_infoframe_unpack(struct hdmi_audio_infoframe *frame, > > ret = hdmi_audio_infoframe_init(frame); > if (ret) > return ret; > > ptr += HDMI_INFOFRAME_HEADER_SIZE; > > frame->channels = ptr[0] & 0x7; > frame->coding_type = (ptr[0] >> 4) & 0xf; > frame->sample_size = ptr[1] & 0x3; > frame->sample_frequency = (ptr[1] >> 2) & 0x7; > frame->coding_type_ext = ptr[2] & 0x1f; > frame->channel_allocation = ptr[3]; > frame->level_shift_value = (ptr[4] >> 3) & 0xf; > frame->downmix_inhibit = ptr[4] & 0x80 ? true : false; > > return 0; > } > > /** > - * hdmi_vendor_infoframe_unpack() - unpack binary buffer to a HDMI vendor infoframe > + * hdmi_vendor_any_infoframe_unpack() - unpack binary buffer to a HDMI > + * vendor infoframe > * @frame: HDMI Vendor infoframe > * @buffer: source buffer > * @size: size of buffer > * > * Unpacks the information contained in binary @buffer into a structured > * @frame of the HDMI Vendor information frame. > * Also verifies the checksum as required by section 5.3.5 of the HDMI 1.4 > * specification. > * > * Returns 0 on success or a negative error code on failure. > */ > static int > hdmi_vendor_any_infoframe_unpack(union hdmi_vendor_any_infoframe *frame, > const void *buffer, size_t size) > { > const u8 *ptr = buffer; > size_t length; > int ret; > u8 hdmi_video_format; > struct hdmi_vendor_infoframe *hvf = &frame->hdmi; > -- > 2.28.0 > -- Daniel Vetter Software Engineer, Intel Corporation http://blog.ffwll.ch