Received: by 2002:a25:683:0:0:0:0:0 with SMTP id 125csp667131ybg; Wed, 10 Jun 2020 10:24:42 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzg4REGSeClTq90qJnf5LxYgoQ51hGpY9Vkl9gHxfm6i5qPTDZGeAyMTZrZuOCGF2jrPNSZ X-Received: by 2002:a17:906:1904:: with SMTP id a4mr4361453eje.194.1591809882097; Wed, 10 Jun 2020 10:24:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1591809882; cv=none; d=google.com; s=arc-20160816; b=TAU39DCfUG+bIDuMnwQNx9ZJFGeQZJ+iotObRNfEgUrAJqH/aATDTuQps/C1xrqWYk ZgZyoQ8bTwYOHziu5ObDe01deK3U0FEQsQbln8oLJ8j0tEWCY/RkeqonG/Mu/apGaD1p h/TXcKR6crJuYddNOm+vHZUaQaFgP6AN5PvJb0flF3VUF/dB6Cdgk/9xIcia7A9FMOYx MrSqMNqfaMoleSq3WteabB+PN8LTZqmDMk4bYRyf9DkxesjmMYoEco/dHqJlQ/aZkLiG Ldw+2NGNZdK1rO+txwLhkgZGM1tVox1iw0Svy8Z8Cu+8PVnyND5L89UMyxWd8gUb6Y6L 9K2A== 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:dkim-signature; bh=r1yGF+uQ2Nr9wUo6VujDIN/5HHhoEEnJjSUViFks9pI=; b=TXifSEo9TZnRP2GvKAothk/mV9gc1sx66Hg1J2x6F0gke4726dhDz+z6C9or81wfO6 DKtP2DoELBxa5ovO7T5a8LL4jznvlunSV7cO4XIS0iVGiak6Nd8tAann6XP4WA5d/dBK FdbRAUDYSDF7SSCljjx9Br8GyAoJu+e+jiD+ytmJL8/YwuhHgn6RKdnN+eeiS+5V6+Ym kmmTGvmYdoosaMdpbkD4+Q2y2TcpwFMApZao3nj/A8Xn+uTRoOZhgLQreRud0am8ThX9 eTvXoqcALk+p8vVyprJAV1rOqVOY2er3aORNnZo613+kCVrmnwO7KZ1Vsy+pBZqQBexg Ck5A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=kcMyQZXV; 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 qw23si395130ejb.231.2020.06.10.10.24.19; Wed, 10 Jun 2020 10:24:42 -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=default header.b=kcMyQZXV; 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 S1726347AbgFJQj3 (ORCPT + 99 others); Wed, 10 Jun 2020 12:39:29 -0400 Received: from mail.kernel.org ([198.145.29.99]:52874 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726307AbgFJQj3 (ORCPT ); Wed, 10 Jun 2020 12:39:29 -0400 Received: from localhost (fw-tnat.cambridge.arm.com [217.140.96.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 23F9120734; Wed, 10 Jun 2020 16:39:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1591807168; bh=r1yGF+uQ2Nr9wUo6VujDIN/5HHhoEEnJjSUViFks9pI=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=kcMyQZXVVFcaVhYcKP1Mz7m3D8KmlUakQUOP7v4amzUgrtHwCWgvNGtwyNoPqzPg8 ImkkyxKHHZYMW00Mz6iLtceee5No3ywPW8kYRI2194rjW9O0BkwNmm4qjnF9wQib/d 9GE2MqSMKzhRUJV8E7ANDsmEhq6SG/8ulrtE7PvQ= Date: Wed, 10 Jun 2020 17:39:26 +0100 From: Mark Brown To: Jerome Brunet Cc: kbuild test robot , kbuild-all@lists.01.org, clang-built-linux@googlegroups.com, linux-kernel@vger.kernel.org Subject: Re: sound/soc/meson/t9015.c:315:34: warning: unused variable 't9015_ids' Message-ID: <20200610163926.GI5005@sirena.org.uk> References: <202005311147.iLK0hQoe%lkp@intel.com> <1jftb32b0o.fsf@starbuckisacylon.baylibre.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="vs0rQTeTompTJjtd" Content-Disposition: inline In-Reply-To: <1jftb32b0o.fsf@starbuckisacylon.baylibre.com> X-Cookie: fortune: No such file or directory 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 --vs0rQTeTompTJjtd Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Wed, Jun 10, 2020 at 05:31:03PM +0200, Jerome Brunet wrote: > I'm not sure what to do with this report. > I tried to reproduce has instructed, the log is full of warnings and the > compilation eventually fails to link. > It seems that most (if not all) drivers with a MODULE_DEVICE_TABLE() show > this warning with the provided .config (COMPILE_TEST). > When compiled with gcc, no such warning is shown. > I can remove COMPILE_TEST for this driver, it will make the warning go > away but I'm not sure it is appropriate. I'd just ignore it for now - it seems like there's lots of false positives from this warning which like you say are more global issues and only show up at W=1. --vs0rQTeTompTJjtd Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAl7hDL0ACgkQJNaLcl1U h9BxXgf7BwJQWORKeCwngQf1DmeQvUUe+nF+p9S6HjqN0eAe6pNQaOCjFUp2T2TV BdCBM1kFxSr1bQjpAErNa6mb8WijKyqlJQh0D5gDQNhRijQn4ay8lXDqQGuFi+NJ wFc2cWUjyxV24o865SQdVbw8r0nYQcz1snHw5UJnNHo9Mmi+rRixy1Kl5D8qXf/R kQi5Xvx/UDbvdIIhE6WnJGSzGf7M70hGb2zJ2q3bEmEVihdoOK+N+DNwHqYRMNny SRXG4Zaj9xPhnoJJuLWyBhpw53tHJlWBeUriLsQssKkshbYOPWMDhd5ifowxtDuG UgtRVEsCU+6KbkEWMTPIotbr4aOJXg== =Fp9y -----END PGP SIGNATURE----- --vs0rQTeTompTJjtd--