Received: by 2002:a05:6358:4e97:b0:b3:742d:4702 with SMTP id ce23csp2853179rwb; Mon, 15 Aug 2022 12:37:34 -0700 (PDT) X-Google-Smtp-Source: AA6agR5ChyAUpKs+856NJjrtnXGGD+wxCugxP8zhWVVuV+dqKJMMeY/N6qx8dQBryANJH3G6/Y2N X-Received: by 2002:a63:d317:0:b0:427:567b:847c with SMTP id b23-20020a63d317000000b00427567b847cmr9135766pgg.4.1660592254204; Mon, 15 Aug 2022 12:37:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1660592254; cv=none; d=google.com; s=arc-20160816; b=zbDkPDuzAbfM9K8uWB6WEbfLQ/z5dj6ExYnaXCHW6pR2mzfGJgrjovXRHpoVJZWm17 3aP3fiaqAJENcAWiWq7x8gPu7vyMSiV0o8nLO+FgtoF5LiJmFP+YvQyzFu0jXxIWLYwU tEMhBBnvmlo3hEF/dwYwG0peUPmuzrKV77mYqO9zVHwztqYU4rOmUGy+xJ3sH/pRBiVr axEQ64xl9X2pJghjVmmXoFa/sEaLPnvrJYP5qHDTo3/XC5KGozj0Bg/n3BYoAgZbOFQw 0id+RxF3sKSeLNkXB1cG9ti8s4vpF3g7RxWRDXUuiTaG+o+fel1d+5SliYgnHycdlKMG XbNw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=96g1Us++HXoaf+nWWwlCTCPPRxgq06upzTGjyaOiWqo=; b=wS+RdtyPKGwuDeSD7jlvVNDtSGGwvmhqUOUAmH9C0b23xLh1tvuYsZ9YRGIaqdkioc p0uU2lBgGnwd57f5ULypVxzCgiSLexNItbUGxYgpMOM+nrAjpQWQRcv2U3hn38O+Y08k +VPi0XC/MOOWq4Bgm4cdLh595XdF1gKg1OEbhAS3Fbu0nBpcr0XcwGKwY2k9y/6ooeuy /RItHRIV5tOzSg63z/eeDBqcfU2+SxEwPrl1WBMSrrGU1pLZpaF8di3ra2K+5orGG8Si ztF8tTHEy+LWAPsrWoKtL8S7o24YmMsz46I3F7JYkB9WfUgPxvzMcVemivmoK//sDZtV vLNA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=fkfOykeI; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id b2-20020a170902d50200b0016bef4a9dafsi13423182plg.375.2022.08.15.12.37.14; Mon, 15 Aug 2022 12:37:34 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=fkfOykeI; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1344061AbiHOTgI (ORCPT + 99 others); Mon, 15 Aug 2022 15:36:08 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40910 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S244202AbiHOT32 (ORCPT ); Mon, 15 Aug 2022 15:29:28 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D8A355E32A; Mon, 15 Aug 2022 11:44:04 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id BB07B611DD; Mon, 15 Aug 2022 18:44:03 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id C21D3C433D6; Mon, 15 Aug 2022 18:44:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1660589043; bh=yhuN0DL0yv2xRFCMow4wX3R8JWRCMkUfnbUAKDjrUfk=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=fkfOykeIpBV7596KxMb/efFs6T1mJtJNkiF1chrmu2gZZ5rM1+44FIqN189xhNE2T Tfm2Cxl6tN6VtXjleUXEgiJ4YjKGw4DhYahU5FkvT+Zh/KuMFkM7MXsZHXJDT5p61D qaSYyohjZB8ETGnF1yVjfiVAm2xj9DKxNHibhnU4= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, kernel test robot , Fabio Estevam , Mark Brown , Sasha Levin Subject: [PATCH 5.15 563/779] ASoC: imx-audmux: Silence a clang warning Date: Mon, 15 Aug 2022 20:03:27 +0200 Message-Id: <20220815180401.386328352@linuxfoundation.org> X-Mailer: git-send-email 2.37.2 In-Reply-To: <20220815180337.130757997@linuxfoundation.org> References: <20220815180337.130757997@linuxfoundation.org> User-Agent: quilt/0.67 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Fabio Estevam [ Upstream commit 2f4a8171da06609bb6a063630ed546ee3d93dad7 ] Change the of_device_get_match_data() cast to (uintptr_t) to silence the following clang warning: sound/soc/fsl/imx-audmux.c:301:16: warning: cast to smaller integer type 'enum imx_audmux_type' from 'const void *' [-Wvoid-pointer-to-enum-cast] Reported-by: kernel test robot Fixes: 6a8b8b582db1 ("ASoC: imx-audmux: Remove unused .id_table") Signed-off-by: Fabio Estevam Link: https://lore.kernel.org/r/20220526010543.1164793-1-festevam@gmail.com Signed-off-by: Mark Brown Signed-off-by: Sasha Levin --- sound/soc/fsl/imx-audmux.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sound/soc/fsl/imx-audmux.c b/sound/soc/fsl/imx-audmux.c index dfa05d40b276..a8e5e0f57faf 100644 --- a/sound/soc/fsl/imx-audmux.c +++ b/sound/soc/fsl/imx-audmux.c @@ -298,7 +298,7 @@ static int imx_audmux_probe(struct platform_device *pdev) audmux_clk = NULL; } - audmux_type = (enum imx_audmux_type)of_device_get_match_data(&pdev->dev); + audmux_type = (uintptr_t)of_device_get_match_data(&pdev->dev); switch (audmux_type) { case IMX31_AUDMUX: -- 2.35.1