···16151615 size_t pair_size = reg_bytes + pad_bytes + val_bytes;16161616 size_t len = pair_size * num_regs;1617161716181618+ if (!len)16191619+ return -EINVAL;16201620+16181621 buf = kzalloc(len, GFP_KERNEL);16191622 if (!buf)16201623 return -ENOMEM;···16651662 int ret;16661663 int i, n;16671664 struct reg_default *base;16681668- unsigned int this_page;16651665+ unsigned int this_page = 0;16691666 /*16701667 * the set of registers are not neccessarily in order, but16711668 * since the order of write must be preserved this algorithm