Signed-off-by: David Woodhouse <dwmw2@infradead.org>
const struct firmware *fw_entry = NULL;
int err, alen;
u8 carry = 0;
const struct firmware *fw_entry = NULL;
int err, alen;
u8 carry = 0;
+ u8 *buf, *tmp;
+ const u8 *data;
unsigned int left, remains, block_size;
struct x2_header *hdr;
unsigned long timeout;
unsigned int left, remains, block_size;
struct x2_header *hdr;
unsigned long timeout;
void *buf;
__le32 reg;
unsigned int remains, offset;
void *buf;
__le32 reg;
unsigned int remains, offset;
buf = kmalloc(512, GFP_KERNEL);
if (!buf) {
buf = kmalloc(512, GFP_KERNEL);
if (!buf) {