From patchwork Wed Jun 15 06:14:16 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kuninori Morimoto X-Patchwork-Id: 881122 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter1.kernel.org (8.14.4/8.14.4) with ESMTP id p5F6ED4n019244 for ; Wed, 15 Jun 2011 06:14:18 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751571Ab1FOGOR (ORCPT ); Wed, 15 Jun 2011 02:14:17 -0400 Received: from relmlor3.renesas.com ([210.160.252.173]:54775 "EHLO relmlor3.renesas.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751410Ab1FOGOR (ORCPT ); Wed, 15 Jun 2011 02:14:17 -0400 Received: from relmlir1.idc.renesas.com ([10.200.68.151]) by relmlor3.idc.renesas.com ( SJSMS) with ESMTP id <0LMT00HH8INSZ790@relmlor3.idc.renesas.com> for linux-sh@vger.kernel.org; Wed, 15 Jun 2011 15:14:16 +0900 (JST) Received: from relmlac4.idc.renesas.com ([10.200.69.24]) by relmlir1.idc.renesas.com (SJSMS) with ESMTP id <0LMT00J57INSLZF0@relmlir1.idc.renesas.com> for linux-sh@vger.kernel.org; Wed, 15 Jun 2011 15:14:16 +0900 (JST) Received: by relmlac4.idc.renesas.com (Postfix, from userid 0) id 44EF64807B; Wed, 15 Jun 2011 15:14:16 +0900 (JST) Received: from relmlac4.idc.renesas.com (localhost [127.0.0.1]) by relmlac4.idc.renesas.com (Postfix) with ESMTP id 3D4D648070; Wed, 15 Jun 2011 15:14:16 +0900 (JST) Received: from relmlii1.idc.renesas.com [10.200.68.65] by relmlac4.idc.renesas.com with ESMTP id RAE15439; Wed, 15 Jun 2011 15:14:16 +0900 Date: Wed, 15 Jun 2011 15:14:16 +0900 X-IronPort-AV: E=Sophos; i="4.65,369,1304262000"; d="scan'208"; a="32088556" Received: from unknown (HELO PG10870.renesas.com) ([172.30.8.159]) by relmlii1.idc.renesas.com with ESMTP; Wed, 15 Jun 2011 15:14:16 +0900 Message-id: To: Paul Mundt Cc: Magnus , Linux-SH , Guennadi , Kuninori Morimoto In-reply-to: References: From: Kuninori Morimoto Subject: [PATCH 5/5] dmaengine: shdma: fixup parameter definition on dmae_set_dmars User-Agent: SEMI/1.14.6 (Maruoka) FLIM/1.14.7 (=?ISO-2022-JP-2?B?U2Fuag==?= =?ISO-2022-JP-2?B?GyQoRCtXGyhC?=) APEL/10.6 Emacs/23.2 (i386-mingw-nt5.1.2600) MULE/6.0 (HANACHIRUSATO) MIME-version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-type: text/plain; charset=US-ASCII Sender: linux-sh-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-sh@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.6 (demeter1.kernel.org [140.211.167.41]); Wed, 15 Jun 2011 06:14:18 +0000 (UTC) chan_pdata->dmars_bit is unsigned int Signed-off-by: Kuninori Morimoto --- drivers/dma/shdma.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/dma/shdma.c b/drivers/dma/shdma.c index 19fd18d..8b4699e 100644 --- a/drivers/dma/shdma.c +++ b/drivers/dma/shdma.c @@ -212,7 +212,7 @@ static int dmae_set_dmars(struct sh_dmae_chan *sh_chan, u16 val) struct sh_dmae_pdata *pdata = shdev->pdata; const struct sh_dmae_channel *chan_pdata = &pdata->channel[sh_chan->id]; void __iomem *addr = shdev->dmars; - int shift = chan_pdata->dmars_bit; + unsigned int shift = chan_pdata->dmars_bit; if (dmae_is_busy(sh_chan)) return -EBUSY;