Re: [PATCH] misc: kgdbts: silence array underflow warning

2018-05-17 Thread Daniel Thompson
On Thu, May 17, 2018 at 03:22:29PM +0300, Dan Carpenter wrote: > Smatch distrusts simple_strtol(). I don't know the code well enough > to say if the distrust is justified here, but it seems harmless to > silence the warning. What warning does this fix? I'd prefer to have it in the description.

Re: [PATCH] misc: kgdbts: silence array underflow warning

2018-05-17 Thread Daniel Thompson
On Thu, May 17, 2018 at 03:22:29PM +0300, Dan Carpenter wrote: > Smatch distrusts simple_strtol(). I don't know the code well enough > to say if the distrust is justified here, but it seems harmless to > silence the warning. What warning does this fix? I'd prefer to have it in the description.

[PATCH] misc: kgdbts: silence array underflow warning

2018-05-17 Thread Dan Carpenter
Smatch distrusts simple_strtol(). I don't know the code well enough to say if the distrust is justified here, but it seems harmless to silence the warning. Signed-off-by: Dan Carpenter diff --git a/drivers/misc/kgdbts.c b/drivers/misc/kgdbts.c index

[PATCH] misc: kgdbts: silence array underflow warning

2018-05-17 Thread Dan Carpenter
Smatch distrusts simple_strtol(). I don't know the code well enough to say if the distrust is justified here, but it seems harmless to silence the warning. Signed-off-by: Dan Carpenter diff --git a/drivers/misc/kgdbts.c b/drivers/misc/kgdbts.c index 6193270e7b3d..e0508acaedaa 100644 ---