> - if (!client || !slave_cb) > + if (!client || !slave_cb) { > + dev_err(&client->dev, "%s: insufficent data\n", __func__); Replaced this with WARN. Using client->dev after potential !client is bad. -- To unsubscribe from this list: send the line "unsubscribe linux-i2c" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html