On Mon, Nov 19, 2012 at 05:05:16PM +0100, Marc Kleine-Budde wrote: > > +int ci_hdrc_otg_init(struct ci13xxx *ci) > > +{ > > + /* Useless at current */ > > + ci->otg.set_peripheral = ci_otg_set_peripheral; > > + ci->otg.set_host = ci_otg_set_host; > > + if (!IS_ERR_OR_NULL(ci->transceiver)) > ^^^^^^^^^^^^^^ > > Is considered harmful by some people. Can we test against NULL here? Any stories that it is harmful? > -- Best Regards, Peter Chen -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html