From mboxrd@z Thu Jan 1 00:00:00 1970 From: Namjae Jeon Subject: Re: [PATCH v1 5/5] mmc: card: Add RPMB support in IOCTL interface Date: Tue, 10 Jul 2012 09:37:57 +0900 Message-ID: References: <1341564244-6178-1-git-send-email-loic.pallardy@stericsson.com> <1341564244-6178-6-git-send-email-loic.pallardy@stericsson.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Return-path: Received: from mail-wg0-f42.google.com ([74.125.82.42]:46751 "EHLO mail-wg0-f42.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752347Ab2GJAh6 (ORCPT ); Mon, 9 Jul 2012 20:37:58 -0400 Received: by wgbds11 with SMTP id ds11so3121640wgb.1 for ; Mon, 09 Jul 2012 17:37:57 -0700 (PDT) In-Reply-To: <1341564244-6178-6-git-send-email-loic.pallardy@stericsson.com> Sender: linux-mmc-owner@vger.kernel.org List-Id: linux-mmc@vger.kernel.org To: Loic Pallardy Cc: linux-mmc@vger.kernel.org, Chris Ball , Linus Walleij , STEricsson_nomadik_linux , Ulf Hansson , Alex Macro > > + 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; > }