Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753248AbcLCDR4 (ORCPT ); Fri, 2 Dec 2016 22:17:56 -0500 Received: from mx0a-00082601.pphosted.com ([67.231.145.42]:57774 "EHLO mx0a-00082601.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750787AbcLCDRy (ORCPT ); Fri, 2 Dec 2016 22:17:54 -0500 Subject: Re: [PATCH] blk-stat: fix a typo To: Shaohua Li , References: <9d22314753c0874d41be54e0f8425a08974781b6.1480727312.git.shli@fb.com> CC: From: Jens Axboe Message-ID: Date: Fri, 2 Dec 2016 20:16:31 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.5.1 MIME-Version: 1.0 In-Reply-To: <9d22314753c0874d41be54e0f8425a08974781b6.1480727312.git.shli@fb.com> Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: 7bit X-Originating-IP: [66.29.164.166] X-ClientProxiedBy: BY1PR18CA0002.namprd18.prod.outlook.com (10.162.126.12) To BN6PR15MB1188.namprd15.prod.outlook.com (10.172.205.142) X-MS-Office365-Filtering-Correlation-Id: 1f4ba6c3-fb57-4637-d4d1-08d41b2acb91 X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:(22001);SRVR:BN6PR15MB1188; X-Microsoft-Exchange-Diagnostics: 1;BN6PR15MB1188;3:ROo145gF+umFZvwsV2NxnTbKtGxtivGgYbN59cg+k78WO8ac8rDEV9ev5sym63B6qQxmh0EzTXYyk5PNPBKHBJFln1mj4JXombQKAL9cGJuegz/+4xrJ5yhhxrnkaJQ/vjoszC8ijeC2TtOKZcLLXL6+pa8ir57X6pLaagEbz4OF7/2J6LX4zyabxnB5snFCB5aWn5CA6gRGeIBLCgwBTOl+qVAqtrydDBYG74sEbwvEfPc4lKuoEgX4s05zv68si6ej9BXhc7CzVuCDKHY4Ng==;25:WB7QN6l9O0tRJ5nIF+fpJGV9ql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-Report-CFA-Test: BCL:0;PCL:0;RULEID:(6040375)(601004)(2401047)(5005006)(8121501046)(10201501046)(3002001)(6041248)(20161123560025)(20161123562025)(20161123555025)(20161123564025)(6072148);SRVR:BN6PR15MB1188;BCL:0;PCL:0;RULEID:;SRVR:BN6PR15MB1188; X-Microsoft-Exchange-Diagnostics: 1;BN6PR15MB1188;4:AiL/9jTJwuEdSFrOoOIjrwxQu/doTni7CJXQ2rJ2fRjRPmMUtvgUwvgFGGQ95KFtD9YAx9sibvIJTwhietL8h6W2iG5lhVe61jlb/bAGodF4rXLfe5XCBelUk/Sa89EpFMW4K2aPwHYdaWT5JkJAl26i4Tr+b21ubLb5usFU/ManN526F9OnTaZxZH/heS3Ixgk7/2rcaTvsnQ3Pu/yLAKk4jPPnUnFmiM3KJ3SXbMbHqCDLy1TDAg9fQ+8q1hgF5BsiBjdMXuunYKO0SaXcyoDSBXYFQJpRYizMC9phDTdOpyVaO/ITGHToxXvnTkDEVGfNha3PF1jhi7H9WvHojwViamFZ6qMKv9ReETJJY83R6HyM1LPs4nSz87sIDn/F8TFLH08szR45ZEYNTYemBa098DvgKvvEIuBApbw4pHp0uvPKnLbLNdHNuMbH8194Q6p7HTML0heOkcNZZEOfh10UJ2MvArjXo/uo//t37oUxuG90diPGqXenr/q1WL71v5CcyKFenTT0npIxs0i9lreBJrUqEP8K9V2+mnHTVyiXWa+LnQf2oHezO7dkysYAUezj3cqJmKCxw8c0O0m8Z5Y7p6n0oPKLFcVEyItuKaEKEWMAroWOdjRdkvjE/q8N X-Forefront-PRVS: 0145758B1D X-Forefront-Antispam-Report: SFV:NSPM;SFS:(10019020)(4630300001)(979002)(6049001)(6009001)(7916002)(24454002)(199003)(189002)(377454003)(36756003)(8676002)(31696002)(23746002)(39450400002)(733004)(7846002)(6486002)(101416001)(90366009)(65956001)(33646002)(65826007)(92566002)(2950100002)(3846002)(105586002)(106356001)(117156001)(5660300001)(7736002)(5001770100001)(97736004)(230700001)(450100001)(2906002)(6666003)(4001350100001)(47776003)(50466002)(305945005)(4326007)(39410400001)(50986999)(81166006)(86362001)(76176999)(65806001)(42186005)(68736007)(189998001)(66066001)(77096006)(81156014)(6116002)(64126003)(229853002)(54356999)(38730400001)(83506001)(31686004)(969003)(989001)(999001)(1009001)(1019001);DIR:OUT;SFP:1102;SCL:1;SRVR:BN6PR15MB1188;H:[192.168.1.176];FPR:;SPF:None;PTR:InfoNoRecords;A:1;MX:1;LANG:en; X-Microsoft-Exchange-Diagnostics: =?Windows-1252?Q?1;BN6PR15MB1188;23:mSeJFSrv6RJXA/SXbLgZU24y2VV+SPYvZ5swW?= =?Windows-1252?Q?pOrpgwBzd6h9oc9pN3b9yK7a2aNawyQMeDflsPI232SRiQDfOrKREa9T?= =?Windows-1252?Q?SNOte80Q2LLaVXmv2do9euQuZMWiBvD/kjuafH17ITLdmoBIVBH3grig?= =?Windows-1252?Q?Nxrh8NuFVxAwAjaVEp78gjW2gvb6x4atOfuRmU6urY2v++P3X9xOQvKM?= =?Windows-1252?Q?SxVdt9GIUbyEDu5p8Ly1nhGaKtdYUii9iWkaEZAVjksHapQj93lKRU+A?= =?Windows-1252?Q?1iXwOZ+9crpINoPgmJDkXYhlPxfrbIa0ThA+oJPD4l7oSjQxR0VWLhJQ?= =?Windows-1252?Q?I7Wq1S/MMC0NH9bam7sVBdwaL5La6p1OpOVPti9ggKjLSuMqVAac14dd?= =?Windows-1252?Q?lySy3c26NqAnO8eOS4WtW/3hP75D78ArIXbjoakok9kt6ECIcbmf3/Hm?= =?Windows-1252?Q?PtNhmhC/c4Pz4HqInzftbpmdK2jjJKHbLbUFpTGNdH3k5NBxmRzRL8pG?= =?Windows-1252?Q?386a+0diPCZHAyhQ6e+M/i4Bdud4Hh5DgJLdYv45g6XXYCCMiECHDyEA?= =?Windows-1252?Q?gXFmTNweV96vvht7azDNS0Alyb8aWQ5Vv7R4yDuglFH8RhTQoGP6FFAQ?= =?Windows-1252?Q?0hnoDvDybvZ4yPiaplsLfl2RWNOvjgKkCxDBNWtEQorWg5uD7LWHl+vR?= =?Windows-1252?Q?+rsIixMbj7DjpT3JzCPY+Rsh0wRtmvafPXGYS5JEsgWoLq9lDbblYoSD?= =?Windows-1252?Q?SKdvibMF6dC4enfI3jcgjcwkl3RQMm5fOvA/qSqE/getGZIA5J5b513y?= =?Windows-1252?Q?ff6zCFTWtcPGm7k2qSXeCua6W5xNzd3lQcyOV2awVvGHnHVfQPPhBGKX?= =?Windows-1252?Q?aNcVl2UriQWOGeBj1/UauOSeMU91LsmuQvOX22B18uO7sK+3Ug6AvHuM?= =?Windows-1252?Q?fl4bv/JO6VWI6RTRq0iFSGYdA95ksMe4K6bLlWtZfQwX7JgsFBNKQQya?= =?Windows-1252?Q?BkqhBYfVvBi/LfplmcwoaPZAWP6kfqzYDzBDcxX8AVgK3xJ3Hh8/we83?= =?Windows-1252?Q?ApOXOHctx5kwd2og+Cn6biimkVi1aN+F0r5a95nUlMVdnAv4h2Zb8TBD?= =?Windows-1252?Q?ktuYZ9k+KeZ9+J1Ixa5Oksf8KIN50I3jJIvdHwIgCQZ/aHwPB4g46lwF?= =?Windows-1252?Q?G1ZteVhfY1SOWhpLNCCIgBaHM8+w9euTq+b1pnzvM96fI0Z5Bx3nrXrC?= =?Windows-1252?Q?CTpk3OBhMgNkJz1TX4jtcm/NhHslmxpRpjD488ZNaZoDUpSH3QAWyLEk?= =?Windows-1252?Q?poZWRArA67QVFHnny7ZlXhj0iCDTS5EvJF4rj2YpHebfVT2TiwdBcUAj?= =?Windows-1252?Q?huSbTcF4V3ktU5ZoDEVgFqkexzOLKk09DJlJvXRiuxIrZfAZ0KMiD69L?= =?Windows-1252?Q?XRDs0n6PhBGH6kei0w4GagTET34pi9aXocxhdgnhw04hgX0ZZDfWVZ4n?= =?Windows-1252?Q?K53LLaecEXMburF3PED8EoRQd8+y3cLHqRfmRcbO1U6CZq7N6ERJbRwY?= =?Windows-1252?Q?gKY6VwG/evLy3+7KlvOMX/IhcAHaX3RoBFypsfy/S3zYTDlPH5foN+iZ?= =?Windows-1252?Q?nOcB6yaFlcJTJqzqr3D08Y=3D?= X-Microsoft-Exchange-Diagnostics: 1;BN6PR15MB1188;6:sBPmHDf51Sr0qG1xTlwsBDnIANHLp6Hbq+wjq2y+/GsMYknx0XO03Hey+TyzG+P4T3IAFUoNhtNDJ5CklpQ4Uk0lBtMr9YiaDIpKMRmxdy9GTkw37+7s+mUDBFBv1xkIZgX/tm4fN4IzPQm7xLHTZCIORZzNW6AxC8mupPDYObjGEqQAOi/+G1gezpoDuXceobWMcjfnMySPUba93F3jweLe+RPOt0WOFeitL2cLkzzuf6Goktm+xBNKZc82wM3h2CiE8pVJYK1dFdVbmhBH50+91puQHWLMtWkiWUoCB2QNpznO6vAg+Cda91uyXmtDiX4vTfgJF/fTk5j++doLfmT4sDV9yDcEE7jAuwBFmb2nYXx5nr9AtI2x/NI+QixVVkkGu3+5AkKjAnuYeZVGvILMqm2m4NCjYs+6G3CyQ21aRiSPGBwsVbD4oPZP5Blp4q2j7+33EeCljDYKkyjG5g==;5:d6stY6GyAnX9iw01izJh/32AZL8S+CITFD6fqKb6DtXwFo312ap2q5PAj1DlVk/kE3SksmF3IMk59Flw6eP0Qs34IB56o6BUOq68OMfa9cNP/XJaFhwRLE1ltwcyb946NgI0YGXJyLDHCBYQH6depA==;24:hZwqnTQLD1e9frm4vQgaZo4IrtGX4IuDDhkFovXvRzRfvQnOyxHPYQhY5xuvUWbpvOUdES/EsTaFlnvoYeBvNXqLaq9Pd+5JYByExqCuwyo= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1;BN6PR15MB1188;7:pFPCIdH+TCJw4gdHXBpGDmDjXYZ+K5Do8YM443hXRsHJLWqbJ8yxxDJUTOWkPgp0eXSbQRRFclAe8LPYajsRg/qFwItCSaqgbfhrCEuiznumCyJ9sXaL2bNGaShqWl25DSX57MWy/ixVyB/FAbkSzmSIF+h4xn6Xl9fhY81M9jEP9/tLqd1O86aCWGCvc/tg9uzlJUjxnQalHVp/yXO54ysC4yALrdu6rllboIvzu/unMJbuusq+03dkUsFd9HKqjUmDXwwougfQcArvY6dj/MCihTpmqHcGHEcm18oW6OiGjTUfdoCGDShRMWt7gHzDE0G4/L4WGjg5DDbUFrpg+QC5gHSirI2DK4OGpabvbW3Qt1+Q+2cYjg0H/YAPhpuWndNZHjGngJQflXWITALDAUnMudiMImeYLOX7ZjdKvsjtu89t3RnfOvnDIsG9R4Np+zv8GR11eJ/zS1oilfYM1g==;20:o/2H9BeSNxdr2COrqwA99wCVHi1dpHcuPr90+wn6Tm6ZMxBirye5+Jc8uj/NPl5DuCDTrAdI0Ffj4MOCvTIgWVfrOrXPYswAnrR2v/aNuA/GsEiudsRuPMV/dDYR77Fwak7l0nxmnU5iiBECGRoGGwwuE7uXnkaZaVC3sh5DK3U= X-MS-Exchange-CrossTenant-OriginalArrivalTime: 03 Dec 2016 03:16:37.6915 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN6PR15MB1188 X-OriginatorOrg: fb.com X-Proofpoint-Spam-Reason: safe X-FB-Internal: Safe X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:,, definitions=2016-12-03_02:,, signatures=0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 648 Lines: 25 On 12/02/2016 06:13 PM, Shaohua Li wrote: > Signed-off-by: Shaohua Li > --- > block/blk-stat.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/block/blk-stat.c b/block/blk-stat.c > index 688c958..4d01185 100644 > --- a/block/blk-stat.c > +++ b/block/blk-stat.c > @@ -12,7 +12,7 @@ > static void blk_stat_flush_batch(struct blk_rq_stat *stat) > { > const s32 nr_batch = READ_ONCE(stat->nr_batch); > - const s32 nr_samples = READ_ONCE(stat->nr_batch); > + const s32 nr_samples = READ_ONCE(stat->nr_samples); > > if (!nr_batch) > return; > Gah, that sucks. Thanks, added for 4.10. -- Jens Axboe