Joshua Kinard
b00eeaedec
drivers/rtc/rtc-ds1685.c: fix conditional in ds1685_rtc_sysfs_time_regs_{show,store}
...
Fix a conditional statement checking for NULL in both
ds1685_rtc_sysfs_time_regs_show and ds1685_rtc_sysfs_time_regs_store
that was using a logical AND when it should be using a logical OR so
that we fail out of the function properly if the condition ever
evaluates to true.
Fixes: aaaf5fbf56f1 ("rtc: add driver for DS1685 family of real time clocks")
Signed-off-by: Joshua Kinard <kumba@gentoo.org>
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2015-02-28 09:57:51 -08:00
..
2014-11-21 12:00:00 -08:00
2015-01-23 17:21:57 -08:00
2015-01-23 17:21:55 -08:00
2015-02-19 10:36:45 -08:00
2015-02-16 17:56:05 -08:00
2014-10-20 16:21:31 +02:00
2014-10-20 16:21:31 +02:00
2014-10-20 16:21:31 +02:00
2014-12-14 16:10:09 -08:00
2015-02-13 21:21:43 -08:00
2015-02-13 21:21:43 -08:00
2014-04-03 16:21:22 -07:00
2014-10-20 16:21:31 +02:00
2014-10-20 16:21:31 +02:00
2013-04-05 09:36:53 -07:00
2015-02-13 21:21:43 -08:00
2014-10-20 16:21:31 +02:00
2014-10-20 16:21:31 +02:00
2014-10-29 16:33:14 -07:00
2014-10-20 16:21:31 +02:00
2014-10-14 02:18:19 +02:00
2014-10-20 16:21:31 +02:00
2014-10-20 16:21:31 +02:00
2014-10-20 16:21:31 +02:00
2014-10-20 16:21:31 +02:00
2014-10-20 16:21:31 +02:00
2015-01-23 17:21:56 -08:00
2014-10-20 16:21:31 +02:00
2014-10-20 16:21:31 +02:00
2014-10-20 16:21:31 +02:00
2014-10-20 16:21:31 +02:00
2014-04-03 16:21:16 -07:00
2014-12-10 17:41:15 -08:00
2014-08-08 15:57:19 -07:00
2014-04-03 16:21:23 -07:00
2014-12-10 17:41:15 -08:00
2014-04-03 16:21:17 -07:00
2014-10-20 16:21:31 +02:00
2014-10-20 16:21:31 +02:00
2014-04-03 16:21:16 -07:00
2015-02-28 09:57:51 -08:00
2014-10-20 16:21:31 +02:00
2014-10-20 16:21:31 +02:00
2014-04-03 16:21:22 -07:00
2013-07-03 16:07:56 -07:00
2014-08-08 15:57:19 -07:00
2015-01-29 19:16:40 +01:00
2013-07-03 16:07:56 -07:00
2014-10-20 16:21:31 +02:00
2013-07-03 16:07:56 -07:00
2014-10-20 16:21:31 +02:00
2014-10-20 16:21:31 +02:00
2014-06-06 16:08:08 -07:00
2015-02-13 21:21:43 -08:00
2013-11-13 12:09:27 +09:00
2015-02-16 17:56:02 -08:00
2015-02-16 17:56:02 -08:00
2014-10-20 16:21:31 +02:00
2014-11-21 12:00:00 -08:00
2014-10-20 16:21:31 +02:00
2014-10-20 16:21:31 +02:00
2014-10-20 16:21:31 +02:00
2014-06-06 16:08:07 -07:00
2013-07-03 16:07:56 -07:00
2013-07-03 16:07:57 -07:00
2014-10-20 16:21:31 +02:00
2014-10-20 16:21:31 +02:00
2014-10-20 16:21:31 +02:00
2013-11-13 12:09:27 +09:00
2013-07-03 16:07:57 -07:00
2014-10-20 16:21:31 +02:00
2014-10-20 16:21:31 +02:00
2014-10-20 16:21:31 +02:00
2014-10-20 16:21:31 +02:00
2014-10-20 16:21:31 +02:00
2014-10-20 16:21:31 +02:00
2014-10-20 16:21:31 +02:00
2014-06-06 16:08:08 -07:00
2014-10-20 16:21:31 +02:00
2014-10-20 16:21:31 +02:00
2013-11-13 12:09:27 +09:00
2014-10-20 16:21:31 +02:00
2014-10-20 16:21:31 +02:00
2014-10-20 16:21:31 +02:00
2014-10-20 16:21:31 +02:00
2014-12-14 16:10:09 -08:00
2014-11-17 18:04:01 +11:00
2014-10-20 16:21:31 +02:00
2014-10-20 16:21:31 +02:00
2015-02-13 21:21:42 -08:00
2014-01-23 16:37:00 -08:00
2014-05-06 13:04:58 -07:00
2014-12-10 17:41:15 -08:00
2014-10-14 02:18:17 +02:00
2013-04-29 18:28:38 -07:00
2014-08-08 15:57:20 -07:00
2013-11-13 12:09:31 +09:00
2013-11-13 12:09:31 +09:00
2014-11-03 19:53:56 -08:00
2013-04-09 14:13:32 -04:00
2014-10-20 16:21:31 +02:00
2014-10-20 16:21:31 +02:00
2014-06-06 16:08:09 -07:00
2013-04-29 18:28:34 -07:00
2014-10-20 16:21:31 +02:00
2015-02-13 21:21:43 -08:00
2014-10-20 16:21:31 +02:00
2014-10-20 16:21:31 +02:00
2013-11-13 12:09:29 +09:00
2014-10-14 02:18:19 +02:00
2014-04-03 16:21:24 -07:00
2013-07-03 16:07:58 -07:00
2014-04-03 16:21:18 -07:00
2014-01-23 16:37:00 -08:00
2014-11-03 19:53:56 -08:00
2013-04-19 13:51:25 +02:00
2015-01-26 13:37:19 -08:00
2013-04-29 18:28:38 -07:00
2014-06-06 16:08:09 -07:00
2014-10-20 16:21:31 +02:00
2014-12-14 16:10:09 -08:00
2014-12-14 16:10:09 -08:00
2014-04-03 16:21:18 -07:00
2014-10-20 16:21:31 +02:00
2014-10-20 16:21:31 +02:00
2014-10-20 16:21:31 +02:00
2014-10-20 16:21:31 +02:00
2014-09-19 12:39:19 +02:00
2014-10-20 16:21:31 +02:00
2013-07-29 13:10:58 -07:00
2014-10-20 16:21:31 +02:00
2014-10-20 16:21:31 +02:00
2014-10-20 16:21:31 +02:00
2014-10-20 16:21:31 +02:00
2014-10-20 16:21:31 +02:00
2014-10-20 16:21:31 +02:00
2014-10-20 16:21:31 +02:00
2014-10-20 16:21:31 +02:00
2014-10-20 16:21:31 +02:00
2014-10-20 16:21:31 +02:00
2014-10-20 16:21:31 +02:00
2013-07-03 16:07:59 -07:00
2013-04-29 18:28:32 -07:00
2014-04-03 16:21:16 -07:00
2014-10-20 16:21:31 +02:00
2015-01-23 17:21:57 -08:00