From patchwork Thu Jun 4 13:26:17 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ameya Palande X-Patchwork-Id: 27889 Received: from vger.kernel.org (vger.kernel.org [209.132.176.167]) by demeter.kernel.org (8.14.2/8.14.2) with ESMTP id n54DQ9Ew012918 for ; Thu, 4 Jun 2009 13:26:35 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751945AbZFDN0b (ORCPT ); Thu, 4 Jun 2009 09:26:31 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752396AbZFDN0b (ORCPT ); Thu, 4 Jun 2009 09:26:31 -0400 Received: from smtp.nokia.com ([192.100.122.230]:57600 "EHLO mgw-mx03.nokia.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751945AbZFDN0b (ORCPT ); Thu, 4 Jun 2009 09:26:31 -0400 Received: from vaebh105.NOE.Nokia.com (vaebh105.europe.nokia.com [10.160.244.31]) by mgw-mx03.nokia.com (Switch-3.2.6/Switch-3.2.6) with ESMTP id n54DQ0xf016247; Thu, 4 Jun 2009 16:26:26 +0300 Received: from esebh102.NOE.Nokia.com ([172.21.138.183]) by vaebh105.NOE.Nokia.com with Microsoft SMTPSVC(6.0.3790.3959); Thu, 4 Jun 2009 16:26:02 +0300 Received: from mgw-sa02.ext.nokia.com ([147.243.1.48]) by esebh102.NOE.Nokia.com over TLS secured channel with Microsoft SMTPSVC(6.0.3790.3959); Thu, 4 Jun 2009 16:26:01 +0300 Received: from localhost.localdomain (esdhcp04162.research.nokia.com [172.21.41.62]) by mgw-sa02.ext.nokia.com (Switch-3.2.6/Switch-3.2.6) with ESMTP id n54DQ10H020148; Thu, 4 Jun 2009 16:26:01 +0300 From: Ameya Palande To: linux-omap@vger.kernel.org Cc: omar.ramirez@ti.com Subject: [PATCH] DSPBRIDGE: Compiler wanrning fix for unlocked_ioctl Date: Thu, 4 Jun 2009 16:26:17 +0300 Message-Id: <1244121977-24927-1-git-send-email-ameya.palande@nokia.com> X-Mailer: git-send-email 1.6.2.4 X-OriginalArrivalTime: 04 Jun 2009 13:26:01.0882 (UTC) FILETIME=[01324FA0:01C9E518] X-Nokia-AV: Clean Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org From: Ameya Palande Signed-off-by: Ameya Palande --- drivers/dsp/bridge/rmgr/drv_interface.c | 2 +- drivers/dsp/bridge/rmgr/drv_interface.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/dsp/bridge/rmgr/drv_interface.c b/drivers/dsp/bridge/rmgr/drv_interface.c index c3d8a02..f41e153 100644 --- a/drivers/dsp/bridge/rmgr/drv_interface.c +++ b/drivers/dsp/bridge/rmgr/drv_interface.c @@ -665,7 +665,7 @@ static int bridge_release(struct inode *ip, struct file *filp) } /* This function provides IO interface to the bridge driver. */ -static int bridge_ioctl(struct file *filp, unsigned int code, +static long bridge_ioctl(struct file *filp, unsigned int code, unsigned long args) { int status; diff --git a/drivers/dsp/bridge/rmgr/drv_interface.h b/drivers/dsp/bridge/rmgr/drv_interface.h index 3e77ed0..dc49210 100644 --- a/drivers/dsp/bridge/rmgr/drv_interface.h +++ b/drivers/dsp/bridge/rmgr/drv_interface.h @@ -34,7 +34,7 @@ static int __init bridge_init(void); /* Initialize bridge */ static void __exit bridge_exit(void); /* Opposite of initialize */ static int bridge_open(struct inode *, struct file *); /* Open */ static int bridge_release(struct inode *, struct file *); /* Release */ -static int bridge_ioctl(struct file *, unsigned int, +static long bridge_ioctl(struct file *, unsigned int, unsigned long); static int bridge_mmap(struct file *filp, struct vm_area_struct *vma); #endif /* ifndef _DRV_INTERFACE_H_ */