devres.data = (p + m * n) * arch_kmalloc_minalign() Where m, n, p are all positive integers (n is also power of two). If we did not change the devres structure, the alignment of ARCH_KMALLOC_MINALIGN would no no be longer sufficient since the dynamic arch_kmalloc_minalign() can be greater than ARCH_KMALLOC_MINALIGN on specific SoCs (the first offsetof equation is no longer true). -- Catalin