Received: by 2002:ac0:bc90:0:0:0:0:0 with SMTP id a16csp1497536img; Sat, 23 Mar 2019 04:35:42 -0700 (PDT) X-Google-Smtp-Source: APXvYqwhH5gXmFX8gc3yaNPO6XriJo5ImABFRJzWPRIPMAunpcdiTFdZBjEpOxx21Od6lksFS+2+ X-Received: by 2002:a63:6bc6:: with SMTP id g189mr13745655pgc.427.1553340942038; Sat, 23 Mar 2019 04:35:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1553340942; cv=none; d=google.com; s=arc-20160816; b=CJQEgK8VM5I7T5uoIAaKbGcmw6mVJzSa1COjtx1RWe2RA2+hdQq2+a6qyouDHwwBpS RnR2bUm7IwSumFQUjsLqX1RKDRVamDGTBbMhOUevV1/W772L4uXyPeGuC2qi4f4ZTOs7 QfixC/jWgivOn1v05JwjFNbWdfw5wFYBB7a0ClpMI/o7rdPGHXc8CvjihOyz0f1mFFD3 y5/w+Tp9qP8Vg6sGZAKWoC822aUyEcvfz2kjm7GRJlxC+PcQjzMNoLYRj66JVRTVPV3H xFo9cNk3GkGF9UHGJjQSssi5A1PEMwmO4qY0rIzlUon0fV3fv4VsfqRpnTWCxvyJLdK3 BdiQ== 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=HiyTezxoUk6qedsEYwxuVQ68QLl7+crqseoJCSBSYJE=; b=IcpGzf4dBn8YjA7JNL7ZckBonhyhU86B7WWzdws6EL5eWCRcDzIoMrElnXjkWFPNP2 oBzgXcZ3ADFd38NHGhGTDN3G9mMvnXY5MtQQBCW3q/vP7XQUYV578p1CSVxgYkmezz0H 3ZDy8Jd/QlMnBnY1/bltgZrPPlzyHYf8WS0jI9XO/Og+v/kEksV81Q/PGpDa+LthbO8+ hYpM8jfiQfk877CpwS8XYMaNXzQJ2aWX4h6Li/zYAVe9x8JpxbDvCG2hSkWCQ3Tnaoax dYOZ+o8176wcQlpwNeiZln9hq4A+5gd72cc1WFJZA/9NP2v5E/F8BaXek3i5Do+YrGaN wmkw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=Mp0XEUqy; 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 q185si8979483pga.135.2019.03.23.04.35.26; Sat, 23 Mar 2019 04:35:42 -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=Mp0XEUqy; 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 S1727166AbfCWLew (ORCPT + 99 others); Sat, 23 Mar 2019 07:34:52 -0400 Received: from mail-pf1-f195.google.com ([209.85.210.195]:41989 "EHLO mail-pf1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726897AbfCWLev (ORCPT ); Sat, 23 Mar 2019 07:34:51 -0400 Received: by mail-pf1-f195.google.com with SMTP id r15so3247659pfn.9 for ; Sat, 23 Mar 2019 04:34:51 -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=HiyTezxoUk6qedsEYwxuVQ68QLl7+crqseoJCSBSYJE=; b=Mp0XEUqyQ94uJJzTd5tsKSMRh/Th1Or26XcS9qUDuoq7vqMN6KFBylA2kkrNDRWWII 2XdhNnpJA2+BGxIsYkDKpiaoS7yMgXe8pUyD85X99f47tf7rsLMHJ9TstX4RvAiOCJke ZlUD8Lpsr4oTWOR3y28CfUHp0ZkPV0f0hYeW9iV0jcr3GnN0FSmV66Eqmm6DUOK9K1dj jdTeCRki2GNQ64gRq+OCGHHP81i3V492HOmM67MBDrLFBEoU5snH5d/MJ0w67piNzaBc wtVK6dtxZJCBh+ExoyVu+loLU5VngK8H1aLwCjkI5mzQxA4DoE7xpShn0X4TIMP1ZpI9 dPDg== 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=HiyTezxoUk6qedsEYwxuVQ68QLl7+crqseoJCSBSYJE=; b=AE+bfBhmeUQ4W8DqPMWGwfCLLjPviql1lFwQYMTOLZPSuPZyVKPBM+bLqthv5sAJEn hNRZvKCPhSuoyoHL9yo/mTXuhWweMDcVhSZeIiqVjxAlzdJ10avk7CuUDxnrIHL0pf9M ux/sdMGpOsAENtyH5OwmRWAPolYgOkiF7gJGfWbPUwk9xkZgbUt/Q4pcbjct5yzwgBtm b6ZySQyYVZuqd6ayOqSkLj6dvQ+KpJcLJNE82+Dw0ChrH39LMC0Bgk8enG2Y6s+aodtF hUlGmaT2YKxgIzZ0Rm3lXGU5xGu/82cizMp0WL0QPUUNUsR9I6yZj/oOeAuQy2H8UvqT kAFQ== X-Gm-Message-State: APjAAAWtJlqGMZS772QHVKfmrBAzAvvnDliIeM3lCzkTSaDlrSKf++a2 VVLY25j1k/sEzzlz4CssWJs= X-Received: by 2002:a62:4e8a:: with SMTP id c132mr13810922pfb.24.1553340891306; Sat, 23 Mar 2019 04:34:51 -0700 (PDT) Received: from bharath12345-Inspiron-5559 ([103.110.42.32]) by smtp.gmail.com with ESMTPSA id d75sm12908686pga.66.2019.03.23.04.34.47 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 23 Mar 2019 04:34:50 -0700 (PDT) Date: Sat, 23 Mar 2019 17:04:44 +0530 From: Bharath Vedartham To: gregkh@linuxfoundation.org, christian@lkamp.de, neil@brown.name Cc: devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org Subject: [PATCH] staging: ralink-gdma: Convert unsigned to unsigned int Message-ID: <20190323113444.GA9329@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 Fix the checkpatch.pl warning: "Use unsigned int instead of unsigned". Signed-off-by: Bharath Vedartham --- drivers/staging/ralink-gdma/ralink-gdma.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/ralink-gdma/ralink-gdma.c b/drivers/staging/ralink-gdma/ralink-gdma.c index 0b831f8..523c39e 100644 --- a/drivers/staging/ralink-gdma/ralink-gdma.c +++ b/drivers/staging/ralink-gdma/ralink-gdma.c @@ -162,7 +162,7 @@ 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, u32 val) +static inline void gdma_dma_write(struct gdma_dma_dev *dma_dev, unsigned int reg, u32 val) { writel(val, dma_dev->base + reg); } -- 2.7.4