From: Paul Menzel Subject: Re: [PATCH V2] drm/edid: kernel-doc minimal cleanup Date: Sat, 02 Mar 2013 18:09:40 +0100 Message-ID: <1362244180.6874.3.camel@mattotaupa> References: <[PATCH] drm/edid: kernel-doc minimal cleanup> <1362146456-21077-1-git-send-email-nm@ti.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0250393601==" Return-path: Received: from mail.gw90.de (mail.gw90.de [188.40.100.199]) by gabe.freedesktop.org (Postfix) with ESMTP id D270FE6260 for ; Sat, 2 Mar 2013 09:09:56 -0800 (PST) In-Reply-To: <1362146456-21077-1-git-send-email-nm@ti.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org Errors-To: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org To: Nishanth Menon Cc: Dave Airlie , dri-devel , Rodrigo Vivi List-Id: dri-devel@lists.freedesktop.org --===============0250393601== Content-Type: multipart/signed; micalg="pgp-sha1"; protocol="application/pgp-signature"; boundary="=-u3il/Adp6JKoAoG6p81N" --=-u3il/Adp6JKoAoG6p81N Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Am Freitag, den 01.03.2013, 08:00 -0600 schrieb Nishanth Menon: > Some basic cleanups for kernel-doc errors or missing documentation > parameters. Nishanth, thanks for doing that! > Warnings generated by ./scripts/kernel-doc drivers/gpu/drm/drm_edid.c >Ke= rr >=20 > Warning(drivers/gpu/drm/drm_edid.c:997): No description found for paramet= er 'adapter' > Warning(drivers/gpu/drm/drm_edid.c:997): No description found for paramet= er 'buf' > Warning(drivers/gpu/drm/drm_edid.c:997): No description found for paramet= er 'block' > Warning(drivers/gpu/drm/drm_edid.c:997): No description found for paramet= er 'len' > Warning(drivers/gpu/drm/drm_edid.c:1138): No description found for parame= ter 'adapter' > Warning(drivers/gpu/drm/drm_edid.c:1467): No description found for parame= ter 'connector' > Warning(drivers/gpu/drm/drm_edid.c:1467): No description found for parame= ter 'edid' > Warning(drivers/gpu/drm/drm_edid.c:1467): No description found for parame= ter 'revision' > Warning(drivers/gpu/drm/drm_edid.c:1467): Excess function parameter 'timi= ng_level' description in 'drm_mode_std' > Warning(drivers/gpu/drm/drm_edid.c:2010): No description found for parame= ter 'connector' > Warning(drivers/gpu/drm/drm_edid.c:2072): No description found for parame= ter 'connector' > Warning(drivers/gpu/drm/drm_edid.c:2237): No description found for parame= ter 'edid' > Warning(drivers/gpu/drm/drm_edid.c:2616): No description found for parame= ter 'edid' > Warning(drivers/gpu/drm/drm_edid.c:2658): No description found for parame= ter 'edid' >=20 > Cc: David Airlie > Cc: Dave Airlie > Cc: Adam Jackson > Cc: Rodrigo Vivi > Cc: Ville Syrj=C3=A4l=C3=A4 > Cc: dri-devel@lists.freedesktop.org >=20 > Signed-off-by: Nishanth Menon > --- >=20 > V2: review comments incorporated >=20 > V1: http://marc.info/?t=3D136214115900005&r=3D1&w=3D2 >=20 > It does seem the drm_edid.c could do with more documentation cleanup, > but I have stayed with the bare minimum. > the above error is based off: > master de1a226 Merge tag 'writeback-fixes' of git://git.kernel.org/pub/sc= m/linux/kernel/git/wfg/linux > from: git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.gi= t >=20 > defconfig used: omap2plus_defconfig >=20 > Disclaimer: I am no drm expert, and I tried to use my best judgement abou= t what > the meaning of the parameters might be, hope it helps. >=20 > drivers/gpu/drm/drm_edid.c | 31 +++++++++++++++++++------------ > 1 file changed, 19 insertions(+), 12 deletions(-) >=20 > diff --git a/drivers/gpu/drm/drm_edid.c b/drivers/gpu/drm/drm_edid.c > index c194f4e..bd864b5 100644 > --- a/drivers/gpu/drm/drm_edid.c > +++ b/drivers/gpu/drm/drm_edid.c > @@ -982,14 +982,14 @@ EXPORT_SYMBOL(drm_edid_is_valid); > =20 > #define DDC_SEGMENT_ADDR 0x30 > /** > - * Get EDID information via I2C. > - * > - * \param adapter : i2c device adaptor > - * \param buf : EDID data buffer to be filled > - * \param len : EDID data buffer length > - * \return 0 on success or -1 on failure. > + * drm_do_probe_ddc_edid() - Get EDID information via I2C. Some already existing entries do not use =C2=BB()=C2=AB behind the function= name in the comment. Not sure what the correct way is though. [=E2=80=A6] Thanks, Paul --=-u3il/Adp6JKoAoG6p81N Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) iEYEABECAAYFAlEyMlUACgkQPX1aK2wOHVh6dgCfUXNYrOc7GTg0pEDUd6VM1n3d iwMAnjJkbLaiUA8PCzQYKzIK6AN6op9W =TYdL -----END PGP SIGNATURE----- --=-u3il/Adp6JKoAoG6p81N-- --===============0250393601== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/dri-devel --===============0250393601==--