[PATCH -next v2 10/12] pstore: Map PSTORE_TYPE_* to strings

2018-11-29 Thread Kees Cook
From: "Joel Fernandes (Google)" In later patches we will need to map types to names, so create a constant table for that which can also be used in different parts of old and new code. This saves the type in the PRZ which will be useful in later patches. Instead of having an explicit

[PATCH -next v2 10/12] pstore: Map PSTORE_TYPE_* to strings

2018-11-29 Thread Kees Cook
From: "Joel Fernandes (Google)" In later patches we will need to map types to names, so create a constant table for that which can also be used in different parts of old and new code. This saves the type in the PRZ which will be useful in later patches. Instead of having an explicit