> > + err = mmc_blk_part_switch(card, md); > + if (err) > + goto cmd_rel_host; > + Should it wrapped by if (is_rpbm) condition ? It can be called in other ioctl. > if (idata->ic.is_acmd) { > err = mmc_app_cmd(card->host, card); > if (err) > goto cmd_rel_host; > } -- To unsubscribe from this list: send the line "unsubscribe linux-mmc" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html