Thread (8 messages) 8 messages, 2 authors, 2016-09-24

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

flat view

From: SF Markus Elfring <hidden>
Date: 2016-09-24 19:04:51
Also in: kernel-janitors, lkml

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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help