Re: [PATCH v1] HID: make arrays usage and value to be the same

2021-01-18 Thread Jiri Kosina
On Sat, 5 Dec 2020, Will McVicker wrote: > The HID subsystem allows an "HID report field" to have a different > number of "values" and "usages" when it is allocated. When a field > struct is created, the size of the usage array is guaranteed to be at > least as large as the values array, but it ma

Re: [PATCH v1] HID: make arrays usage and value to be the same

2021-01-14 Thread Will McVicker
Hi Jiri, I noticed this hasn't merged yet. So just sending a friendly reminder. Thanks, Will On Thu, Dec 17, 2020 at 10:42 AM Will McVicker wrote: > > Great! Thanks for the reply. > > --Will > > On Thu, Dec 17, 2020 at 2:19 AM Jiri Kosina wrote: > > > > On Mon, 14 Dec 2020, Will McVicker wrote

Re: [PATCH v1] HID: make arrays usage and value to be the same

2020-12-17 Thread Will McVicker
Great! Thanks for the reply. --Will On Thu, Dec 17, 2020 at 2:19 AM Jiri Kosina wrote: > > On Mon, 14 Dec 2020, Will McVicker wrote: > > > > The HID subsystem allows an "HID report field" to have a different > > > number of "values" and "usages" when it is allocated. When a field > > > struct is

Re: [PATCH v1] HID: make arrays usage and value to be the same

2020-12-17 Thread Jiri Kosina
On Mon, 14 Dec 2020, Will McVicker wrote: > > The HID subsystem allows an "HID report field" to have a different > > number of "values" and "usages" when it is allocated. When a field > > struct is created, the size of the usage array is guaranteed to be at > > least as large as the values array,

Re: [PATCH v1] HID: make arrays usage and value to be the same

2020-12-14 Thread Will McVicker
On Sat, Dec 05, 2020 at 12:48:48AM +, Will McVicker wrote: > The HID subsystem allows an "HID report field" to have a different > number of "values" and "usages" when it is allocated. When a field > struct is created, the size of the usage array is guaranteed to be at > least as large as the va

Re: [PATCH v1] HID: make arrays usage and value to be the same

2020-12-07 Thread Will McVicker
On Mon, Dec 07, 2020 at 07:24:16PM +0100, Greg KH wrote: > On Mon, Dec 07, 2020 at 09:55:48AM -0800, Will McVicker wrote: > > On Sat, Dec 05, 2020 at 09:59:57AM +0100, Greg KH wrote: > > > On Sat, Dec 05, 2020 at 12:48:48AM +, Will McVicker wrote: > > > > The HID subsystem allows an "HID report

Re: [PATCH v1] HID: make arrays usage and value to be the same

2020-12-07 Thread Greg KH
On Mon, Dec 07, 2020 at 09:55:48AM -0800, Will McVicker wrote: > On Sat, Dec 05, 2020 at 09:59:57AM +0100, Greg KH wrote: > > On Sat, Dec 05, 2020 at 12:48:48AM +, Will McVicker wrote: > > > The HID subsystem allows an "HID report field" to have a different > > > number of "values" and "usages"

Re: [PATCH v1] HID: make arrays usage and value to be the same

2020-12-07 Thread Will McVicker
On Sat, Dec 05, 2020 at 09:59:57AM +0100, Greg KH wrote: > On Sat, Dec 05, 2020 at 12:48:48AM +, Will McVicker wrote: > > The HID subsystem allows an "HID report field" to have a different > > number of "values" and "usages" when it is allocated. When a field > > struct is created, the size of

Re: [PATCH v1] HID: make arrays usage and value to be the same

2020-12-05 Thread Greg KH
On Sat, Dec 05, 2020 at 12:48:48AM +, Will McVicker wrote: > The HID subsystem allows an "HID report field" to have a different > number of "values" and "usages" when it is allocated. When a field > struct is created, the size of the usage array is guaranteed to be at > least as large as the va