Mauro Carvalho Chehab
93e4fe64ec
edac: rewrite edac_align_ptr()
...
The edac_align_ptr() function is used to prepare data for a single
memory allocation kzalloc() call. It counts how many bytes are needed
by some data structure.
Using it as-is is not that trivial, as the quantity of memory elements
reserved is not there, but, instead, it is on a next call.
In order to avoid mistakes when using it, move the number of allocated
elements into it, making easier to use it.
Reviewed-by: Borislav Petkov <bp@amd64.org >
Cc: Aristeu Rozanski <arozansk@redhat.com >
Cc: Doug Thompson <norsk5@yahoo.com >
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com >
2012-05-28 19:10:59 -03:00
..
2012-05-17 16:16:16 -07:00
2012-04-13 14:04:08 +01:00
2012-05-03 17:16:52 -07:00
2012-03-28 18:30:03 +01:00
2012-05-09 15:44:11 +01:00
2012-04-16 13:32:01 -04:00
2012-05-19 10:12:17 -07:00
2012-04-27 15:16:43 -04:00
2012-05-17 12:14:33 +03:00
2012-04-12 00:05:05 +02:00
2012-04-13 17:57:40 -07:00
2012-04-06 21:48:59 -04:00
2012-05-15 01:10:06 +00:00
2012-05-17 09:57:13 -07:00
2012-05-28 19:10:59 -03:00
2012-03-28 18:30:03 +01:00
2012-05-03 17:19:19 -07:00
2012-05-11 18:25:53 -06:00
2012-05-07 11:02:38 +01:00
2012-04-20 10:39:33 -07:00
2012-04-23 14:23:32 +03:00
2012-05-01 09:16:14 -07:00
2012-04-27 16:13:29 +02:00
2012-03-28 18:30:03 +01:00
2012-04-05 15:25:50 -07:00
2012-04-26 15:35:35 -07:00
2012-04-30 10:13:48 -07:00
2012-04-05 15:30:34 -07:00
2012-04-12 15:36:33 -07:00
2012-05-10 15:06:44 -07:00
2012-03-28 18:30:03 +01:00
2012-05-18 18:22:45 -07:00
2012-05-14 11:23:37 -07:00
2012-03-28 15:58:21 -07:00
2012-05-01 11:55:04 +02:00
2012-04-05 15:30:34 -07:00
2012-04-26 15:33:36 -07:00
2012-05-13 11:33:09 -07:00
2012-05-17 18:32:41 -04:00
2012-03-28 18:30:03 +01:00
2012-04-10 14:20:56 -06:00
2012-04-05 15:25:50 -07:00
2012-05-10 15:12:08 -07:00
2012-05-17 16:16:16 -07:00
2012-03-29 16:00:48 -07:00
2012-04-11 09:31:02 +02:00
2012-05-06 12:19:38 -07:00
2012-03-30 16:45:39 -07:00
2012-03-30 16:09:02 -07:00
2012-05-16 14:44:44 -04:00
2012-05-07 13:14:44 +01:00
2012-05-13 23:15:42 +03:00
2012-05-17 18:00:51 -07:00
2012-04-24 00:33:17 -04:00
2012-03-28 18:30:03 +01:00
2012-05-10 08:27:06 +01:00
2012-03-30 00:09:17 -07:00
2012-04-27 12:20:39 -06:00
2012-04-26 12:40:53 -07:00
2012-05-17 12:02:43 -07:00
2012-05-14 10:43:24 -07:00
2012-05-01 14:11:51 -04:00
2012-04-18 13:15:51 -07:00
2012-05-11 18:16:57 -04:00
2012-05-12 12:57:01 -07:00
2012-05-17 12:14:34 +03:00
2012-04-26 14:38:07 +02:00
2012-05-07 12:26:28 -04:00
2012-04-02 09:50:40 -07:00
2012-04-02 09:50:40 -07:00