Search
SailfishOS Open Build Service
>
Projects
>
home:dcthang:branches:nemo:devel:hw:ti:omap3:n900
>
kernel-adaptation-n900
> linux-2.61-HSI-hsi_char-hsi_char_ioctl-compilation-warning.patch
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File linux-2.61-HSI-hsi_char-hsi_char_ioctl-compilation-warning.patch of Package kernel-adaptation-n900
From dc0afe0a736190e57cb494a2969f2a3fab0c32e0 Mon Sep 17 00:00:00 2001 From: Ilkka Koskinen <ilkka.koskinen@nokia.com> Date: Thu, 10 Feb 2011 18:03:43 +0200 Subject: [PATCH 1/3] HSI: hsi_char: hsi_char_ioctl() compilation warning hsi_char_ioctl() is assigned to unlocked_ioctl instead of ioctl. The types differ from each other, which resulted in assigning a wrong type of function point. Signed-off-by: Ilkka Koskinen <ilkka.koskinen@nokia.com> --- drivers/hsi/clients/hsi_char.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/hsi/clients/hsi_char.c b/drivers/hsi/clients/hsi_char.c index 9767412..1ba7d84 100644 --- a/drivers/hsi/clients/hsi_char.c +++ b/drivers/hsi/clients/hsi_char.c @@ -720,8 +720,8 @@ static inline void hsi_char_tx2ecfg(struct hsc_tx_config *tx_cfg, tx_cfg->arb_mode = cfg->arb_mode; } -static long hsi_char_ioctl(struct inode *inode, struct file *file, - unsigned int cmd, unsigned long arg) +static long hsi_char_ioctl(struct file *file, unsigned int cmd, + unsigned long arg) { struct hsi_char_channel *channel = file->private_data; unsigned int state; -- 1.7.0.4