Re: Input-evdev: Use kmalloc_array() in evdev_handle_get_val()

SF Markus Elfring
2016-09-24T19:04:51Z

> Again, what is the purpose of the changes?

I came also along a few source code places where their maintainers
requested the usage of a function like "kmalloc_array".

How do you think about to clarify the consistent use of programming
interfaces for Linux a bit more?

> Are you working on the code

I am trying to improve various free software (including Linux).

> and the fact that the driver is older-style hinders your progress?

Not for me directly.

> Or there are runtime improvements from your changes?

It depends on some factors.

Can an array memory allocator organise the desired data in a safer
and more efficient way than a "default approach"?

> Correctness issues?

This can be.

Do you care for source code annotations?

> I do not very much appreciate changes just to satisfy checkpatch rule
> du jour.

Do these rules contain knowledge which you give a significant value?

Regards,
Markus