> +static unsigned int ata_format_dsm_trim_descr(struct scatterlist *sg, u32 num, > + u64 sector, u32 count) > +{ > + void *ptr = kmap_atomic(sg_page(sg)); Please use sg_copy_from_buffer to be safe against all corner cases. -- To unsubscribe from this list: send the line "unsubscribe linux-ide" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html