Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp3852112pxk; Tue, 22 Sep 2020 04:29:49 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxrq7Jnux+P8LpQZPJNq8Pgi9F3yJLsbWGt3KdIPLlhvJ24tUPlMpccLVeKCYk1sQLYtEmi X-Received: by 2002:aa7:c985:: with SMTP id c5mr3461721edt.355.1600774189165; Tue, 22 Sep 2020 04:29:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1600774189; cv=none; d=google.com; s=arc-20160816; b=nQkcUEo908W6Xq0nVxNLGuYv0CbDQynEDUAQDqsk/YBPjh+/Tn9u4OYVz7HsYhv/Nc Gzv+ygh8JFGgrNX8shdSJz1lM14PuZ+70cgbiLZUfekw2sQNhNdKM+tDBCbanb21qE88 2NX7COwqE5zagUnYtQ1JSDZsl3biP+pNLR9eu6C9q85gj688jR9kc2zYSMCLps9pxq2J MymNvuKYW6a1GKSHR/PLlVSWT4F5GGoyPL2bTE501RKgTH9U48EB/eYiYvo12zxvdxOW 26A/0O6yzei+49qkMUc7Lc65PSNjEUcu1xDClsTEBFEsxDypEND6r+GQCZzHMMIOd1MP ZPnA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=vMlphnLgog6cVdX2anoZe4HiPw0JVyV/zPQYfC6Arv4=; b=kz7kw+yJADDPS/Wbtioheh60Gz7cUPeCwTHCqjRKHchAkjugsWMyW3Chyew/YdfM97 DqPY1u4/HJxuRp1GCCbyHOJiVvfmk2zzCpvdeoUgb+VhKkJTfhiTq8k8pMiXuncJdZjt e5NphN2EsujW8CLO24KjtjPyIujXs7QH5fEvkD0tBVwbF5YMdUfg8wlzhOhh+TQh4iyN eHdK7t+6WN+kzhMav4+JNR6yXyHyVxN3JlmHahmamGoM2OFOoXzlI4tMDu/owzn+Vz1j o/nQp9X57DIaORAoQ7hC7TDS4lgDK1YrS1VaAFVBRvxg9KFob2TDbbQSQ/sEUxO5CfHL LSKg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id gr23si9993086ejb.586.2020.09.22.04.29.24; Tue, 22 Sep 2020 04:29:49 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726546AbgIVL2a (ORCPT + 99 others); Tue, 22 Sep 2020 07:28:30 -0400 Received: from mail-m17613.qiye.163.com ([59.111.176.13]:12066 "EHLO mail-m17613.qiye.163.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726454AbgIVL2a (ORCPT ); Tue, 22 Sep 2020 07:28:30 -0400 Received: from ubuntu.localdomain (unknown [157.0.31.124]) by mail-m17613.qiye.163.com (Hmail) with ESMTPA id 15BAC481928; Tue, 22 Sep 2020 19:28:28 +0800 (CST) From: Bernard Zhao To: Miquel Raynal , Richard Weinberger , Vignesh Raghavendra , Bernard Zhao , linux-mtd@lists.infradead.org, linux-kernel@vger.kernel.org Cc: opensource.kernel@vivo.com Subject: [PATCH] mtd/map: fix typoes for struct memcard Date: Tue, 22 Sep 2020 04:28:02 -0700 Message-Id: <20200922112814.26761-1-bernard@vivo.com> X-Mailer: git-send-email 2.28.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-HM-Spam-Status: e1kfGhgUHx5ZQUtXWQgYFAkeWUFZS1VLWVdZKFlBSE83V1ktWUFJV1kPCR oVCBIfWUFZSUhCGUtNGU1OQhkdVkpNS0tMTE9KS0NJTkpVEwETFhoSFyQUDg9ZV1kWGg8SFR0UWU FZT0tIVUpKS0hKTFVLWQY+ X-HM-Sender-Digest: e1kMHhlZQR0aFwgeV1kSHx4VD1lBWUc6PAg6EDo4Kz8hGg5CC08WMUsC Mk8wCh1VSlVKTUtLTExPSktDTUhOVTMWGhIXVRkeCRUaCR87DRINFFUYFBZFWVdZEgtZQVlKTkxV S1VISlVKSU9ZV1kIAVlBSkJLTzcG X-HM-Tid: 0a74b592741c93bakuws15bac481928 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Change struct memcard`s element "removeable" -> "removable". Signed-off-by: Bernard Zhao --- drivers/mtd/maps/vmu-flash.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/mtd/maps/vmu-flash.c b/drivers/mtd/maps/vmu-flash.c index 177bf134e189..d48ecbdb007a 100644 --- a/drivers/mtd/maps/vmu-flash.c +++ b/drivers/mtd/maps/vmu-flash.c @@ -40,7 +40,7 @@ struct memcard { u32 blocklen; u32 writecnt; u32 readcnt; - u32 removeable; + u32 removable; int partition; int read; unsigned char *blockread; @@ -619,7 +619,7 @@ static int vmu_connect(struct maple_device *mdev) card->blocklen = ((basic_flash_data >> 16 & 0xFF) + 1) << 5; card->writecnt = basic_flash_data >> 12 & 0xF; card->readcnt = basic_flash_data >> 8 & 0xF; - card->removeable = basic_flash_data >> 7 & 1; + card->removable = basic_flash_data >> 7 & 1; card->partition = 0; -- 2.28.0