[{"id":1766958,"web_url":"http://patchwork.ozlabs.org/comment/1766958/","msgid":"<CAPnjgZ2FD6Fk_oYxAg1sAsa2p-cafLhfufVhKh2CtHPEH4Z8Nw@mail.gmail.com>","list_archive_url":null,"date":"2017-09-12T12:29:24","subject":"Re: [U-Boot] [PATCH v3 9/9] fs/fat: Clean up open-coded sector <->\n\tcluster conversions","submitter":{"id":6170,"url":"http://patchwork.ozlabs.org/api/people/6170/","name":"Simon Glass","email":"sjg@chromium.org"},"content":"On 9 September 2017 at 11:16, Rob Clark <robdclark@gmail.com> wrote:\n> Use the clust_to_sect() helper that was introduced earlier, and add an\n> inverse sect_to_clust(), plus update the various spots that open-coded\n> this conversion previously.\n>\n> Signed-off-by: Rob Clark <robdclark@gmail.com>\n> ---\n>  fs/fat/fat.c       | 8 +++-----\n>  fs/fat/fat_write.c | 8 +++-----\n>  include/fat.h      | 6 +++++-\n>  3 files changed, 11 insertions(+), 11 deletions(-)\n\nReviewed-by: Simon Glass <sjg@chromium.org>","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=\"NZzT73Ao\"; \n\tdkim=fail reason=\"signature verification failed\" (1024-bit key;\n\tunprotected) header.d=chromium.org header.i=@chromium.org\n\theader.b=\"dvP0IQBD\"; dkim-atps=neutral"],"Received":["from lists.denx.de (dione.denx.de [81.169.180.215])\n\tby ozlabs.org (Postfix) with ESMTP id 3xs4634SW2z9t6f\n\tfor <incoming@patchwork.ozlabs.org>;\n\tTue, 12 Sep 2017 22:36:01 +1000 (AEST)","by lists.denx.de (Postfix, from userid 105)\n\tid 24C3FC22042; Tue, 12 Sep 2017 12:34:31 +0000 (UTC)","from lists.denx.de (localhost [IPv6:::1])\n\tby lists.denx.de (Postfix) with ESMTP id 1ADDEC21EA9;\n\tTue, 12 Sep 2017 12:32:53 +0000 (UTC)","by lists.denx.de (Postfix, from userid 105)\n\tid 04E1EC22025; Tue, 12 Sep 2017 12:29:52 +0000 (UTC)","from mail-qk0-f179.google.com (mail-qk0-f179.google.com\n\t[209.85.220.179])\n\tby lists.denx.de (Postfix) with ESMTPS id 30879C21E39\n\tfor <u-boot@lists.denx.de>; Tue, 12 Sep 2017 12:29:46 +0000 (UTC)","by mail-qk0-f179.google.com with SMTP id a128so24571311qkc.5\n\tfor <u-boot@lists.denx.de>; Tue, 12 Sep 2017 05:29:46 -0700 (PDT)","by 10.200.37.200 with HTTP; Tue, 12 Sep 2017 05:29:24 -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=ETeMPe5wCK9RXQjZGkM+pMwBoAuw0JdquOlWLPYRE08=;\n\tb=NZzT73Ao5grODE/BXYula9kYPkUQrHRaSsSLON7QcgraQ7twwrPwQtXUdYCloSLAVb\n\tdpzBstFwwtnjAPgxVWddBxgUcxRvq4dG1omWUxB8ugrIvxASr4DWha2iO0N+DVi4owqN\n\tJ8oLxaIovup6SAryKbiVlkFEUv6sY3BpdXppjd5inEvhRY3FW6OVH4UujJXMoeAL76ue\n\tyCDMN9n0tB3EiMDlYCdFtItUMXsfxr0lV1nWQRObDfxPh29qUgT8oZDakIbTkhTOrJVW\n\td4Xmfpkir7RTAVFp8u4G/HfQ6Phs+UOxify1/LIj37K7qKW0XX1HKFKzahRIrbweigQo\n\tHmSw==","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=ETeMPe5wCK9RXQjZGkM+pMwBoAuw0JdquOlWLPYRE08=;\n\tb=dvP0IQBDFZjU1vBpdl+xES51LpupYkWGwSGpQ8z+iwEGCLHxXiEEgi5SSqm/nFRN6F\n\tbjxljme+kIjm8LGzgwqu+XObEOV0KvALHLiwgF/z7XPBW36IDN8Zef1kCRuYqFvPbkj+\n\tJwUwY0dfTIArzWWj+LkDFVji19HFTgeRZW0YI="],"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=ETeMPe5wCK9RXQjZGkM+pMwBoAuw0JdquOlWLPYRE08=;\n\tb=LMmXuC4ZDEFKutM7QRfjbrEF0LQxv90lmJ+aTiZxlEZU2MZXSMc8Ved560nZXKi/Q9\n\tE1OnNz8hOfIru/tFmrbQs2Ws7YWtECRyF7Tx1RMlKCSpUMID160Da2IRtLwzO5cS2qd7\n\tKUJHBA0RxBqvWxWu/ImJ50dApq250q8+R22sQMxVfPrp42cWbTXLG8ibHavq5MgXA6sY\n\t3vdDr5F4dGGVhmJNNW/Zx4Q7sVoiJoCsVOkH85d2gPhzI5qA1FGDCaDfZeG01I1heJ/F\n\tuM+cpe+p684V7jnVWv6bUp05yztZndPqvnIAXZsc4372svyhyLggEyl4fb3+K6iDdTvf\n\timwQ==","X-Gm-Message-State":"AHPjjUjjluRovmGWRTicpVog39aL7GnxQ5UlZ379/ip+Sl/xy8Jxgg8I\n\tTbvJai3ZesEder7BvyAw8NIPoWUEpBpYth/CIWKKXpbB","X-Google-Smtp-Source":"AOwi7QC9mcAXU7HxKf6YArvN9qzn6VMb0Rg+o/xsXPAYe7kvCWseBM4BM3UMMl1L/p4KLJzGiRI5urulpbsM8l9303M=","X-Received":"by 10.55.33.216 with SMTP id f85mr20555031qki.176.1505219384716; \n\tTue, 12 Sep 2017 05:29:44 -0700 (PDT)","MIME-Version":"1.0","In-Reply-To":"<20170909171606.20029-10-robdclark@gmail.com>","References":"<20170909171606.20029-1-robdclark@gmail.com>\n\t<20170909171606.20029-10-robdclark@gmail.com>","From":"Simon Glass <sjg@chromium.org>","Date":"Tue, 12 Sep 2017 06:29:24 -0600","X-Google-Sender-Auth":"wf9TYPpRpT_vbSLa-5FhnRmCVAQ","Message-ID":"<CAPnjgZ2FD6Fk_oYxAg1sAsa2p-cafLhfufVhKh2CtHPEH4Z8Nw@mail.gmail.com>","To":"Rob Clark <robdclark@gmail.com>","Cc":"Philipp Skadorov <philipp.skadorov@savoirfairelinux.com>,\n\tHeinrich Schuchardt <xypron.glpk@gmx.de>,\n\tU-Boot Mailing List <u-boot@lists.denx.de>,\n\tGenevieve Chan <ccheauya@altera.com>, Tien Fong Chee <tfchee@altera.com>","Subject":"Re: [U-Boot] [PATCH v3 9/9] fs/fat: Clean up open-coded sector <->\n\tcluster conversions","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":1769540,"web_url":"http://patchwork.ozlabs.org/comment/1769540/","msgid":"<20170916023234.GW4560@bill-the-cat>","list_archive_url":null,"date":"2017-09-16T02:32:34","subject":"Re: [U-Boot] [U-Boot, v3,\n\t9/9] fs/fat: Clean up open-coded sector <-> cluster conversions","submitter":{"id":65875,"url":"http://patchwork.ozlabs.org/api/people/65875/","name":"Tom Rini","email":"trini@konsulko.com"},"content":"On Sat, Sep 09, 2017 at 01:16:00PM -0400, Rob Clark wrote:\n\n> Use the clust_to_sect() helper that was introduced earlier, and add an\n> inverse sect_to_clust(), plus update the various spots that open-coded\n> this conversion previously.\n> \n> Signed-off-by: Rob Clark <robdclark@gmail.com>\n> Reviewed-by: Simon Glass <sjg@chromium.org>\n\nApplied to u-boot/master, thanks!","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\" (1024-bit key;\n\tunprotected) header.d=konsulko.com header.i=@konsulko.com\n\theader.b=\"h+/tTl7f\"; dkim-atps=neutral"],"Received":["from lists.denx.de (dione.denx.de [81.169.180.215])\n\tby ozlabs.org (Postfix) with ESMTP id 3xvGb372KSz9sPk\n\tfor <incoming@patchwork.ozlabs.org>;\n\tSat, 16 Sep 2017 12:35:27 +1000 (AEST)","by lists.denx.de (Postfix, from userid 105)\n\tid 5E49BC21E9D; Sat, 16 Sep 2017 02:33:40 +0000 (UTC)","from lists.denx.de (localhost [IPv6:::1])\n\tby lists.denx.de (Postfix) with ESMTP id D5637C21F92;\n\tSat, 16 Sep 2017 02:33:26 +0000 (UTC)","by lists.denx.de (Postfix, from userid 105)\n\tid D4867C21F77; Sat, 16 Sep 2017 02:32:41 +0000 (UTC)","from mail-yw0-f181.google.com (mail-yw0-f181.google.com\n\t[209.85.161.181])\n\tby lists.denx.de (Postfix) with ESMTPS id 7F6DBC21E8A\n\tfor <u-boot@lists.denx.de>; Sat, 16 Sep 2017 02:32:37 +0000 (UTC)","by mail-yw0-f181.google.com with SMTP id w9so2424463ywi.11\n\tfor <u-boot@lists.denx.de>; Fri, 15 Sep 2017 19:32:37 -0700 (PDT)","from bill-the-cat (cpe-65-184-142-68.ec.res.rr.com.\n\t[65.184.142.68]) by smtp.gmail.com with ESMTPSA id\n\tx139sm882010ywd.82.2017.09.15.19.32.35\n\t(version=TLS1_2 cipher=AES128-SHA bits=128/128);\n\tFri, 15 Sep 2017 19:32:35 -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=konsulko.com;\n\ts=google; \n\th=date:from:to:cc:subject:message-id:references:mime-version\n\t:content-disposition:in-reply-to:user-agent;\n\tbh=GYdziAxXJiJTZguPyNsj7i2xYRKyczVOVog1enRKk/I=;\n\tb=h+/tTl7f5HFF48J6jfMeHaHUTlQewoCVcwOVg5JSs6oF1aY81tL+njfO+7fqZKy0zB\n\t5n9fmi130MPpvtx6pvBSn3Q/fF3+fswFgfqtHgxxz3HeYKjOwY1uCDgu+8HcYn9YA+oL\n\tjZXpLuVYcwpTn3/QLFr80d8vYJQ9uomzCO00Q=","X-Google-DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20161025;\n\th=x-gm-message-state:date:from:to:cc:subject:message-id:references\n\t:mime-version:content-disposition:in-reply-to:user-agent;\n\tbh=GYdziAxXJiJTZguPyNsj7i2xYRKyczVOVog1enRKk/I=;\n\tb=VCRclAUC5mKho/pz7F7wpGJ0FVJ6EnX2qRkxL1pVZtdUxpYerQCBAxcMftrkIaJGha\n\tzH35KVHkCeA+q1xuOs76HheUP9rs9ox1EbhKkdpuifvUnugX+nLFT9TJBLLipB/oZUNv\n\t/HNU+qghZSA8tNgZOBXAGuWBoMbLZZzAig5k++3i9Aw3x7BoR96W60EQbR7+RoWRoFau\n\tOospayqUNPkVR3KrLBoKOO+cgX9wHJrmKZEDgfnCTCLXHCpBhMy5Oa91o4h8N/d0ebwM\n\tFyAnO8dSk9D4KZtuU6+SIXG8Pd9HJfuxb+zK/778wt9rJ9XcPuqapOKU5aP6O0jqrBi6\n\tQm4A==","X-Gm-Message-State":"AHPjjUhDYYTB42y8w8oBPaPMKvyqIEHwhkfPlP0WcuP8VDdfzADC3Eds\n\tFVVRFiGvSJPeL7SC","X-Google-Smtp-Source":"AOwi7QBEds0qNfl0Go0ZUdhkV4LF8mccg5mIMNu0Nbi2jXt9S76l3ej764kSXeU2q+buZy+oDyytPQ==","X-Received":"by 10.37.115.77 with SMTP id o74mr928374ybc.299.1505529156493;\n\tFri, 15 Sep 2017 19:32:36 -0700 (PDT)","Date":"Fri, 15 Sep 2017 22:32:34 -0400","From":"Tom Rini <trini@konsulko.com>","To":"Rob Clark <robdclark@gmail.com>","Message-ID":"<20170916023234.GW4560@bill-the-cat>","References":"<20170909171606.20029-10-robdclark@gmail.com>","MIME-Version":"1.0","In-Reply-To":"<20170909171606.20029-10-robdclark@gmail.com>","User-Agent":"Mutt/1.5.21 (2010-09-15)","Cc":"U-Boot Mailing List <u-boot@lists.denx.de>,\n\tTien Fong Chee <tfchee@altera.com>,\n\tGenevieve Chan <ccheauya@altera.com>, \n\tPhilipp Skadorov <philipp.skadorov@savoirfairelinux.com>,\n\tHeinrich Schuchardt <xypron.glpk@gmx.de>","Subject":"Re: [U-Boot] [U-Boot, v3,\n\t9/9] fs/fat: Clean up open-coded sector <-> cluster conversions","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":"multipart/mixed;\n\tboundary=\"===============3401375236972832192==\"","Errors-To":"u-boot-bounces@lists.denx.de","Sender":"\"U-Boot\" <u-boot-bounces@lists.denx.de>"}}]