Re: [PATCH] pstore: remove unused vmalloc.h in pmsg

From: Kees Cook
Date: Thu Mar 23 2017 - 15:24:11 EST


On Thu, Mar 23, 2017 at 6:15 AM, Geliang Tang <geliangtang@xxxxxxxxx> wrote:
> Since the vmalloc code has been removed from write_pmsg() in the commit
> "5bf6d1b pstore/pmsg: drop bounce buffer", remove the unused header
> vmalloc.h.
>
> Signed-off-by: Geliang Tang <geliangtang@xxxxxxxxx>

Thanks! Applied for v4.12.

-Kees

> ---
> fs/pstore/pmsg.c | 1 -
> 1 file changed, 1 deletion(-)
>
> diff --git a/fs/pstore/pmsg.c b/fs/pstore/pmsg.c
> index c16a247..209755e 100644
> --- a/fs/pstore/pmsg.c
> +++ b/fs/pstore/pmsg.c
> @@ -15,7 +15,6 @@
> #include <linux/device.h>
> #include <linux/fs.h>
> #include <linux/uaccess.h>
> -#include <linux/vmalloc.h>
> #include "internal.h"
>
> static DEFINE_MUTEX(pmsg_lock);
> --
> 2.9.3
>



--
Kees Cook
Pixel Security