Re: [PATCH] target: fixup error message in target_tg_pt_gp_tg_pt_gp_id_store()

2017-05-01 Thread Nicholas A. Bellinger
On Fri, 2017-04-28 at 10:04 +0200, Hannes Reinecke wrote: > When setting up an ALUA target port group with an invalid ID the > error message > > kstrtoul() returned -22 for tg_pt_gp_id > > is displayed, which is not really helpful. > Convert it to something sane. > And while we're at it, join

Re: [PATCH] target: fixup error message in target_tg_pt_gp_tg_pt_gp_id_store()

2017-04-28 Thread Bart Van Assche
On Fri, 2017-04-28 at 10:04 +0200, Hannes Reinecke wrote: > When setting up an ALUA target port group with an invalid ID the > error message > > kstrtoul() returned -22 for tg_pt_gp_id > > is displayed, which is not really helpful. > Convert it to something sane. > And while we're at it, join

[PATCH] target: fixup error message in target_tg_pt_gp_tg_pt_gp_id_store()

2017-04-28 Thread Hannes Reinecke
When setting up an ALUA target port group with an invalid ID the error message kstrtoul() returned -22 for tg_pt_gp_id is displayed, which is not really helpful. Convert it to something sane. And while we're at it, join the messages onto a single line. Signed-by: Hannes Reinecke