Re: [PATCH 1/2] mm:zpool: constify struct zpool type

2015-09-11 Thread Sergey Senozhatsky
On (09/11/15 15:21), Andrew Morton wrote: > > From: Sergey SENOZHATSKY > > > > Constify `struct zpool' ->type. > > > > I think I prefer Dan's patch, which deletes stuff: Sure, agree. Somehow I overlooked it. -ss > From: Dan Streetman > Subject: zpool: remove redundant zpool->type s

Re: [PATCH 1/2] mm:zpool: constify struct zpool type

2015-09-11 Thread Andrew Morton
On Thu, 10 Sep 2015 20:48:37 +0900 Sergey Senozhatsky wrote: > From: Sergey SENOZHATSKY > > Constify `struct zpool' ->type. > I think I prefer Dan's patch, which deletes stuff: From: Dan Streetman Subject: zpool: remove redundant zpool->type string, const-ify zpool_get_type Make the retur

[PATCH 1/2] mm:zpool: constify struct zpool type

2015-09-10 Thread Sergey Senozhatsky
From: Sergey SENOZHATSKY Constify `struct zpool' ->type. Signed-off-by: Sergey Senozhatsky --- include/linux/zpool.h | 8 mm/zpool.c| 10 +- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/include/linux/zpool.h b/include/linux/zpool.h index 42f8ec9.