From patchwork Wed Sep 29 08:34:06 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Christoph Fritz X-Patchwork-Id: 216642 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter1.kernel.org (8.14.4/8.14.3) with ESMTP id o8T8ReiV031028 for ; Wed, 29 Sep 2010 08:27:40 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754870Ab0I2I1g (ORCPT ); Wed, 29 Sep 2010 04:27:36 -0400 Received: from mail-ew0-f46.google.com ([209.85.215.46]:37264 "EHLO mail-ew0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754804Ab0I2I1f (ORCPT ); Wed, 29 Sep 2010 04:27:35 -0400 Received: by ewy23 with SMTP id 23so131791ewy.19 for ; Wed, 29 Sep 2010 01:27:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:subject:from:to:cc :content-type:date:message-id:mime-version:x-mailer :content-transfer-encoding; bh=7/Diz+7XJ077bpsS8AbhDWHk51nP8C+Cw+mZQ+qi5RA=; b=HqgW4lRsVF+x4HzUc53IsiyJB7wTvwIqJ48DN8jEzLHeNHJdDJzesTv/Yg4/j4CF40 LepR2Q41+2looW5LqdMp8tTIPFjlfe9J5ePF7A92lu+ckpw/pnczOwOgMObGvsMWvUss cV/SWRceXMVHzZPXLnACDG6uLcuvtLOePONu8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=subject:from:to:cc:content-type:date:message-id:mime-version :x-mailer:content-transfer-encoding; b=QbpMmdhGQsEhuMKsOTCKCaZ1N9ds/Z6Rbetdp6ri2mSHJMIH+5MQCmR8LAZeln/aiI lCkyP/azm4A75GzTLqVtKU8tKSqVwx7zRIFMlMSBUOP/cdVpygT0Uwc4Q98qurmxs3Lh fdbDCgz/1+Xo85njenmrLAz3Zrq/5IpKw99wI= Received: by 10.213.29.208 with SMTP id r16mr2301254ebc.58.1285748853986; Wed, 29 Sep 2010 01:27:33 -0700 (PDT) Received: from [192.168.1.4] (p3EE0391F.dip.t-dialin.net [62.224.57.31]) by mx.google.com with ESMTPS id v59sm11974987eeh.22.2010.09.29.01.27.32 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 29 Sep 2010 01:27:32 -0700 (PDT) Subject: [PATCH] Input: i8042 - use unsigned char for 0x90 From: Christoph Fritz To: Dmitry Torokhov Cc: kernel-janitors , linux-input Date: Wed, 29 Sep 2010 10:34:06 +0200 Message-ID: <1285749246.7370.5.camel@lovely> Mime-Version: 1.0 X-Mailer: Evolution 2.30.2 Sender: linux-input-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-input@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.3 (demeter1.kernel.org [140.211.167.41]); Wed, 29 Sep 2010 08:27:40 +0000 (UTC) diff --git a/drivers/input/serio/i8042.c b/drivers/input/serio/i8042.c index f585131..18db5a8 100644 --- a/drivers/input/serio/i8042.c +++ b/drivers/input/serio/i8042.c @@ -1063,7 +1063,7 @@ static long i8042_panic_blink(int state) #ifdef CONFIG_X86 static void i8042_dritek_enable(void) { - char param = 0x90; + unsigned char param = 0x90; int error; error = i8042_command(¶m, 0x1059);