I am trying to print the address of consecutive locations in a memory allocated using kmalloc. It prints non contiguous addresses! I tried with kmalloc_array, and normal array on stack, I got the same result. May I know the reason? The code fragment for array and result are given below.