[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20160108201346.6a6694e2@lxorguk.ukuu.org.uk>
Date: Fri, 8 Jan 2016 20:13:46 +0000
From: One Thousand Gnomes <gnomes@...rguk.ukuu.org.uk>
To: Aniroop Mathur <aniroop.mathur@...il.com>
Cc: David Herrmann <dh.herrmann@...il.com>,
Aniroop Mathur <a.mathur@...sung.com>,
Dmitry Torokhov <dmitry.torokhov@...il.com>,
"open list:HID CORE LAYER" <linux-input@...r.kernel.org>,
linux-kernel <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] Input: evdev - add ioctl cmd EVIOCGBUFSIZE to get
buffer size
> During system boot up, user space buf size is fixed, it cannot be
> resized later and we cannot choose by hit&trial.
> struct input_event* mBuffer = new input_event[mBuf];
Who says that won't change ? Imagine a future case where plugging in a
device changes the buffer size ?
Alan
Powered by blists - more mailing lists