From patchwork Sun Feb 11 21:53:21 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabio Estevam X-Patchwork-Id: 10211617 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id AAD1D605F3 for ; Sun, 11 Feb 2018 22:02:50 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 989FF28714 for ; Sun, 11 Feb 2018 22:02:50 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 8D7A428A54; Sun, 11 Feb 2018 22:02:50 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.8 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_NONE, T_DKIM_INVALID autolearn=no version=3.3.1 Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 9EF6328A0C for ; Sun, 11 Feb 2018 22:02:49 +0000 (UTC) Received: from alsa0.perex.cz (localhost [127.0.0.1]) by alsa0.perex.cz (Postfix) with ESMTP id DD6D4267233; Sun, 11 Feb 2018 22:54:05 +0100 (CET) X-Original-To: alsa-devel@alsa-project.org Delivered-To: alsa-devel@alsa-project.org Received: by alsa0.perex.cz (Postfix, from userid 1000) id 31C4F267233; Sun, 11 Feb 2018 22:54:04 +0100 (CET) Received: from mail-qk0-f196.google.com (mail-qk0-f196.google.com [209.85.220.196]) by alsa0.perex.cz (Postfix) with ESMTP id 15800267232 for ; Sun, 11 Feb 2018 22:53:57 +0100 (CET) Received: by mail-qk0-f196.google.com with SMTP id h186so4185288qke.8 for ; Sun, 11 Feb 2018 13:53:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=l5ukGUvIOiNR81MqMj5yeNNE2KEtvhzUcmQW3YMchIs=; b=UP4FyscN8Bs5IvjlVYb4Ak2/RKTaz/eDwCUnjQx7/EHN10MfbUNB6OyYaQaIfquKTn gZDbj52XdcyMstEYBwtbdwbzq8YNOBWuEI3YEHVfVhOaIkabzQWt6+Q63LhRObfPXvpb kkQ4ifH1cohbbsZXuyg1vvhCtJai+X0bXP3QK1lcSYILwOQ+tQ4DZExB5VvuILaP8XTv B8x723eUMC+KPlSy1d5/QqvGlU9tLpSs1ZiZnhPlkyBgSfj6oiTKfNq097+Hu16jeBPA OR63hmvyPJXjGhIRRLVONsMBKS7Mw9u8laifHaUwFYl6RuLSCb2EBN14zdleLQGgRQ3L 2K2g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=l5ukGUvIOiNR81MqMj5yeNNE2KEtvhzUcmQW3YMchIs=; b=aZuPb6IM3ls0jRSWvYdH3nLYli/9nn9AVwbYZoQeJVM4HvXoU9vxkiLMQPdZjoxhnJ YBm0dP+gpuIjoc+/MCvNMO8rr55otaPHPWkU/jLZkabZBJrpMvxGE+MvbFe9bf65OFZ3 igf3HPPqE137sHKLlREWt55gIBk7E0A0U1vx8baRgi5P2rHeQ11vLxnIL/4KfAt/HefX cru9UBM7zP3wT8a6D59w2bTEeg8y6U2xP5bp1oFoOpc7l9sK4Yo6DNbrg8i8gXVNwdA1 pGxQhh2xNQHx5/4eEgmAdw2vMRTTUeump5h5w3xv8KiDxYetNIjAx9fSLgdYT+xI4crY Q1Bw== X-Gm-Message-State: APf1xPDIpsK5LYPgvMGH+mRjGVa99aFBi+qc8wZVALNHloBuEgXlHBBI yZKY3fu7nVN6ylyOtpEei9g= X-Google-Smtp-Source: AH8x226/4dGKms6O/JcL4Ruk90DK5ECLjGUf1d5eEcPh+aoezmB2bmjdswSKmTEstJoqx1MOKeENMg== X-Received: by 10.55.221.198 with SMTP id u67mr15217073qku.91.1518386037141; Sun, 11 Feb 2018 13:53:57 -0800 (PST) Received: from localhost.localdomain ([187.180.181.130]) by smtp.gmail.com with ESMTPSA id g57sm5683214qtk.54.2018.02.11.13.53.54 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sun, 11 Feb 2018 13:53:56 -0800 (PST) From: Fabio Estevam To: broonie@kernel.org Date: Sun, 11 Feb 2018 19:53:21 -0200 Message-Id: <1518386001-4322-4-git-send-email-festevam@gmail.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1518386001-4322-1-git-send-email-festevam@gmail.com> References: <1518386001-4322-1-git-send-email-festevam@gmail.com> Cc: nicoleotsuka@gmail.com, Fabio Estevam , alsa-devel@alsa-project.org, timur@tabi.org Subject: [alsa-devel] [PATCH 4/4] ASoC: fsl_ssi: Use 'const _be *' type for iprop X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.org X-Virus-Scanned: ClamAV using ClamSMTP From: Fabio Estevam The 'iprop' variable is passed as an argument to the be32_to_cpup() function, which expects a 'const _be *' type. Change the iprop variable type so that the following build warnings with W=1 are gone: sound/soc/fsl/fsl_ssi.c:1463:48: warning: incorrect type in argument 1 (different base types) sound/soc/fsl/fsl_ssi.c:1463:48: expected restricted __be32 const [usertype] *p sound/soc/fsl/fsl_ssi.c:1463:48: got unsigned int const [usertype] *[assigned] iprop Signed-off-by: Fabio Estevam --- sound/soc/fsl/fsl_ssi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sound/soc/fsl/fsl_ssi.c b/sound/soc/fsl/fsl_ssi.c index aecd00f..24fb672 100644 --- a/sound/soc/fsl/fsl_ssi.c +++ b/sound/soc/fsl/fsl_ssi.c @@ -1377,7 +1377,7 @@ static int fsl_ssi_probe(struct platform_device *pdev) struct device *dev = &pdev->dev; const struct of_device_id *of_id; const char *p, *sprop; - const uint32_t *iprop; + const __be32 *iprop; struct resource *res; void __iomem *iomem; char name[64];