linux_dsm_epyc7002/drivers/w1
Dan Carpenter a7155f4e22 w1: small type cleanup in sysfs
On 64 bit systems, a large value for "long tmp" is truncated when
assigning to "int md->max_slave_count" so we still end up with a value
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.

Acked-by: David Fries <david@fries.net>
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-02-15 11:51:05 -08:00
..
masters Revert ds1wm.c from "w1: hold bus_mutex in netlink and search" 2014-02-08 13:30:43 -08:00
slaves w1: use family_data instead of rom in w1_slave 2014-02-07 15:40:18 -08:00
Kconfig Kconfig: replace "--- help ---" with "---help---" 2012-05-07 15:01:22 +02:00
Makefile
w1_family.c w1: format for DocBook and fixes 2014-02-07 15:40:18 -08:00
w1_family.h w1: format for DocBook and fixes 2014-02-07 15:40:18 -08:00
w1_int.c w1: format for DocBook and fixes 2014-02-07 15:40:18 -08:00
w1_int.h MAINTAINERS: Evgeniy has moved 2011-08-25 16:25:33 -07:00
w1_io.c w1: format for DocBook and fixes 2014-02-07 15:40:18 -08:00
w1_log.h MAINTAINERS: Evgeniy has moved 2011-08-25 16:25:33 -07:00
w1_netlink.c w1: hold bus_mutex in netlink and search 2014-02-07 15:40:18 -08:00
w1_netlink.h w1: format for DocBook and fixes 2014-02-07 15:40:18 -08:00
w1.c w1: small type cleanup in sysfs 2014-02-15 11:51:05 -08:00
w1.h w1: format for DocBook and fixes 2014-02-07 15:40:18 -08:00