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: 12339591 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=-16.8 required=3.0 tests=BAYES_00,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 41709C4743C for ; Wed, 23 Jun 2021 11:05:48 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 1F9B161075 for ; Wed, 23 Jun 2021 11:05:48 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230061AbhFWLIE (ORCPT ); Wed, 23 Jun 2021 07:08:04 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41246 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230028AbhFWLID (ORCPT ); Wed, 23 Jun 2021 07:08:03 -0400 Received: from mail-wr1-x433.google.com (mail-wr1-x433.google.com [IPv6:2a00:1450:4864:20::433]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 40BB9C061574 for ; Wed, 23 Jun 2021 04:05:45 -0700 (PDT) Received: by mail-wr1-x433.google.com with SMTP id i94so2172143wri.4 for ; Wed, 23 Jun 2021 04:05:45 -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=ZYkqajOiQgSNe272SHBrHqDRMMBGj/uSjaDMNeVVRvlD1ZffLQaz2JZdcKPQodZ8YW BQPhXp3aToejWg64XM/IbzjFzfFvd11xGE1wabaCeNcbumJHm0XBbcvTnEBkZ8BXZFgp cyEp7iSRmzrJiv+LN41j/4xfeetf+Gp35ZKIquGFyhW2SDgzTuDL0HA2kM+fs3bHp8wb 9UWA1sCWeCQTlmTGnxgPsGXYNLiUyp5JvrfvdET7cYtrKWcsaSJJlG9dPGZ/jfDHUuKP hZKHD85jYa9+nmN1venlK+o1N/e43tGAQHkNwfd29dQSwZNqFKw4myUkns2//zf29kvz lggg== X-Gm-Message-State: AOAM531GmOhBiN66NGWyIlhoT8YomzdHvxCct2GbHXng4ETGXcrWFoV/ c5vEGugGjG898dKOp+DjWBDaMg== 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) Sender: Michal Simek 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 Precedence: bulk List-ID: X-Mailing-List: dmaengine@vger.kernel.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;