Re: [RFC 2/6] pstore: remove type argument from ramoops_get_next_prz

2018-10-26 Thread Kees Cook
On Fri, Oct 26, 2018 at 7:00 PM, Joel Fernandes (Google) wrote: > Since we store the type of the prz when we initialize it, we no longer > need to pass it again in ramoops_get_next_prz since we can just use that > to setup the pstore record. So lets remove it from the argument list. > >

Re: [RFC 2/6] pstore: remove type argument from ramoops_get_next_prz

2018-10-26 Thread Kees Cook
On Fri, Oct 26, 2018 at 7:00 PM, Joel Fernandes (Google) wrote: > Since we store the type of the prz when we initialize it, we no longer > need to pass it again in ramoops_get_next_prz since we can just use that > to setup the pstore record. So lets remove it from the argument list. > >

[RFC 2/6] pstore: remove type argument from ramoops_get_next_prz

2018-10-26 Thread Joel Fernandes (Google)
Since we store the type of the prz when we initialize it, we no longer need to pass it again in ramoops_get_next_prz since we can just use that to setup the pstore record. So lets remove it from the argument list. Signed-off-by: Joel Fernandes (Google) --- fs/pstore/ram.c | 20

[RFC 2/6] pstore: remove type argument from ramoops_get_next_prz

2018-10-26 Thread Joel Fernandes (Google)
Since we store the type of the prz when we initialize it, we no longer need to pass it again in ramoops_get_next_prz since we can just use that to setup the pstore record. So lets remove it from the argument list. Signed-off-by: Joel Fernandes (Google) --- fs/pstore/ram.c | 20