On Mon, Sep 02, 2013 at 09:12:15PM +0200, Bart Van Assche wrote: > Hmm ... I think the second option would require to add an additional > case in sdev_set_state() to avoid a compiler warning. This is > something James objected against (on June 24, see also > http://thread.gmane.org/gmane.linux.scsi/82572/focus=82576). In that case the cast version seems fine to me. -- To unsubscribe from this list: send the line "unsubscribe linux-scsi" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html