From patchwork Wed Jun 23 11:05:39 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michal Simek X-Patchwork-Id: 12339589 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-17.1 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id BD9A0C4743C for ; Wed, 23 Jun 2021 11:07:28 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 851C361026 for ; Wed, 23 Jun 2021 11:07:28 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 851C361026 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=xilinx.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:Cc :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=w5Iyv4r6xGA+WPCbKawuhXBAd/H1dXfBoVB4kzQAtlM=; b=iHzVQVFG21pT/D S8CiH5/J996WWqFXUkCB2v3A8Ev0VGPUqpPwwu5Q9CzkL1RzDiGMDn8i81dG0zhAUpQh86ai+0Dw0 tr+SX5B1SpyOTU+eAy1z99xw9oz95Yn+41/pTm8TWs4UBdqAz6X4Jz/o8slaqcPPzkUbWJO54e0zQ buc6wcOeTJLFcKlBx0e18cP8TYhAH4lkCMzw65FnuIWfrPI0VXNyVgTqBNPNmb6si6A9Bavc2O3PB 4rKVQWVBgSazhCLjBKwTI+zC2NCBIpjUFpEZcNu0GTrDeqGnBRRqcnrBlybQH2ns3tQ8AkywJh2M3 X0eXypH2Msb4jplsAotQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1lw0hZ-00AOHQ-SO; Wed, 23 Jun 2021 11:05:50 +0000 Received: from mail-wr1-x432.google.com ([2a00:1450:4864:20::432]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1lw0hV-00AOGO-Lj for linux-arm-kernel@lists.infradead.org; Wed, 23 Jun 2021 11:05:47 +0000 Received: by mail-wr1-x432.google.com with SMTP id a11so2128347wrt.13 for ; Wed, 23 Jun 2021 04:05:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monstr-eu.20150623.gappssmtp.com; s=20150623; h=sender:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=VrP53t654miViEUlN/kTL6ZRv5Lu9b3sPzleMbHOxAg=; b=miXC/qassTEiNGUmrnaTmSpxk44/YwQgPgWvxKIZWzbc6/ud2I8hh/KlHfSonaatj0 DfX6Ex3CF4oj5o9E3CmbSDntRflDnKrFNCYx+zJbWuCng2vs0Vefc7FwFKUv6sMacly1 oFYSfdIsrmRaFnFwr5jDvt/uN83CgiIKMyOdYVa/tJhs1JhO2zp7y4pvpstroIDjlLHY mvfdw6IQV4Q3tJWqPzRUJhbEputWdI2PYNYiTbR1uywcqFt2bsdfaAuS8FOA62/vJz8Z jATTuc1XdfgRce33VaQRjYTveAmurmoA2ItrRswilJBeo01kDeQV5lmVQlxtdpFyPm6U 7IBA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :mime-version:content-transfer-encoding; bh=VrP53t654miViEUlN/kTL6ZRv5Lu9b3sPzleMbHOxAg=; b=NLfBYpFOLonzEl6Lrp0n8FdCZJku+pdXrjfeE1AdziDm5tgjHjE3GG+U2k5UC599rL 8wC1tKZtzEof9g3Z1fv5a/47s54o1niFhfsZgPXOHDyo16iih/bMBSdKZUPaXxxyApbD hjUxRKzJLf2r8Odbfc8tfW5z0ELJbAIXeOsEB+wJe0p2RSLSQyN1JjhSDWdJ/O9K0aIQ X09GJ6YqcPKB5ccFYWJxYW2MI9VmPB2JhgCsAmf1kOpg2/y/oCK0wKPA7eLnosBxLq2/ ggipXMMeqq2BBjtMStzsHohsFs3oVJyD3nOlcMdS21N+K+EiLoKkVljA5KR3RdF3Fpr6 o1QQ== X-Gm-Message-State: AOAM533gEpL8YJ7zyscctqIsyO6ONN6k3sGTHKMewDTGmBp27jg+PAti OIdASf902yx8smfB93SwyFndbw== X-Google-Smtp-Source: ABdhPJwCPwjeAazziI/4KWhsI4RYkBAhF3n22UDkt1gDlea6vNmEuEwEMViFylVBZ3sd/gjdovVaeg== X-Received: by 2002:a5d:5187:: with SMTP id k7mr7660094wrv.395.1624446343898; Wed, 23 Jun 2021 04:05:43 -0700 (PDT) Received: from localhost ([2a02:768:2307:40d6::648]) by smtp.gmail.com with ESMTPSA id 197sm5963115wmb.20.2021.06.23.04.05.43 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Wed, 23 Jun 2021 04:05:43 -0700 (PDT) From: Michal Simek To: linux-kernel@vger.kernel.org, monstr@monstr.eu, michal.simek@xilinx.com, git@xilinx.com Cc: Hyun Kwon , Laurent Pinchart , Vinod Koul , dmaengine@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH] dmaengine: xilinx: dpdma: Use kernel type u32 over uint32_t Date: Wed, 23 Jun 2021 13:05:39 +0200 Message-Id: <9569008794d519b487348bfeafbfd76c5da5755e.1624446336.git.michal.simek@xilinx.com> X-Mailer: git-send-email 2.32.0 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210623_040545_794689_26DE6333 X-CRM114-Status: GOOD ( 12.16 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Use u32 kernel type instead of uint32_t. Issue is reported by checkpatch.pl --strict. Signed-off-by: Michal Simek Reviewed-by: Laurent Pinchart --- drivers/dma/xilinx/xilinx_dpdma.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/dma/xilinx/xilinx_dpdma.c b/drivers/dma/xilinx/xilinx_dpdma.c index 539f1a42ca72..0b67083c95d0 100644 --- a/drivers/dma/xilinx/xilinx_dpdma.c +++ b/drivers/dma/xilinx/xilinx_dpdma.c @@ -1600,7 +1600,7 @@ static struct dma_chan *of_dma_xilinx_xlate(struct of_phandle_args *dma_spec, struct of_dma *ofdma) { struct xilinx_dpdma_device *xdev = ofdma->of_dma_data; - uint32_t chan_id = dma_spec->args[0]; + u32 chan_id = dma_spec->args[0]; if (chan_id >= ARRAY_SIZE(xdev->chan)) return NULL;