diff options
author | Mauro Carvalho Chehab <mchehab@redhat.com> | 2010-08-27 11:36:23 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2010-08-30 14:56:59 -0300 |
commit | 85580ea4f72ce08e4d9140a3bb22806185a0bba9 (patch) | |
tree | 47bda43b1f4c3f60afa17114df8f4f8081e2f2a2 /drivers/power/pcf50633-charger.c | |
parent | 28c2ce7c8b275a8e6950bacb2dbad70b36a2996b (diff) | |
download | linux-85580ea4f72ce08e4d9140a3bb22806185a0bba9.tar.bz2 |
i7300_edac: pre-allocate a buffer used to prepare err messages
Instead of dynamically allocating a buffer for it where needed,
just allocate it once. As we'll use the same buffer also during
fatal and non-fatal errors, is is very risky to dynamically allocate
it during an error.
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/power/pcf50633-charger.c')
0 files changed, 0 insertions, 0 deletions