> + rblock = kmalloc(PAGE_SIZE, GFP_KERNEL); > + if (rblock == NULL) { > + EDEB_ERR(4, "Can't allocate rblock memory."); > + ret = -ENOMEM; > + goto query_device0; > + } > + > + memset(rblock, 0, PAGE_SIZE); kzalloc again :)