From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 77914C83F14 for ; Tue, 29 Aug 2023 06:40:54 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232705AbjH2GkY (ORCPT ); Tue, 29 Aug 2023 02:40:24 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58150 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233576AbjH2GkI (ORCPT ); Tue, 29 Aug 2023 02:40:08 -0400 Received: from smtp-out1.suse.de (smtp-out1.suse.de [195.135.220.28]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 77B7C185 for ; Mon, 28 Aug 2023 23:40:04 -0700 (PDT) Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by smtp-out1.suse.de (Postfix) with ESMTPS id 0E4652186E; Tue, 29 Aug 2023 06:40:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1693291203; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=zans4W2u/vshZZCUl2afaYb30cHtZkJc5TloAICBR3g=; b=yAtNfJuORRrkT+te3CLcEsni/lKivy9prKtTdrTEt1vnD12fkJoJJD9ZroKa5lSXL0rDXr MchoKwZTbrvG808lYdu7Naoj3XaRG6Wzn9v26Q/7rxfdLS2peBExUJSSjau4zMmBbi16hN kWviQnITTd9vsiO6sp0wEwSo8lSOt8k= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1693291203; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=zans4W2u/vshZZCUl2afaYb30cHtZkJc5TloAICBR3g=; b=DWLaVlT0TZx7cVxIB6BToLIetSPaTZoGA1txJ2we5JDpoEA/OOwsejamAHVGczBGMUgC4/ QDkiM++ydlePX+Cg== Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by imap2.suse-dmz.suse.de (Postfix) with ESMTPS id C28C613301; Tue, 29 Aug 2023 06:40:02 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id OJxULsKS7WTcAgAAMHmgww (envelope-from ); Tue, 29 Aug 2023 06:40:02 +0000 Date: Tue, 29 Aug 2023 08:40:02 +0200 Message-ID: <877cpewdvh.wl-tiwai@suse.de> From: Takashi Iwai To: Xingyu Wu Cc: Liam Girdwood , Mark Brown , Claudiu Beznea , Jaroslav Kysela , Takashi Iwai , Maxim Kochetkov , Kuninori Morimoto , Walker Chen , , Subject: Re: [PATCH v1] ASoC: dwc: Fix the warnnings about JH7110 ops In-Reply-To: <20230829033658.225713-1-xingyu.wu@starfivetech.com> References: <20230829033658.225713-1-xingyu.wu@starfivetech.com> User-Agent: Wanderlust/2.15.9 (Almost Unreal) Emacs/27.2 Mule/6.0 MIME-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") Content-Type: text/plain; charset=US-ASCII Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 29 Aug 2023 05:36:58 +0200, Xingyu Wu wrote: > > Add a check of CONFIG_OF before the JH7110 ops to fix the warnings > that the JH7110 ops are defined but not used when CONFIG_OF is disabled. > > Fixes: 1a512d13837a ("Add I2S support for the StarFive JH7110 SoC") > Reported-by: kernel test robot > Closes: https://lore.kernel.org/oe-kbuild-all/202308250433.nhzrhYEo-lkp@intel.com/ > Signed-off-by: Xingyu Wu > --- > Hi Mark, > > This patch fixes the issue about the warning of JH7110 ops when CONFIG_OF > is disabled. So add a check of CONFIG_OF before defining JH7110 ops. > > Thanks, > Xingyu Wu The very same fix went already in my sound.git tree, commit 8d2a0cdf5229. thanks, Takashi