On Sun, Sep 28, 2014 at 05:29:37PM +0800, Xiubo Li wrote:
Since we cannot make sure the 'params->num_regs' will always be none
zero here, and then if it equals to zero, the kmemdup() will return
ZERO_SIZE_PTR, which equals to ((void *)16).
Applied, thanks.