Re: [PATCH v2] pstore: Avoid duplicate call of persistent_ram_zap()

2018-10-29 Thread Joel Fernandes
t;linux-kernel@vger.kernel.org; Joel Fernandes > >Subject: Re: [PATCH v2] pstore: Avoid duplicate call of persistent_ram_zap() > > > >On Sat, Oct 27, 2018 at 2:08 PM, Peng15 Wang 王鹏 > >wrote: > >> When initialing prz with invalid data in buffer(no PERSISTENT_RAM_S

Re: [PATCH v2] pstore: Avoid duplicate call of persistent_ram_zap()

2018-10-28 Thread Kees Cook
On Sat, Oct 27, 2018 at 2:08 PM, Peng15 Wang 王鹏 wrote: > When initialing prz with invalid data in buffer(no PERSISTENT_RAM_SIG), > function call path is like this: > > ramoops_init_prz -> > | > |-> persistent_ram_new -> persistent_ram_post_init -> persistent_ram_zap > | > |-> persistent_ram_zap >