Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp701744pxf; Wed, 31 Mar 2021 13:56:53 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzy7bvWQd3I1g2SCChOfaDavny9a/yLIInvRgRt/3Cu7wy9qXqtF3tb5TK6rwUoTqLo8QCb X-Received: by 2002:a17:906:414e:: with SMTP id l14mr5496402ejk.406.1617224213738; Wed, 31 Mar 2021 13:56:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1617224213; cv=none; d=google.com; s=arc-20160816; b=CSTKtZEGAPi2W7MkMr7BlWzzi/uBCdX43paiqueUsck6oQRuhZaWAIJ/xXSkItnwnh uQEhMJOJ/2y81jKuALB/kLzhwUgFezzw+x2RMmItVVKjRPk1R0HgdxSXyyXSaAbsSdfI Q5CALpzCcOl/0N4Dax/FqxUEnE1Lx+AvtLBjEIj9clXfbCuD0WUgmXQWmgbsGvSiU1p+ F0/aiglAQihqG5OSzyxF448k3kx231PmuV+g0yFHx+cKehPXBM7nmW0qKPo4ZX3vEeT8 3kBsaa/NxGCQ7Arpot14g+y55n5v9uuhC702z/GperZy2UwwexpdNwutRwyaDJdjbUQD H4wA== 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=Z9QXtn95h1xy0H0KBhbAjFhr31RVPQYVOjv8azS65qg=; b=x0UJ7WtDGeTteS0qnSN6BUp1/8vv7rNsiuEcRqT3MngwRebPYPaZOMRs0V17Hng1J1 bMsBNYHVN8BiJjFWrt86cPnW9GgaHyyXht+zx6qYssdv8P8LOFC24xvvifTsme6yJ3ld kdiRUxHmwhG7GXNhcjdf0uHsb/XrMKhXXTiUrVKsdXxWU7l5Bwzi9+ivq0ixzGISZ43O sMqTIYzfC7l4TIskInQzwJKUMtzsEE9ShBT3RVR6FcMJfOxaRqrvHW+wM7hxB31e3k8n QH0vamdHC9ZSNsru4d8JRhV+pWlC/ql3IkfWHjJEiCyUGQii2B6XzbytxA00A8JU/vwW S+qw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=vQrYsoDA; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id g10si2820894edq.430.2021.03.31.13.56.31; Wed, 31 Mar 2021 13:56:53 -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; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=vQrYsoDA; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232964AbhCaUzi (ORCPT + 99 others); Wed, 31 Mar 2021 16:55:38 -0400 Received: from mail.kernel.org ([198.145.29.99]:50686 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232690AbhCaUzU (ORCPT ); Wed, 31 Mar 2021 16:55:20 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 19D5361075; Wed, 31 Mar 2021 20:55:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1617224119; bh=pJT5gjTTfqCWP+YyIpkhXwfsnZvDOF+ZqFbwATowrqM=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=vQrYsoDAjcr28337pzGluXdg4Hodfa27jANRxL+5PMPmPnD9gP4XfFlLQGigrLSIF 5M8PFYJMcyiKoSbfOKgOqw/w8svms2e4ISL3J2I9G6uEkFr4gFLgSZQPtRdli5oGNx Nqb+Q3pAxOSbEPOW1Cmp8QuLHHPzOw3T5CPpmEJ/6gSwEtHOP6lYokR8uLXxobTiXJ ymf9wmeBrKDgd64Zkxn/obBV9kZQDjDiHnUbORtPlsgRx/udEp6RBsl+MM4puYn4Ud x2GoX/XOnhoWOVKhdFrGe5yhvbT4OW3xoy/0pYNZ0zqPhEGlzvQsgJb5R6qIsl1JpJ rA/CVGbQXc+RQ== Date: Wed, 31 Mar 2021 22:55:13 +0200 From: Wolfram Sang To: Bence =?utf-8?B?Q3PDs2vDoXM=?= Cc: linux-i2c@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v3 2/2] Adding i2c-cp2615: i2c support for Silicon Labs' CP2615 Digital Audio Bridge Message-ID: <20210331205513.GA994@kunai> Mail-Followup-To: Wolfram Sang , Bence =?utf-8?B?Q3PDs2vDoXM=?= , linux-i2c@vger.kernel.org, linux-kernel@vger.kernel.org References: <20210318115210.2014204-1-bence98@sch.bme.hu> <20210318115210.2014204-3-bence98@sch.bme.hu> <20210331095820.GA29323@ninjato> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="J/dobhs11T7y2rNN" Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --J/dobhs11T7y2rNN Content-Type: text/plain; charset=us-ascii Content-Disposition: inline > > drivers/i2c/busses/i2c-cp2615.c:78:5: warning: symbol 'cp2615_init_iop_msg' was not declared. Should it be static? > > drivers/i2c/busses/i2c-cp2615.c:96:5: warning: symbol 'cp2615_init_i2c_msg' was not declared. Should it be static? > > drivers/i2c/busses/i2c-cp2615.c:102:5: warning: symbol 'cp2615_check_status' was not declared. Should it be static? > I can forward declare these (copying from the header I used in v1 of > the patch), but I'm not sure I understand the rationale behind these > warnings... Just make them static and all is good. > > drivers/i2c/busses/i2c-cp2615.c:212:27: warning: symbol 'cp2615_i2c_quirks' was not declared. Should it be static? > Especially this. I think I will make this static instead, since it > won't ever be exported to any other module. Exactly. > > The missing 'static' are what buildbot also reported and are correct. > The lkp bot complained about MODULE_DEVICE_TABLE and MODULE_AUTHOR, > which, again, I don't see what is wrong with it. Yeah, that may be a false positive. > I will now send an updated patch, with few additions too. Cool, thanks! --J/dobhs11T7y2rNN Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEOZGx6rniZ1Gk92RdFA3kzBSgKbYFAmBk4a4ACgkQFA3kzBSg Kbazzw//aMs/GVJGCLrvn9s+1KBViH7ko8NtKI9KLzbIkMKT2YWYHHbej3w+ZNTc Lh0wnDo0A2g5UR3ncn1TkAVF1XJALVPfod1wC7ffD8sElw9mpf9sQZOlMo61f3k7 SFPa+gIYEZXxbFH1AEz6OY44frroBj5f5m4nVTuggzv1zLftntC90UN5c9gyGO5f BTNy72vzZEoovq9ZwK5nJoEhUYkF2GrZMrOf+jpk7+g2Yf1mZs0v6iYy/YL3HzbC w6ifLeFECp9CyIgnpeFWJx6xFu06ZpxTi38sSc4abZQ95gE73pbXJSBoX6/CeZYD aX+UmUZV97cEORG4DsDof6Kui5h5JYrVHHAZrRxhyDJgQMBcV6eS/ey6bChAIoct Gu03pcs1GOXh458kOjlrzVEFJKfB6qbHu6f3O5fPp6Nf67grAqwvjesnYjvIYK5/ AqN3cULx33FYfdI6HZalLHzbJt3e6p7Rc5JNwlKw9mpLwxu19r05+h0AvrBDCuFF vT6upSNgdSVY8yKhDuZXFIBNBUiXFJMoptYO4NG02c/Xw9ASjx3fWeIpGqklvv6y uSoGMdTR/FJXpJtgZwjmXL3T+teTYWPVkfLMcbBu1PSTa2KFZiWTienkY4CB66YQ hz6UbHWcko3Qn0ztrCschk2scEva+MLxX+7cEChm0lfIZiwysFU= =pTwX -----END PGP SIGNATURE----- --J/dobhs11T7y2rNN--