Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751449AbWAHQNX (ORCPT ); Sun, 8 Jan 2006 11:13:23 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752646AbWAHQNX (ORCPT ); Sun, 8 Jan 2006 11:13:23 -0500 Received: from smtp114.sbc.mail.re2.yahoo.com ([68.142.229.91]:62814 "HELO smtp114.sbc.mail.re2.yahoo.com") by vger.kernel.org with SMTP id S1751449AbWAHQNX (ORCPT ); Sun, 8 Jan 2006 11:13:23 -0500 From: Dmitry Torokhov To: Miloslav Trmac Subject: Re: [PATCH] wistron_btns: Fix missing BIOS signature handling, take 2 Date: Sun, 8 Jan 2006 11:13:19 -0500 User-Agent: KMail/1.8.3 Cc: Linux Kernel Mailing List References: <43C0B3BF.5050100@volny.cz> <200601080158.04175.dtor_core@ameritech.net> <43C0C4BA.8000800@volny.cz> In-Reply-To: <43C0C4BA.8000800@volny.cz> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200601081113.20177.dtor_core@ameritech.net> Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 719 Lines: 22 On Sunday 08 January 2006 02:52, Miloslav Trmac wrote: > Dmitry Torokhov wrote: > > On Sunday 08 January 2006 01:39, Miloslav Trmac wrote: > > > >>offset can never be < 0 because it has type size_t. The driver > >>currently oopses on insmod if BIOS does not support the interface, > >>instead of refusing to load. > > > > I don't really like that casting, should we just change offset to ssize_t? > Sure. > Mirek > Thank you, I will add this to input tree. -- Dmitry - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/