npu2-opencapi: Fix integer promotion bug in LPC allocation
npu2-opencapi: Fix integer promotion bug in LPC allocation

If you try to allocate an amount of LPC memory that's not a power of 2,
we round the value up to the nearest power of 2.

By the magic of C, "1 << n" gets treated as an int, even if you're
assigning it to a uint64_t.

Change 1 to 1ULL to fix this.

(C, it's great.)

Reported-by: Alastair D'Silva <e9adbcf81c8a36ccc628e09bc92d0e25e1c8e501@d-silva.org>
Cc: 74fabe089ecbd0f3f71683991d9e2780a4de1f4a@lists.ozlabs.org
Signed-off-by: Andrew Donnellan <44ca8c041ed925606732b2a0f30e5b73c32761a8@linux.ibm.com>
Signed-off-by: Oliver O'Halloran <3dfaff8fa6ae977f042064a112a6aac576279b9b@gmail.com>

shenki/skiboot,legoater/skiboot,legoater/skiboot,qemu/skiboot,open-power/skiboot,qemu/skiboot,open-power/skiboot,shenki/skiboot,legoater/skiboot,shenki/skiboot,open-power/skiboot,shenki/skiboot,open-power/skiboot,qemu/skiboot,qemu/skiboot,shenki/skiboot,legoater/skiboot,open-power/skiboot,legoater/skiboot,qemu/skiboot