Re: [PATCH] ib_srpt: Make compilation with BUG=n proceed

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Nov 17, 2011 at 11:25 AM, Bart Van Assche <bvanassche@xxxxxxx> wrote:
> +               pr_err("%s[%d]: unexpected opcode %d", __func__, __LINE__,
> +                      opcode);
> +               WARN_ON(true);

Not a big deal, but I guess this could just be

        WARN(1, "unexpected opcode %d", opcode);

etc.

 - R.
--
To unsubscribe from this list: send the line "unsubscribe linux-next" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Kernel]     [Linux USB Development]     [Yosemite News]     [Linux SCSI]

  Powered by Linux