[{"id":1762284,"web_url":"http://patchwork.ozlabs.org/comment/1762284/","msgid":"<7b656365-cbe1-cbec-4c43-818695583027@denx.de>","list_archive_url":null,"date":"2017-09-03T15:19:52","subject":"Re: [U-Boot] [PATCH v2 7/8] fat/fs: move ls to generic\n\timplementation","submitter":{"id":70701,"url":"http://patchwork.ozlabs.org/api/people/70701/","name":"Lukasz Majewski","email":"lukma@denx.de"},"content":"On 09/02/2017 06:38 PM, Rob Clark wrote:\n> Add a generic implementation of 'ls' using opendir/readdir/closedir, and\n> replace fat's custom implementation.  Other filesystems should move to\n> the generic implementation after they add opendir/readdir/closedir\n> support.\n> \n\nReviewed-by: Łukasz Majewski <lukma@denx.de>\n\n> Signed-off-by: Rob Clark <robdclark@gmail.com>\n> ---\n>   fs/fat/fat.c  | 32 --------------------------------\n>   fs/fs.c       | 35 +++++++++++++++++++++++++++++++++--\n>   include/fat.h |  5 ++++-\n>   3 files changed, 37 insertions(+), 35 deletions(-)\n> \n> diff --git a/fs/fat/fat.c b/fs/fat/fat.c\n> index d30ef3903b..fc3106aacb 100644\n> --- a/fs/fat/fat.c\n> +++ b/fs/fat/fat.c\n> @@ -1002,38 +1002,6 @@ int file_fat_detectfs(void)\n>   \treturn 0;\n>   }\n>   \n> -int file_fat_ls(const char *dir)\n> -{\n> -\tfsdata fsdata;\n> -\tfat_itr itrblock, *itr = &itrblock;\n> -\tint files = 0, dirs = 0;\n> -\tint ret;\n> -\n> -\tret = fat_itr_root(itr, &fsdata);\n> -\tif (ret)\n> -\t\treturn ret;\n> -\n> -\tret = fat_itr_resolve(itr, dir, TYPE_DIR);\n> -\tif (ret)\n> -\t\treturn ret;\n> -\n> -\twhile (fat_itr_next(itr)) {\n> -\t\tif (fat_itr_isdir(itr)) {\n> -\t\t\tprintf(\"            %s/\\n\", itr->name);\n> -\t\t\tdirs++;\n> -\t\t} else {\n> -\t\t\tprintf(\" %8u   %s\\n\",\n> -\t\t\t       FAT2CPU32(itr->dent->size),\n> -\t\t\t       itr->name);\n> -\t\t\tfiles++;\n> -\t\t}\n> -\t}\n> -\n> -\tprintf(\"\\n%d file(s), %d dir(s)\\n\\n\", files, dirs);\n> -\n> -\treturn 0;\n> -}\n> -\n>   int fat_exists(const char *filename)\n>   {\n>   \tfsdata fsdata;\n> diff --git a/fs/fs.c b/fs/fs.c\n> index 441c880654..716c223ec6 100644\n> --- a/fs/fs.c\n> +++ b/fs/fs.c\n> @@ -37,6 +37,35 @@ static inline int fs_ls_unsupported(const char *dirname)\n>   \treturn -1;\n>   }\n>   \n> +/* generic implementation of ls in terms of opendir/readdir/closedir */\n> +__maybe_unused\n> +static int fs_ls_generic(const char *dirname)\n> +{\n> +\tFS_DIR *dirp;\n> +\tstruct fs_dirent *dent;\n> +\tint files = 0, dirs = 0;\n> +\n> +\tdirp = fs_opendir(dirname);\n> +\tif (!dirp)\n> +\t\treturn -errno;\n> +\n> +\twhile ((dent = fs_readdir(dirp))) {\n> +\t\tif (dent->type == FS_DT_DIR) {\n> +\t\t\tprintf(\"            %s/\\n\", dent->name);\n> +\t\t\tdirs++;\n> +\t\t} else {\n> +\t\t\tprintf(\" %8lld   %s\\n\", dent->size, dent->name);\n> +\t\t\tfiles++;\n> +\t\t}\n> +\t}\n> +\n> +\tfs_closedir(dirp);\n> +\n> +\tprintf(\"\\n%d file(s), %d dir(s)\\n\\n\", files, dirs);\n> +\n> +\treturn 0;\n> +}\n> +\n>   static inline int fs_exists_unsupported(const char *filename)\n>   {\n>   \treturn 0;\n> @@ -111,7 +140,7 @@ static struct fstype_info fstypes[] = {\n>   \t\t.null_dev_desc_ok = false,\n>   \t\t.probe = fat_set_blk_dev,\n>   \t\t.close = fat_close,\n> -\t\t.ls = file_fat_ls,\n> +\t\t.ls = fs_ls_generic,\n>   \t\t.exists = fat_exists,\n>   \t\t.size = fat_size,\n>   \t\t.read = fat_read_file,\n> @@ -121,7 +150,9 @@ static struct fstype_info fstypes[] = {\n>   \t\t.write = fs_write_unsupported,\n>   #endif\n>   \t\t.uuid = fs_uuid_unsupported,\n> -\t\t.opendir = fs_opendir_unsupported,\n> +\t\t.opendir = fat_opendir,\n> +\t\t.readdir = fat_readdir,\n> +\t\t.closedir = fat_closedir,\n>   \t},\n>   #endif\n>   #ifdef CONFIG_FS_EXT4\n> diff --git a/include/fat.h b/include/fat.h\n> index 1e8bc44e9a..b2d4b952fd 100644\n> --- a/include/fat.h\n> +++ b/include/fat.h\n> @@ -11,6 +11,7 @@\n>   #define _FAT_H_\n>   \n>   #include <asm/byteorder.h>\n> +#include <fs.h>\n>   \n>   #define CONFIG_SUPPORT_VFAT\n>   /* Maximum Long File Name length supported here is 128 UTF-16 code units */\n> @@ -172,7 +173,6 @@ typedef struct {\n>   } fsdata;\n>   \n>   int file_fat_detectfs(void);\n> -int file_fat_ls(const char *dir);\n>   int fat_exists(const char *filename);\n>   int fat_size(const char *filename, loff_t *size);\n>   int file_fat_read_at(const char *filename, loff_t pos, void *buffer,\n> @@ -185,5 +185,8 @@ int file_fat_write(const char *filename, void *buf, loff_t offset, loff_t len,\n>   \t\t   loff_t *actwrite);\n>   int fat_read_file(const char *filename, void *buf, loff_t offset, loff_t len,\n>   \t\t  loff_t *actread);\n> +int fat_opendir(const char *filename, FS_DIR **dirp);\n> +int fat_readdir(FS_DIR *dirp);\n> +void fat_closedir(FS_DIR *dirp);\n>   void fat_close(void);\n>   #endif /* _FAT_H_ */\n>","headers":{"Return-Path":"<u-boot-bounces@lists.denx.de>","X-Original-To":"incoming@patchwork.ozlabs.org","Delivered-To":"patchwork-incoming@bilbo.ozlabs.org","Authentication-Results":"ozlabs.org;\n\tspf=none (mailfrom) smtp.mailfrom=lists.denx.de\n\t(client-ip=81.169.180.215; helo=lists.denx.de;\n\tenvelope-from=u-boot-bounces@lists.denx.de;\n\treceiver=<UNKNOWN>)","Received":["from lists.denx.de (dione.denx.de [81.169.180.215])\n\tby ozlabs.org (Postfix) with ESMTP id 3xlc9L3svTz9t3F\n\tfor <incoming@patchwork.ozlabs.org>;\n\tMon,  4 Sep 2017 01:20:06 +1000 (AEST)","by lists.denx.de (Postfix, from userid 105)\n\tid 15FB6C21D79; Sun,  3 Sep 2017 15:20:00 +0000 (UTC)","from lists.denx.de (localhost [IPv6:::1])\n\tby lists.denx.de (Postfix) with ESMTP id 89E36C21DBD;\n\tSun,  3 Sep 2017 15:19:57 +0000 (UTC)","by lists.denx.de (Postfix, from userid 105)\n\tid 522D3C21DBD; Sun,  3 Sep 2017 15:19:55 +0000 (UTC)","from mail-out.m-online.net (mail-out.m-online.net [212.18.0.9])\n\tby lists.denx.de (Postfix) with ESMTPS id 043AEC21D79\n\tfor <u-boot@lists.denx.de>; Sun,  3 Sep 2017 15:19:55 +0000 (UTC)","from frontend01.mail.m-online.net (unknown [192.168.8.182])\n\tby mail-out.m-online.net (Postfix) with ESMTP id 3xlc9621Xyz1qqkg;\n\tSun,  3 Sep 2017 17:19:54 +0200 (CEST)","from localhost (dynscan1.mnet-online.de [192.168.6.70])\n\tby mail.m-online.net (Postfix) with ESMTP id 3xlc9609sHz3hjkw;\n\tSun,  3 Sep 2017 17:19:54 +0200 (CEST)","from mail.mnet-online.de ([192.168.8.182])\n\tby localhost (dynscan1.mail.m-online.net [192.168.6.70]) (amavisd-new,\n\tport 10024)\n\twith ESMTP id QG5bTFDAqjFE; Sun,  3 Sep 2017 17:19:52 +0200 (CEST)","from [192.168.2.222] (89-77-92-62.dynamic.chello.pl [89.77.92.62])\n\t(using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))\n\t(No client certificate requested)\n\tby mail.mnet-online.de (Postfix) with ESMTPSA;\n\tSun,  3 Sep 2017 17:19:52 +0200 (CEST)"],"X-Spam-Checker-Version":"SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de","X-Spam-Level":"","X-Spam-Status":"No, score=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,\n\tRCVD_IN_MSPIKE_H3,\n\tRCVD_IN_MSPIKE_WL autolearn=unavailable autolearn_force=no\n\tversion=3.4.0","X-Virus-Scanned":"amavisd-new at mnet-online.de","X-Auth-Info":"UXhR2qwRQDinTlSu8txHIvxOgaPnV2jiRh1jd71oY0o=","To":"Rob Clark <robdclark@gmail.com>,\n\tU-Boot Mailing List <u-boot@lists.denx.de>","References":"<20170902163806.27265-1-robdclark@gmail.com>\n\t<20170902163806.27265-8-robdclark@gmail.com>","From":"=?utf-8?q?=C5=81ukasz_Majewski?= <lukma@denx.de>","Organization":"DENX","Message-ID":"<7b656365-cbe1-cbec-4c43-818695583027@denx.de>","Date":"Sun, 3 Sep 2017 17:19:52 +0200","User-Agent":"Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101\n\tThunderbird/52.2.1","MIME-Version":"1.0","In-Reply-To":"<20170902163806.27265-8-robdclark@gmail.com>","Content-Language":"en-US","Cc":"=?utf-8?q?=C5=81ukasz_Majewski?= <l.majewski@samsung.com>,\n\tTien Fong Chee <tfchee@altera.com>, Genevieve Chan <ccheauya@altera.com>","Subject":"Re: [U-Boot] [PATCH v2 7/8] fat/fs: move ls to generic\n\timplementation","X-BeenThere":"u-boot@lists.denx.de","X-Mailman-Version":"2.1.18","Precedence":"list","List-Id":"U-Boot discussion <u-boot.lists.denx.de>","List-Unsubscribe":"<https://lists.denx.de/options/u-boot>,\n\t<mailto:u-boot-request@lists.denx.de?subject=unsubscribe>","List-Archive":"<http://lists.denx.de/pipermail/u-boot/>","List-Post":"<mailto:u-boot@lists.denx.de>","List-Help":"<mailto:u-boot-request@lists.denx.de?subject=help>","List-Subscribe":"<https://lists.denx.de/listinfo/u-boot>,\n\t<mailto:u-boot-request@lists.denx.de?subject=subscribe>","Content-Transfer-Encoding":"base64","Content-Type":"text/plain; charset=\"utf-8\"; Format=\"flowed\"","Errors-To":"u-boot-bounces@lists.denx.de","Sender":"\"U-Boot\" <u-boot-bounces@lists.denx.de>"}},{"id":1763090,"web_url":"http://patchwork.ozlabs.org/comment/1763090/","msgid":"<CAPnjgZ1LUdP36LVpt8JfP6g9UECM8ZJWWzYpNPxuOAG7F8aLRw@mail.gmail.com>","list_archive_url":null,"date":"2017-09-05T08:56:36","subject":"Re: [U-Boot] [PATCH v2 7/8] fat/fs: move ls to generic\n\timplementation","submitter":{"id":6170,"url":"http://patchwork.ozlabs.org/api/people/6170/","name":"Simon Glass","email":"sjg@chromium.org"},"content":"On 3 September 2017 at 00:38, Rob Clark <robdclark@gmail.com> wrote:\n> Add a generic implementation of 'ls' using opendir/readdir/closedir, and\n> replace fat's custom implementation.  Other filesystems should move to\n> the generic implementation after they add opendir/readdir/closedir\n> support.\n>\n> Signed-off-by: Rob Clark <robdclark@gmail.com>\n> ---\n>  fs/fat/fat.c  | 32 --------------------------------\n>  fs/fs.c       | 35 +++++++++++++++++++++++++++++++++--\n>  include/fat.h |  5 ++++-\n>  3 files changed, 37 insertions(+), 35 deletions(-)\n\nReviewed-by: Simon Glass <sjg@chromium.org>\n\nSo if all filesystems implement this interface then we could move this\nto function to the fs layer?","headers":{"Return-Path":"<u-boot-bounces@lists.denx.de>","X-Original-To":"incoming@patchwork.ozlabs.org","Delivered-To":"patchwork-incoming@bilbo.ozlabs.org","Authentication-Results":["ozlabs.org;\n\tspf=none (mailfrom) smtp.mailfrom=lists.denx.de\n\t(client-ip=81.169.180.215; helo=lists.denx.de;\n\tenvelope-from=u-boot-bounces@lists.denx.de;\n\treceiver=<UNKNOWN>)","ozlabs.org;\n\tdkim=fail reason=\"signature verification failed\" (2048-bit key;\n\tunprotected) header.d=google.com header.i=@google.com\n\theader.b=\"WP0PuX9b\"; \n\tdkim=fail reason=\"signature verification failed\" (1024-bit key;\n\tunprotected) header.d=chromium.org header.i=@chromium.org\n\theader.b=\"DgnRZ302\"; dkim-atps=neutral"],"Received":["from lists.denx.de (dione.denx.de [81.169.180.215])\n\tby ozlabs.org (Postfix) with ESMTP id 3xmggb3qP4z9s72\n\tfor <incoming@patchwork.ozlabs.org>;\n\tTue,  5 Sep 2017 19:01:31 +1000 (AEST)","by lists.denx.de (Postfix, from userid 105)\n\tid 3B358C21DAE; Tue,  5 Sep 2017 08:58:34 +0000 (UTC)","from lists.denx.de (localhost [IPv6:::1])\n\tby lists.denx.de (Postfix) with ESMTP id 26775C21EB4;\n\tTue,  5 Sep 2017 08:58:31 +0000 (UTC)","by lists.denx.de (Postfix, from userid 105)\n\tid 0D0F7C21E8A; Tue,  5 Sep 2017 08:57:01 +0000 (UTC)","from mail-qt0-f174.google.com (mail-qt0-f174.google.com\n\t[209.85.216.174])\n\tby lists.denx.de (Postfix) with ESMTPS id 72DE8C21E1E\n\tfor <u-boot@lists.denx.de>; Tue,  5 Sep 2017 08:56:58 +0000 (UTC)","by mail-qt0-f174.google.com with SMTP id h15so9757649qta.4\n\tfor <u-boot@lists.denx.de>; Tue, 05 Sep 2017 01:56:58 -0700 (PDT)","by 10.200.28.108 with HTTP; Tue, 5 Sep 2017 01:56:36 -0700 (PDT)"],"X-Spam-Checker-Version":"SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de","X-Spam-Level":"","X-Spam-Status":"No, score=-0.0 required=5.0 tests=RCVD_IN_DNSWL_NONE,\n\tRCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL,\n\tT_DKIM_INVALID autolearn=unavailable\n\tautolearn_force=no version=3.4.0","DKIM-Signature":["v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com;\n\ts=20161025; \n\th=mime-version:sender:in-reply-to:references:from:date:message-id\n\t:subject:to:cc;\n\tbh=Ft8DADoTqG+BEmGfGL/JZjbXdIb8eUGF49A14di27jg=;\n\tb=WP0PuX9b6BKEp03yimXb1ZBFUa0p34Ni/Yg5emByeBbvFlXxLyGK5l7sXFUkkPqcs2\n\ttnCgX1KIZc8IKnJd1xQdyYbJ/OdHWuqq5xdaILFWM77ZYzKKa+LZO41PPBR13bZ7X4qO\n\tDGGzClPrWTWkV3kHM9bJsM+6f5dX8HtKjZiMxPvlBiyVyEUG4C2c10bVpm06GxMKDW2u\n\ttgDPNDdIKV9qpNHdy1yvWat3BlO8501YfbkaidLvFzWB3tTeAkIxreOL9F5hlX1AgqTB\n\tKpFzk12dEtlygE5C24SUiHeS9avTP29ZufbzJeYAzOeMZgP0DeIgdCxT6irXSzI02+XT\n\tWrIg==","v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org;\n\ts=google; \n\th=mime-version:sender:in-reply-to:references:from:date:message-id\n\t:subject:to:cc;\n\tbh=Ft8DADoTqG+BEmGfGL/JZjbXdIb8eUGF49A14di27jg=;\n\tb=DgnRZ302atFyCsJnJV/MplvfpdmoseIZST3X/nCo1c8cSd/g72Itj8Fdtzhb6beEbW\n\tzDbs74tjEtITlOPC4Yf9Isr9PbeHz5lAsZJBYu0IES5AWRcLDX9bYJyLD+INFAo/J5Kw\n\t5Udg40d0LOLl7IqdqWLXCGGFwuZisWMofQwvE="],"X-Google-DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20161025;\n\th=x-gm-message-state:mime-version:sender:in-reply-to:references:from\n\t:date:message-id:subject:to:cc;\n\tbh=Ft8DADoTqG+BEmGfGL/JZjbXdIb8eUGF49A14di27jg=;\n\tb=gr1InsXCIfk+nJ0OMUdRoh6lyGidw9ISf9cHycX2FWD2N63TCJbmmiPdQ538qWBvJZ\n\tOM4gDcbbX9c+dx6M1xhCgIHSRMLuYw+iDfmqPIDNmoo9Dl1lOaSyTNS91dTzr4DTG4Co\n\tUGHKSmXU2zMnu4+eCuLwmCeWgKUgzXTS987iuHvFrMrYpQaW7cDgmaVJSrTJWI4prf5O\n\tUEQpwfqR5Qgcu7sQZcspnwY2ZuRpbSTbiep456BuF++Hel+VkLPiYs1subHsqE+j0FEE\n\thBugoiSAGXLNhNK5LNPdnp9drHbFNQjmGk6JQp+S3RhiEPlCttZmfEITEocx51TpbYon\n\tkYvw==","X-Gm-Message-State":"AHPjjUh8sKTH7xb2t8DaDYaZ1JIymCc77BOHZHZDJJt2MboL1Q6Vsypn\n\tp/1nTsnWPT7MGfd99NNIb53rqxrcg66q","X-Google-Smtp-Source":"ADKCNb6oNfsRy1IiHVNgd3M0hwxZNNeDexTcaHgQ7rtsze0ObZreMEwLsSi+3vPw9Yis7sfoRsV+rWxp7XcJpsRxml0=","X-Received":"by 10.237.41.199 with SMTP id o65mr4205298qtd.122.1504601817254; \n\tTue, 05 Sep 2017 01:56:57 -0700 (PDT)","MIME-Version":"1.0","In-Reply-To":"<20170902163806.27265-8-robdclark@gmail.com>","References":"<20170902163806.27265-1-robdclark@gmail.com>\n\t<20170902163806.27265-8-robdclark@gmail.com>","From":"Simon Glass <sjg@chromium.org>","Date":"Tue, 5 Sep 2017 16:56:36 +0800","X-Google-Sender-Auth":"kna9ykeeXXo1S6SwKaUZuqzRI_o","Message-ID":"<CAPnjgZ1LUdP36LVpt8JfP6g9UECM8ZJWWzYpNPxuOAG7F8aLRw@mail.gmail.com>","To":"Rob Clark <robdclark@gmail.com>","Cc":"=?utf-8?q?=C5=81ukasz_Majewski?= <l.majewski@samsung.com>,\n\tGenevieve Chan <ccheauya@altera.com>, U-Boot Mailing List\n\t<u-boot@lists.denx.de>, Tien Fong Chee <tfchee@altera.com>","Subject":"Re: [U-Boot] [PATCH v2 7/8] fat/fs: move ls to generic\n\timplementation","X-BeenThere":"u-boot@lists.denx.de","X-Mailman-Version":"2.1.18","Precedence":"list","List-Id":"U-Boot discussion <u-boot.lists.denx.de>","List-Unsubscribe":"<https://lists.denx.de/options/u-boot>,\n\t<mailto:u-boot-request@lists.denx.de?subject=unsubscribe>","List-Archive":"<http://lists.denx.de/pipermail/u-boot/>","List-Post":"<mailto:u-boot@lists.denx.de>","List-Help":"<mailto:u-boot-request@lists.denx.de?subject=help>","List-Subscribe":"<https://lists.denx.de/listinfo/u-boot>,\n\t<mailto:u-boot-request@lists.denx.de?subject=subscribe>","Content-Type":"text/plain; charset=\"utf-8\"","Content-Transfer-Encoding":"base64","Errors-To":"u-boot-bounces@lists.denx.de","Sender":"\"U-Boot\" <u-boot-bounces@lists.denx.de>"}},{"id":1763782,"web_url":"http://patchwork.ozlabs.org/comment/1763782/","msgid":"<CAF6AEGtq2jwwE+X=RTaZEswgiX3adzntO+WrCWJ_ycsnms2c-g@mail.gmail.com>","list_archive_url":null,"date":"2017-09-06T02:12:02","subject":"Re: [U-Boot] [PATCH v2 7/8] fat/fs: move ls to generic\n\timplementation","submitter":{"id":18760,"url":"http://patchwork.ozlabs.org/api/people/18760/","name":"Rob Clark","email":"robdclark@gmail.com"},"content":"On Tue, Sep 5, 2017 at 4:56 AM, Simon Glass <sjg@chromium.org> wrote:\n> On 3 September 2017 at 00:38, Rob Clark <robdclark@gmail.com> wrote:\n>> Add a generic implementation of 'ls' using opendir/readdir/closedir, and\n>> replace fat's custom implementation.  Other filesystems should move to\n>> the generic implementation after they add opendir/readdir/closedir\n>> support.\n>>\n>> Signed-off-by: Rob Clark <robdclark@gmail.com>\n>> ---\n>>  fs/fat/fat.c  | 32 --------------------------------\n>>  fs/fs.c       | 35 +++++++++++++++++++++++++++++++++--\n>>  include/fat.h |  5 ++++-\n>>  3 files changed, 37 insertions(+), 35 deletions(-)\n>\n> Reviewed-by: Simon Glass <sjg@chromium.org>\n>\n> So if all filesystems implement this interface then we could move this\n> to function to the fs layer?\n\nyes.. there are some slight differences in output for other fs's but I\nguess since u-boot doesn't make that easy for a script to capture we\ncan probably ignore it..\n\nBR,\n-R","headers":{"Return-Path":"<u-boot-bounces@lists.denx.de>","X-Original-To":"incoming@patchwork.ozlabs.org","Delivered-To":"patchwork-incoming@bilbo.ozlabs.org","Authentication-Results":["ozlabs.org;\n\tspf=none (mailfrom) smtp.mailfrom=lists.denx.de\n\t(client-ip=81.169.180.215; helo=lists.denx.de;\n\tenvelope-from=u-boot-bounces@lists.denx.de;\n\treceiver=<UNKNOWN>)","ozlabs.org;\n\tdkim=fail reason=\"signature verification failed\" (2048-bit key;\n\tunprotected) header.d=gmail.com header.i=@gmail.com\n\theader.b=\"rwhGoQWH\"; dkim-atps=neutral"],"Received":["from lists.denx.de (dione.denx.de [81.169.180.215])\n\tby ozlabs.org (Postfix) with ESMTP id 3xn6Xv00yqz9sR9\n\tfor <incoming@patchwork.ozlabs.org>;\n\tWed,  6 Sep 2017 12:12:13 +1000 (AEST)","by lists.denx.de (Postfix, from userid 105)\n\tid 4D9F9C21E64; Wed,  6 Sep 2017 02:12:07 +0000 (UTC)","from lists.denx.de (localhost [IPv6:::1])\n\tby lists.denx.de (Postfix) with ESMTP id 63464C21D75;\n\tWed,  6 Sep 2017 02:12:05 +0000 (UTC)","by lists.denx.de (Postfix, from userid 105)\n\tid A9974C21D75; Wed,  6 Sep 2017 02:12:03 +0000 (UTC)","from mail-lf0-f66.google.com (mail-lf0-f66.google.com\n\t[209.85.215.66])\n\tby lists.denx.de (Postfix) with ESMTPS id 53318C21C40\n\tfor <u-boot@lists.denx.de>; Wed,  6 Sep 2017 02:12:03 +0000 (UTC)","by mail-lf0-f66.google.com with SMTP id c8so2477731lfe.2\n\tfor <u-boot@lists.denx.de>; Tue, 05 Sep 2017 19:12:03 -0700 (PDT)","by 10.46.82.27 with HTTP; Tue, 5 Sep 2017 19:12:02 -0700 (PDT)"],"X-Spam-Checker-Version":"SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de","X-Spam-Level":"","X-Spam-Status":"No, score=-0.0 required=5.0 tests=FREEMAIL_FROM,\n\tRCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL,\n\tT_DKIM_INVALID\n\tautolearn=unavailable autolearn_force=no version=3.4.0","DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;\n\th=mime-version:in-reply-to:references:from:date:message-id:subject:to\n\t:cc; bh=H9wa9Rsk/3ejCBZlPkD6qiFlm2TxULDUZ/Tv/lTgxAk=;\n\tb=rwhGoQWH2lWZ2WAhOshaGpeEaO9DdigBiNuOliKzWyU/nvOX9nrY0bEFhrfU+eohu/\n\txTaChmYPI/1YG8qD0m2F0yF7kE3c5JxTE8+/LmSSuh825XxZkUOKsLSYCdRQ8ZjNjE/h\n\tF77/+/PdjNY6bKQbcyuvVTcV8WxV2IacZnC6RO21JCPezgtvqSL1/qL7vqDL/1EviySj\n\ty60HndHmZ9Y2a1EAxuUj7XzmMw6K+Vny4vsqu9g5ra8JrKVvz6Ps5kd8deJU5DqZkm/t\n\tpTTuwEoDlUHm7p+GwjEL78lBt4Md1DOc3cGS/s6J/d26wXHCcfKtrbiV2n2ZgY3QGt0P\n\tr2Bw==","X-Google-DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20161025;\n\th=x-gm-message-state:mime-version:in-reply-to:references:from:date\n\t:message-id:subject:to:cc;\n\tbh=H9wa9Rsk/3ejCBZlPkD6qiFlm2TxULDUZ/Tv/lTgxAk=;\n\tb=pXlDyuc5CP2Br4z3gw395QDJgnU8WVNAA8yQ4rILa2H2xo69WljKGKEu5zdlORvJGJ\n\tyIHcXoh3/E/0tUdwWJluBvtf81RCspgu/PKRpHgciyyEUI3D7XoWJ5HXky5zb1Uihl3T\n\tu6/sno0dB6IAE0x/dFh6hmKV04iKjRsXl9c1XSbYD8J2I3LI3IH6bGZy3QqY7PjbP8QC\n\tJffQAsWJKgZ9JCqVcnXAkRxq2r2MDUsMSb8EbyEoky+PxXmIg28QuXAP6HkhRhAsiXwn\n\ty5/b+8TK06PRqnMSSZHij9gczeEVJPK8z4wvdQ86z4ESEG7t0oZlgVjmlW+HLlWtccdF\n\tM6+A==","X-Gm-Message-State":"AHPjjUgqp+LYu//qwKpCSL+jPAYQmVCdrh60gsDdmdUhFgmsy9fjV9WC\n\tlVoXObS+CTGb97yG3vlXDovx1SDU8A==","X-Google-Smtp-Source":"ADKCNb6pMUvrWjLYV/f6rZFD4P5wPPAyarsUi56n5+3gaFOi83FAS4NJT6AOjqnkC4ATqfu0oNxwqstTpKJqv8y0P+E=","X-Received":"by 10.25.23.105 with SMTP id n102mr338517lfi.252.1504663922826; \n\tTue, 05 Sep 2017 19:12:02 -0700 (PDT)","MIME-Version":"1.0","In-Reply-To":"<CAPnjgZ1LUdP36LVpt8JfP6g9UECM8ZJWWzYpNPxuOAG7F8aLRw@mail.gmail.com>","References":"<20170902163806.27265-1-robdclark@gmail.com>\n\t<20170902163806.27265-8-robdclark@gmail.com>\n\t<CAPnjgZ1LUdP36LVpt8JfP6g9UECM8ZJWWzYpNPxuOAG7F8aLRw@mail.gmail.com>","From":"Rob Clark <robdclark@gmail.com>","Date":"Tue, 5 Sep 2017 22:12:02 -0400","Message-ID":"<CAF6AEGtq2jwwE+X=RTaZEswgiX3adzntO+WrCWJ_ycsnms2c-g@mail.gmail.com>","To":"Simon Glass <sjg@chromium.org>","Cc":"=?utf-8?q?=C5=81ukasz_Majewski?= <l.majewski@samsung.com>,\n\tGenevieve Chan <ccheauya@altera.com>, U-Boot Mailing List\n\t<u-boot@lists.denx.de>, Tien Fong Chee <tfchee@altera.com>","Subject":"Re: [U-Boot] [PATCH v2 7/8] fat/fs: move ls to generic\n\timplementation","X-BeenThere":"u-boot@lists.denx.de","X-Mailman-Version":"2.1.18","Precedence":"list","List-Id":"U-Boot discussion <u-boot.lists.denx.de>","List-Unsubscribe":"<https://lists.denx.de/options/u-boot>,\n\t<mailto:u-boot-request@lists.denx.de?subject=unsubscribe>","List-Archive":"<http://lists.denx.de/pipermail/u-boot/>","List-Post":"<mailto:u-boot@lists.denx.de>","List-Help":"<mailto:u-boot-request@lists.denx.de?subject=help>","List-Subscribe":"<https://lists.denx.de/listinfo/u-boot>,\n\t<mailto:u-boot-request@lists.denx.de?subject=subscribe>","Content-Type":"text/plain; charset=\"utf-8\"","Content-Transfer-Encoding":"base64","Errors-To":"u-boot-bounces@lists.denx.de","Sender":"\"U-Boot\" <u-boot-bounces@lists.denx.de>"}}]