From patchwork Thu Jun 23 15:39:19 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Riku Voipio X-Patchwork-Id: 2233 Return-Path: X-Original-To: patchwork@peony.canonical.com Delivered-To: patchwork@peony.canonical.com Received: from fiordland.canonical.com (fiordland.canonical.com [91.189.94.145]) by peony.canonical.com (Postfix) with ESMTP id EF25523F7C for ; Thu, 23 Jun 2011 15:41:32 +0000 (UTC) Received: from mail-qy0-f180.google.com (mail-qy0-f180.google.com [209.85.216.180]) by fiordland.canonical.com (Postfix) with ESMTP id B70F5A189BF for ; Thu, 23 Jun 2011 15:41:32 +0000 (UTC) Received: by qyk30 with SMTP id 30so1428968qyk.11 for ; Thu, 23 Jun 2011 08:41:32 -0700 (PDT) Received: by 10.229.137.149 with SMTP id w21mr1706255qct.59.1308843692192; Thu, 23 Jun 2011 08:41:32 -0700 (PDT) X-Forwarded-To: linaro-patchwork@canonical.com X-Forwarded-For: patch@linaro.org linaro-patchwork@canonical.com Delivered-To: patches@linaro.org Received: by 10.229.230.139 with SMTP id jm11cs22036qcb; Thu, 23 Jun 2011 08:41:31 -0700 (PDT) Received: by 10.14.15.83 with SMTP id e59mr1592196eee.174.1308843560679; Thu, 23 Jun 2011 08:39:20 -0700 (PDT) Received: from mail-ey0-f178.google.com (mail-ey0-f178.google.com [209.85.215.178]) by mx.google.com with ESMTPS id y48si3067808eey.96.2011.06.23.08.39.20 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 23 Jun 2011 08:39:20 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.215.178 is neither permitted nor denied by best guess record for domain of riku.voipio@linaro.org) client-ip=209.85.215.178; Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.215.178 is neither permitted nor denied by best guess record for domain of riku.voipio@linaro.org) smtp.mail=riku.voipio@linaro.org Received: by eya25 with SMTP id 25so744100eya.37 for ; Thu, 23 Jun 2011 08:39:20 -0700 (PDT) MIME-Version: 1.0 Received: by 10.14.37.11 with SMTP id x11mr1547309eea.67.1308843559916; Thu, 23 Jun 2011 08:39:19 -0700 (PDT) Received: by 10.213.8.78 with HTTP; Thu, 23 Jun 2011 08:39:19 -0700 (PDT) Date: Thu, 23 Jun 2011 18:39:19 +0300 Message-ID: Subject: remove warning From: Riku Voipio To: patches@linaro.org >From 7835c35a45d82d8ab28e01ff9754248dec1aa488 Mon Sep 17 00:00:00 2001 From: Riku Voipio Date: Thu, 16 Jun 2011 15:22:09 +0300 Subject: [PATCH 09/12] remove warning unlocked_ioctl fileop expects long, not int Signed-off-by: Riku Voipio --- kfgles2/kfgles2_main.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/kfgles2/kfgles2_main.c b/kfgles2/kfgles2_main.c index caafa0a..94a6584 100644 --- a/kfgles2/kfgles2_main.c +++ b/kfgles2/kfgles2_main.c @@ -124,7 +124,7 @@ static int kfgles2_release(struct inode *inode, struct file *filep) return 0; } /* Used to set the API, es11/20 */ -static int kfgles2_ioctl(struct file *filep, unsigned int cmd, unsigned long arg) +static long kfgles2_ioctl(struct file *filep, unsigned int cmd, unsigned long arg) { kfgles2_api = cmd; KFGLES2_PRINT("ioctl called: cmd=%d, kfgles2_api=%d\n",cmd,kfgles2_api); -- 1.7.4.1