sys/scsi/st.c:1024 uses:

> cmd->len != 0

as a condition. However, cmd is of type struct scsi_rw_tape, and its len
field is of type u_int8_t len[3]. Therefore, the condition is always
true because len is treated as a pointer.

Clang warns about this.

Thanks for your time,
Mike

Reply via email to