diff options
author | David Milburn <[email protected]> | 2013-05-23 16:23:45 -0500 |
---|---|---|
committer | Jens Axboe <[email protected]> | 2013-11-08 09:10:28 -0700 |
commit | c8afd0dcbd14e2352258f2e2d359b36d0edd459f (patch) | |
tree | d65bcd976eb1d9e8020ceb894c46f21c9eadd501 /lib/mpi/mpi-internal.h | |
parent | 8f8b899563f28ef26e381a6eb90d12dead77389f (diff) |
mtip32xx: dynamically allocate buffer in debugfs functions
Dynamically allocate buf to prevent warnings:
drivers/block/mtip32xx/mtip32xx.c: In function ‘mtip_hw_read_device_status’:
drivers/block/mtip32xx/mtip32xx.c:2823: warning: the frame size of 1056 bytes is larger than 1024 bytes
drivers/block/mtip32xx/mtip32xx.c: In function ‘mtip_hw_read_registers’:
drivers/block/mtip32xx/mtip32xx.c:2894: warning: the frame size of 1056 bytes is larger than 1024 bytes
drivers/block/mtip32xx/mtip32xx.c: In function ‘mtip_hw_read_flags’:
drivers/block/mtip32xx/mtip32xx.c:2917: warning: the frame size of 1056 bytes is larger than 1024 bytes
Signed-off-by: David Milburn <[email protected]>
Acked-by: Asai Thambi S P <[email protected]>
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-internal.h')
0 files changed, 0 insertions, 0 deletions