diff options
author | David Milburn <dmilburn@redhat.com> | 2013-05-23 23:23:45 +0200 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2013-11-08 17:10:28 +0100 |
commit | c8afd0dcbd14e2352258f2e2d359b36d0edd459f (patch) | |
tree | d65bcd976eb1d9e8020ceb894c46f21c9eadd501 /drivers/block/rsxx | |
parent | mtip32xx: Add SRSI support (diff) | |
download | linux-c8afd0dcbd14e2352258f2e2d359b36d0edd459f.tar.xz linux-c8afd0dcbd14e2352258f2e2d359b36d0edd459f.zip |
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 <dmilburn@redhat.com>
Acked-by: Asai Thambi S P <asamymuthupa@micron.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'drivers/block/rsxx')
0 files changed, 0 insertions, 0 deletions