Received: by 2002:a25:868d:0:0:0:0:0 with SMTP id z13csp1466653ybk; Thu, 21 May 2020 07:33:49 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxxES+Lozf6LfMBu2YW1vWOy9/BOeOM6FBxr5h6MaVNq29jJSZyi3Qq/jQQsu/lavS3fZsU X-Received: by 2002:a17:906:c401:: with SMTP id u1mr3701538ejz.151.1590071628875; Thu, 21 May 2020 07:33:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1590071628; cv=none; d=google.com; s=arc-20160816; b=YTRnZK5qJAqpxaleR5XM6dz513OHr3hvK0ALovPxTRvUPzIiYoHxBLGlrP6zeuDMp+ QyrRRba/3eXCYQp1N6m3DSVpz8jZgcZOaQdCZC1+Fg0cqTtyRyJKfXnjw+wdEkWVJ4Kq q2Q9V2J+EkQC0542ZAwPJ6cdhsRIp133vpHrpcw/KjTV20FXxM3sKfJtEOJFfKouTU0/ Vn2nYMDi2OF0bYDRnxMZaaBRoXKp+bTktUfzBdz76yuHkKXrNEpVBnF4piDnBXqRwKjG 3bIK8Gwu4e5lBI0oaxVJHV1M6AXJbB7Zozx4ioqbPDTEKH+C7FZETTGd+SGKtrkjPkx5 X6Kg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=LsPrcZ05hLu16IvKfOMKtx8YONmjIHS7Sb9Fmzn+R2Y=; b=JNaPxg+9D1s4bgLiCZz2w0Oh+X0kvVEixB9M/uclxXmQvueHoEEmDYTA2DuyVBIuuW Dr1sVtypWJcxx9aapgkS9CJA3aO7If4p9FuVjIC2RL/sQ6CsdlSMieZNu0pUp7lid2qn QNXzYZOCNnB/jKNdHP2fC0yVnvhadR48u1kUpsciIx+hGc+q4oF1mOLoq+EMHEC1opAj ydha9ZJDJc/wIsH3wVRht3nANHV/DB2VHTXG/o3irU+UlA6qcGV3e1PhWLVgMaE/M7mP 6mwIWK2a7Zn0BG5iJhvAbtknrXX/USExiI5P0uOWTcYf/tsDHQLekKaQ3zuy3hYzXYP1 HTNQ== ARC-Authentication-Results: i=1; mx.google.com; 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 z8si3521710eja.225.2020.05.21.07.33.26; Thu, 21 May 2020 07:33:48 -0700 (PDT) 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; 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 S1729599AbgEUObH (ORCPT + 99 others); Thu, 21 May 2020 10:31:07 -0400 Received: from sauhun.de ([88.99.104.3]:50418 "EHLO pokefinder.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727840AbgEUObG (ORCPT ); Thu, 21 May 2020 10:31:06 -0400 Received: from localhost (p5486ce13.dip0.t-ipconnect.de [84.134.206.19]) by pokefinder.org (Postfix) with ESMTPSA id F01102C1FCF; Thu, 21 May 2020 16:31:03 +0200 (CEST) Date: Thu, 21 May 2020 16:31:00 +0200 From: Wolfram Sang To: Andy Shevchenko Cc: Tali Perry , ofery@google.com, brendanhiggins@google.com, avifishman70@gmail.com, tmaimon77@gmail.com, kfting@nuvoton.com, venture@google.com, yuenn@google.com, benjaminfair@google.com, robh+dt@kernel.org, linux-arm-kernel@lists.infradead.org, linux-i2c@vger.kernel.org, openbmc@lists.ozlabs.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v12 2/3] i2c: npcm7xx: Add Nuvoton NPCM I2C controller driver Message-ID: <20200521143100.GA16812@ninjato> References: <20200521110910.45518-1-tali.perry1@gmail.com> <20200521110910.45518-3-tali.perry1@gmail.com> <20200521142340.GM1634618@smile.fi.intel.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="1yeeQ81UyVL57Vl7" Content-Disposition: inline In-Reply-To: <20200521142340.GM1634618@smile.fi.intel.com> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --1yeeQ81UyVL57Vl7 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi Tali, Andy! On Thu, May 21, 2020 at 05:23:40PM +0300, Andy Shevchenko wrote: > On Thu, May 21, 2020 at 02:09:09PM +0300, Tali Perry wrote: > > Add Nuvoton NPCM BMC I2C controller driver. >=20 > Thanks. My comments below. > After addressing them, FWIW, > Reviewed-by: Andy Shevchenko Thanks, Andy, for all the review! =46rom a glimpse, this looks good to go. I will have a close look later today. > > +#ifdef CONFIG_DEBUG_FS >=20 > Again, why is this here? >=20 > Have you checked debugfs.h for !CONFIG_DEBUG_FS case? I wondered also about DEBUG_FS entries. I can see their value when developing the driver. But since this is done now, do they really help a user to debug a difficult case? I am not sure, and then I wonder if we should have that code in upstream. I am open for discussion, though. > > +MODULE_VERSION("0.1.3"); >=20 > Module version is defined by kernel commit hash. But it's up to you and > subsystem maintainer to decide. Please drop it. I also think commit id's (or even kernel versions) are a more precise description. Regards, Wolfram --1yeeQ81UyVL57Vl7 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEOZGx6rniZ1Gk92RdFA3kzBSgKbYFAl7GkKAACgkQFA3kzBSg KbZ4kA/+J19dZhaJMmLz3WgryibpVzJTnhheDeduLgYVUvQcBoHj7dvuMF9+RYNM R+ClE6BTGWDYBGglNFSSFq/M8TUro7GzIPJw1wzSjLLtxYh13FeFx9FFYX+XS1zO oKff+p2gC1XM6RjEsIyTz7+/e0AsUKgCM6ENX4re+BbU/6IHvv2zOOaaVn2oEsoO 3jQ/V2yV9U1QsFLd/Ev2SnYT4owBZY/CVz93njaUc9/Hfvz5FawH0SD3/GnWh8+K 3gm7Ry1VoW8oopkXEcquXTBjaLKQPE3/w0cuJHFh4f9PAi1aEYHCfFa6MgC/Z8xg Fkhwkxj5m226WUa41Lswib5sdQ/ITRLetMkoM3VTLFKj5x2HmluwSV2Jt6tGFReZ K5fP8h8b4/TjEqVILEctTAfW0pEVT+BF0/cg9MiPPlKjNKXdOollLpu6hnaUdUxb QYz3ehhDfsD9lKpKFfCTyx1seQ54DwBM/C/w+RAg8ThTWjMHuj2rz872SVC1i+hY OCqRzUicn60p0SzZW5rL+kAVEKQkWjuosQ9XyoBMASXZnfWjzhLIFde6Yas6SXHV rTKLx5840wEuTVnNKsQ5XoMN0eadd9H0eu4I/XBXoc5ywX5EISq6df4xKfGC0kx6 VB9hc42qrJ5lmQVOMVQ1bAdFba+mwzLKdCNcC+qHISoNJOctprY= =dVRn -----END PGP SIGNATURE----- --1yeeQ81UyVL57Vl7--