Received: by 2002:ac0:bc90:0:0:0:0:0 with SMTP id a16csp634690img; Fri, 22 Mar 2019 05:36:10 -0700 (PDT) X-Google-Smtp-Source: APXvYqwdHRikNwMtFS/F/P563JcUFouBKX3ZU+4WN3AclAL5zZ7YjUjHONRqMpCbLKPprWoYaFv1 X-Received: by 2002:a63:d30d:: with SMTP id b13mr8712098pgg.307.1553258169915; Fri, 22 Mar 2019 05:36:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1553258169; cv=none; d=google.com; s=arc-20160816; b=ZJnpY0FWGxq7M+hyAv9JpqdMtzC8GFXmcHGoo8ltgqhx/m9JyvONETqr99bUKQsaM9 EloLkE+GMoFambZE7INYkZwfEFqXvwcuRbux0dFduk7Ma8C2e31cU9RBr+AYcWXovWHZ uqZCpKCNoLsc6xXca+182xaEaichOjj6PHlYPNiP37hcXbgFUie2xlEPi613vObf9f5u q8KsUMI5wCT554WN6a6q8ch08rh04M131npayaxWcbJVpGlIOhjMfYrl8sylrr7nMwv8 ESaHEacumNhqCJA9WXpLQ0lcFGlQv+uYIAQGXX2Yj8xfyWOTULjo/jounAP9sUMVNjK2 m7aw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:content-disposition :mime-version:message-id:subject:cc:to:from:date:dkim-signature; bh=e+Q6ymh8nE2cUHIAaKzDKoWB06PYHRB0lZuPNM3MsFo=; b=haMMKkVIVkQGJttJddD4VrEzKHyp89UhrFOAf0+orozj33Pmb+bXSLkn8UKhifOhSI D3lsqbD4iZ69pXmIQJ8HPQOnk12RkfWTl9AEYobJrCnSITGR6Xr1EZLv2vt7CJR6hACw m08+0MMNaSI7paf3dQopIHxnRP1jgkXNIoIJYjsB3qqkW93GjYU6k6AFBw2gfRREw4GE +SH61M48PszuviXxl44PjlK7lOiMOUWLVPgkrenN8uIA8Ml3CD+hwRhaNmsWLYMmQFwt 5ttPFohRKKVMuKA5tuhhyDaPa1MfkWRRatYKl4cwAWqqLwhtmfUV/i5rPSf4G1s829JQ of0g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=h+w16A0y; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id i62si7284883pli.218.2019.03.22.05.35.52; Fri, 22 Mar 2019 05:36:09 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=h+w16A0y; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2389425AbfCVMdv (ORCPT + 99 others); Fri, 22 Mar 2019 08:33:51 -0400 Received: from mail-pg1-f195.google.com ([209.85.215.195]:44134 "EHLO mail-pg1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2389259AbfCVMOR (ORCPT ); Fri, 22 Mar 2019 08:14:17 -0400 Received: by mail-pg1-f195.google.com with SMTP id i2so1393956pgj.11 for ; Fri, 22 Mar 2019 05:14:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:mime-version:content-disposition :user-agent; bh=e+Q6ymh8nE2cUHIAaKzDKoWB06PYHRB0lZuPNM3MsFo=; b=h+w16A0yy0ULcEJgOLJAS0P2Oq7mt3GAzP33EIF4Kvndu9f+TBHPmQ/I4Hus4X9rbT o7pMCiZtqd0b50Lpl1Pu7ifbJU3Cb4eBxwb/vbbpFDwN0vNojw5vgsHoxr9jDTdIZkVR yaNKJLLih0w4bJx3mrGsAZOtWYAF50Nav9uDDrqgzv3H5LsptjQ+0eObE3d3JuPtPcvc gYv0d5ZbEe3YlSzi19O3e2K46kWyDh2w6BI1mFdi/XcLDmMIqZnzi11YlsH9+asMULYz Z7CuVI8O8wlRyNNfp8oAy0ysEneunW2wRq4c13gEhvYa3nuRyBuL50xT+nL24xLVZJ1y 51lw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:mime-version :content-disposition:user-agent; bh=e+Q6ymh8nE2cUHIAaKzDKoWB06PYHRB0lZuPNM3MsFo=; b=DMqfUoAVFX1jnlUlyGr+AmyA9QJ5JNg/Ny7k//e+POg1e+dKsK6kx+ybG4cr90BY6Q tpLXPy43v741OBCvjvDfCBcvnZMCt5t4bStyHVd+eUiHohJwCieVA6QZMK3CnIzcths8 faTNIWxjnNszUEr5RsycXPDUPS40x2+SO4axNw0mjtzjf1/ssBEJrCcItpJP4O8EH2/i uiPn+aFVYf+/I+T1HuuU/LGX7nPReDqCtz1QKEez/gNDx2pBHZQojVZgzYhncbLTJPGf ERfXjhoAQ1NWFRPWo23Lxnv2LGNCwJjxAcr2M4FGXemUDU9tpn5KD6DX7k5yIIpKevZK utPQ== X-Gm-Message-State: APjAAAWqtGZpZm5pEUkCoV01t5X5LwosX8imXiy3hoFFtpROoJQcf/qx 0gtsSOzTAiVlSDx/2W6ZaT8= X-Received: by 2002:a17:902:aa90:: with SMTP id d16mr8972652plr.250.1553256856389; Fri, 22 Mar 2019 05:14:16 -0700 (PDT) Received: from bharath12345-Inspiron-5559 ([117.198.99.29]) by smtp.gmail.com with ESMTPSA id h87sm12481248pfj.20.2019.03.22.05.14.13 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 22 Mar 2019 05:14:15 -0700 (PDT) Date: Fri, 22 Mar 2019 17:44:10 +0530 From: Bharath Vedartham To: gregkh@linuxfoundation.org, christian@lkamp.de Cc: devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org Subject: [PATCH v2] staging: ralink-gdma: Change uint32_t to u32 Message-ID: <20190322121410.GA3177@bharath12345-Inspiron-5559> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Change occurences of uint32_t to u32 to fix checkpatch.pl warning Signed-off-by: Bharath Vedartham --- Changes since v1: -Improved the changelog. --- drivers/staging/ralink-gdma/ralink-gdma.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/staging/ralink-gdma/ralink-gdma.c b/drivers/staging/ralink-gdma/ralink-gdma.c index 2c19287..7e824d3 100644 --- a/drivers/staging/ralink-gdma/ralink-gdma.c +++ b/drivers/staging/ralink-gdma/ralink-gdma.c @@ -157,14 +157,14 @@ static struct gdma_dma_desc *to_gdma_dma_desc(struct virt_dma_desc *vdesc) return container_of(vdesc, struct gdma_dma_desc, vdesc); } -static inline uint32_t gdma_dma_read(struct gdma_dma_dev *dma_dev, +static inline u32 gdma_dma_read(struct gdma_dma_dev *dma_dev, unsigned int reg) { return readl(dma_dev->base + reg); } static inline void gdma_dma_write(struct gdma_dma_dev *dma_dev, - unsigned reg, uint32_t val) + unsigned reg, u32 val) { writel(val, dma_dev->base + reg); } @@ -283,7 +283,7 @@ static int rt305x_gdma_start_transfer(struct gdma_dmaengine_chan *chan) struct gdma_dma_dev *dma_dev = gdma_dma_chan_get_dev(chan); dma_addr_t src_addr, dst_addr; struct gdma_dma_sg *sg; - uint32_t ctrl0, ctrl1; + u32 ctrl0, ctrl1; /* verify chan is already stopped */ ctrl0 = gdma_dma_read(dma_dev, GDMA_REG_CTRL0(chan->id)); @@ -753,7 +753,7 @@ static void gdma_dma_tasklet(unsigned long arg) static void rt305x_gdma_init(struct gdma_dma_dev *dma_dev) { - uint32_t gct; + u32 gct; /* all chans round robin */ gdma_dma_write(dma_dev, GDMA_RT305X_GCT, GDMA_REG_GCT_ARBIT_RR); @@ -767,7 +767,7 @@ static void rt305x_gdma_init(struct gdma_dma_dev *dma_dev) static void rt3883_gdma_init(struct gdma_dma_dev *dma_dev) { - uint32_t gct; + u32 gct; /* all chans round robin */ gdma_dma_write(dma_dev, GDMA_REG_GCT, GDMA_REG_GCT_ARBIT_RR); -- 2.7.4