Suppress warning that the cast increases alignment on Sparc. On archirectures that require alignment (such as Sparc) the kernel emulates unaligned accesses in a trap handler anyway, so they don't matter. A potential unaligned access could only degrade performance. Signed-off-by: Mikulas Patocka target_count; i++) { - spec = (struct dm_target_spec *) outptr; + spec = (struct dm_target_spec *) (void *) outptr; if (!dm_task_add_target(dmt, spec->sector_start, spec->length, spec->target_type,