Re: [PATCH v2 23/25] staging: lustre: libcfs: rework CPU pattern parsing code

2018-06-01 Thread Greg Kroah-Hartman
On Tue, May 29, 2018 at 10:22:03AM -0400, James Simmons wrote: > From: Dmitry Eremin > > Currently the module param string for CPU pattern can be > modified which is wrong. Rewrite CPU pattern parsing code > to avoid the passed buffer from being changed. This change > also enables us to add real

[PATCH v2 23/25] staging: lustre: libcfs: rework CPU pattern parsing code

2018-05-29 Thread James Simmons
From: Dmitry Eremin Currently the module param string for CPU pattern can be modified which is wrong. Rewrite CPU pattern parsing code to avoid the passed buffer from being changed. This change also enables us to add real errors propogation to the caller functions. Signed-off-by: Dmitry Eremin