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-03 17:16:52 -07:00
2012-03-27 16:03:32 -07:00
2012-05-28 19:10:59 -03:00
2012-04-12 15:36:33 -07:00
2012-05-13 11:33:09 -07:00
2012-03-30 00:09:17 -07:00
2012-05-14 10:43:24 -07:00
2012-04-18 13:15:51 -07:00
2012-05-07 12:26:28 -04:00