Re: [PATCH v2] HID: rmi: check that report ids exist in the report_id_hash before accessing their size

2014-07-29 Thread Jiri Kosina
On Thu, 17 Jul 2014, Andrew Duggan wrote: > It is possible that the hid-rmi driver could get loaded onto a device which > does not have the > expected report ids. This should not happen because it would indicate that > the hid-rmi driver is > not compatible with that device. However, if it does

Re: [PATCH v2] HID: rmi: check that report ids exist in the report_id_hash before accessing their size

2014-07-29 Thread Jiri Kosina
On Thu, 17 Jul 2014, Andrew Duggan wrote: It is possible that the hid-rmi driver could get loaded onto a device which does not have the expected report ids. This should not happen because it would indicate that the hid-rmi driver is not compatible with that device. However, if it does

Re: [PATCH v2] HID: rmi: check that report ids exist in the report_id_hash before accessing their size

2014-07-18 Thread Benjamin Tissoires
On Jul 17 2014 or thereabouts, Andrew Duggan wrote: > It is possible that the hid-rmi driver could get loaded onto a device which > does not have the > expected report ids. This should not happen because it would indicate that > the hid-rmi driver is > not compatible with that device. However,

Re: [PATCH v2] HID: rmi: check that report ids exist in the report_id_hash before accessing their size

2014-07-18 Thread Benjamin Tissoires
On Jul 17 2014 or thereabouts, Andrew Duggan wrote: It is possible that the hid-rmi driver could get loaded onto a device which does not have the expected report ids. This should not happen because it would indicate that the hid-rmi driver is not compatible with that device. However, if it

[PATCH v2] HID: rmi: check that report ids exist in the report_id_hash before accessing their size

2014-07-17 Thread Andrew Duggan
It is possible that the hid-rmi driver could get loaded onto a device which does not have the expected report ids. This should not happen because it would indicate that the hid-rmi driver is not compatible with that device. However, if it does happen it should return an error from probe instead

[PATCH v2] HID: rmi: check that report ids exist in the report_id_hash before accessing their size

2014-07-17 Thread Andrew Duggan
It is possible that the hid-rmi driver could get loaded onto a device which does not have the expected report ids. This should not happen because it would indicate that the hid-rmi driver is not compatible with that device. However, if it does happen it should return an error from probe instead