Dan Carpenter
7121064b21
configfs: use capped length for ->store_attribute()
...
The difference between "count" and "len" is that "len" is capped at
4095. Changing it like this makes it match how sysfs_write_file() is
implemented.
This is a static analysis patch. I haven't found any store_attribute()
functions where this change makes a difference.
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Acked-by: Joel Becker <jlbec@evilplan.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2013-07-03 16:07:23 -07:00
..
2013-07-02 09:39:34 -07:00
2013-06-29 12:57:36 +04:00
2013-06-29 12:57:36 +04:00
2013-07-03 09:10:19 -07:00
2013-06-29 12:46:48 +04:00
2013-06-29 12:56:55 +04:00
2013-06-29 12:56:33 +04:00
2013-07-03 09:10:19 -07:00
2013-06-19 14:16:47 +01:00
2013-07-03 09:10:19 -07:00
2013-07-03 09:10:19 -07:00
2013-06-29 12:57:20 +04:00
2013-07-03 16:07:23 -07:00
2013-06-29 12:56:46 +04:00
2013-06-03 13:55:02 -07:00
2013-06-26 11:38:02 -05:00
2013-06-29 12:57:25 +04:00
2013-06-29 12:57:36 +04:00
2013-06-29 12:56:31 +04:00
2013-07-02 09:39:34 -07:00
2013-06-29 12:57:05 +04:00
2013-06-29 12:57:10 +04:00
2013-07-03 09:10:19 -07:00
2013-07-03 09:10:19 -07:00
2013-07-02 09:42:38 -07:00
2013-06-29 12:57:36 +04:00
2013-06-29 12:56:53 +04:00
2013-06-19 14:16:47 +01:00
2013-07-03 09:10:19 -07:00
2013-07-03 09:10:19 -07:00
2013-06-29 12:57:36 +04:00
2013-06-29 12:57:36 +04:00
2013-06-29 12:56:59 +04:00
2013-06-29 12:57:36 +04:00
2013-06-29 12:56:32 +04:00
2013-05-07 18:38:27 -07:00
2013-06-29 12:57:36 +04:00
2013-05-21 23:26:36 -04:00
2013-07-01 08:12:41 -04:00
2013-06-29 12:56:47 +04:00
2013-07-03 09:10:19 -07:00
2013-06-29 12:57:45 +04:00
2013-07-02 09:39:34 -07:00
2013-06-29 12:57:35 +04:00
2013-06-29 12:57:36 +04:00
2013-07-03 09:10:19 -07:00
2013-06-29 12:57:42 +04:00
2013-06-29 12:56:36 +04:00
2013-06-29 12:57:23 +04:00
2013-07-02 09:39:34 -07:00
2013-07-03 09:10:19 -07:00
2013-06-29 12:56:37 +04:00
2013-06-29 12:56:32 +04:00
2013-06-29 12:57:36 +04:00
2013-05-09 16:42:10 -07:00
2013-06-29 12:56:38 +04:00
2013-06-29 12:56:39 +04:00
2013-07-02 09:39:34 -07:00
2013-06-29 12:56:29 +04:00
2013-06-29 12:56:28 +04:00
2013-07-02 11:44:19 -07:00
2013-06-29 12:57:36 +04:00
2013-07-02 09:39:34 -07:00
2013-06-29 12:57:12 +04:00
2013-06-29 12:46:47 +04:00
2013-07-03 09:10:19 -07:00
2013-06-29 12:57:34 +04:00
2013-06-29 12:57:04 +04:00
2013-05-01 17:51:54 -07:00
2013-05-02 10:16:16 -07:00
2013-05-02 10:16:16 -07:00
2013-04-29 15:40:23 -04:00
2013-04-30 17:04:03 -07:00
2013-05-08 10:13:35 -07:00
2013-06-29 12:57:52 +04:00
2013-05-21 23:17:23 -04:00
2013-06-29 12:46:44 +04:00
2013-06-29 12:57:05 +04:00
2013-05-04 14:45:54 -04:00
2013-07-03 09:10:19 -07:00
2013-05-08 10:13:35 -07:00
2013-05-01 07:21:43 -07:00
2013-07-03 09:10:19 -07:00
2013-06-29 12:57:13 +04:00
2013-05-01 17:31:42 -04:00
2013-07-02 09:16:42 -07:00
2013-06-29 12:57:11 +04:00
2013-06-29 12:57:34 +04:00
2013-04-17 13:25:09 +01:00
2013-04-30 17:04:04 -07:00
2013-06-29 12:46:48 +04:00
2013-06-29 12:57:46 +04:00
2013-05-01 17:51:54 -07:00
2013-06-29 12:57:36 +04:00
2013-05-04 15:18:53 -04:00
2013-06-29 12:57:10 +04:00
2013-05-07 20:16:25 -07:00
2013-05-31 15:16:33 -04:00
2013-05-01 17:51:54 -07:00
2013-07-03 16:23:27 +04:00
2013-06-29 12:57:05 +04:00
2013-07-03 09:10:19 -07:00