Re: [patch] w1: small type cleanup in sysfs

2014-02-11 Thread Dan Carpenter
On Tue, Feb 11, 2014 at 10:45:13AM -0600, David Fries wrote: > Dan, > > I have some other changes in work, how automated is your checkers? > How much work is it for me to give a github repository and branch and > find out if I introduced any problems before submitting them? > This is a Smatch th

Re: [patch] w1: small type cleanup in sysfs

2014-02-11 Thread David Fries
Dan, I have some other changes in work, how automated is your checkers? How much work is it for me to give a github repository and branch and find out if I introduced any problems before submitting them? I didn't get how you could get a less than one after a check for less than one from the desc

[patch] w1: small type cleanup in sysfs

2014-02-11 Thread Dan Carpenter
On 64 bit systems, a large value for "tmp" could be truncated so we still end up with a ->max_slave_count which is less than one despite the "tmp < 1" check. This is more of a problem for static checkers than a real life issue, but it's simple enough to fix. Signed-off-by: Dan Carpenter diff --