On 5/23/2013 2:23 PM, David Milburn wrote:Jens,
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@xxxxxxxxxx>
Acked-by: Asai Thambi S P <asamymuthupa@xxxxxxxxxx>