Hi I think someone missed the count sizeof type in memcpy. I'm no expert on this code. But I wonder if also the the next for loop wrong? It will fill with 0XFF00000000000000 but it is not a complete 0XFFFFFFFFFFFFFFFF you're looking for? So something like: memset(&Buff[sigOffset], 0xFF, MAX_RW_SIZE * sizeof(PCHAR)); Rickard Strandqvist (1): MY_FIL_NAMN Cleaning up a array that is filled incompletely drivers/staging/bcm/nvm.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) -- 1.7.10.4 _______________________________________________ devel mailing list devel@xxxxxxxxxxxxxxxxxxxxxx http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel