Received: by 2002:a05:6358:f14:b0:e5:3b68:ec04 with SMTP id b20csp66417rwj; Thu, 22 Dec 2022 20:53:17 -0800 (PST) X-Google-Smtp-Source: AMrXdXsbxRn5M3UaAyph4bCQfQFtxrk3hu51nfcqPQ7+SK+KCSBRu/UCcS29Su0Hreh0U+trNMkS X-Received: by 2002:a05:6a20:be15:b0:ad:5cee:4d0 with SMTP id ge21-20020a056a20be1500b000ad5cee04d0mr7274714pzb.12.1671771197232; Thu, 22 Dec 2022 20:53:17 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1671771197; cv=none; d=google.com; s=arc-20160816; b=JsHFZuwo5zhEbIIFb5MzE4nQse7R0BzyIqtO/aI6v7snI9g0wKd9mAUpZAvgOrOdSF br6W4zBiLIVCUraHPJ/snf1Ax5ubn6EeDRvIFYEAYHuZfFKpOrPWPmpcD2sG7IGsLin6 js9Y7GVPYrZF2bAN/m6HC2dk3ZVlaYV1hzcMwZfLxHmIxrZhAaagYMLFeLV/7mysF3WR ngAXtY51mpwLd5rHulmo8q7dj1fOKv6DRjudg33BWAPAafZjl83XtNCkiTDCbOykYbja j0+BzvTDEUveB5ceDERBkKzVnW2gEwaxzTJhQPFc+p9of3HjdhtRY44R1oFOBl8nV2SP IxHw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:references:dlp-filter:cms-type :content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:dkim-signature:dkim-filter; bh=OUo7XqUBNxxTZmDVqphH51Eqptd1EgIhPFysmBbWXf4=; b=OD2fWFsD911gVxSa1/L8YsZYFzlaju4tjq3ET0dKYOMMYXuAwyFqtKDmzM56JjpzAx SjDKavoLnsYxPvjlsIjHea8TSbdA1NrZaSAdP+Lrr00VTfawDe9320wzESM74Y4AiPES KmkfiKoe7cJDqQp3PRk8+2c4Ufilv4HSoMN+ChzCEU5+4fWKWAgmTfN+QYyx6oavM4EQ NO83PCZMfmbNAQanVPah7dHLsIZQVKGMDME0aglF5Ajdxe0AdSSNF17sw0CSJTSpdJa4 OLZDDhRB1DczuAGoleyEo/8HbAcd56bA1zPe5zv4vtEFTDugTxdebK2OFmOmE2tScMHl kdfQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b=QrWpLhIw; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=samsung.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id bd8-20020a656e08000000b00476f3facb4csi2795615pgb.221.2022.12.22.20.53.08; Thu, 22 Dec 2022 20:53:17 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b=QrWpLhIw; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=samsung.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230081AbiLWEDs (ORCPT + 67 others); Thu, 22 Dec 2022 23:03:48 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43188 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230022AbiLWEDn (ORCPT ); Thu, 22 Dec 2022 23:03:43 -0500 Received: from mailout1.samsung.com (mailout1.samsung.com [203.254.224.24]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1BB381C916 for ; Thu, 22 Dec 2022 20:03:41 -0800 (PST) Received: from epcas1p1.samsung.com (unknown [182.195.41.45]) by mailout1.samsung.com (KnoxPortal) with ESMTP id 20221223040336epoutp01b893edd27232c984ff2dcb9ae6c002eb~zUFXqiFsW0244702447epoutp01G for ; Fri, 23 Dec 2022 04:03:36 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout1.samsung.com 20221223040336epoutp01b893edd27232c984ff2dcb9ae6c002eb~zUFXqiFsW0244702447epoutp01G DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1671768216; bh=OUo7XqUBNxxTZmDVqphH51Eqptd1EgIhPFysmBbWXf4=; h=From:To:Cc:Subject:Date:References:From; b=QrWpLhIw1DLFgF4G/LsNcck6NLafdb9pewj/6uBxvAV3tugpGg3txpPfJnp7eQ8K5 bgLTOLubfb6LBpik5WvwJ9/z4unXYf2IqaHyKbG16uzrVR4zX0V5grpYdNN7ls/ASU Xek7QoAMtlWBz7BEXLzlW+hie4WJWPmd+yIDFPo4= Received: from epsnrtp4.localdomain (unknown [182.195.42.165]) by epcas1p3.samsung.com (KnoxPortal) with ESMTP id 20221223040336epcas1p38c0cd0afa5590dabddb2345ecbb3788e~zUFXWvCGx2690226902epcas1p3k; Fri, 23 Dec 2022 04:03:36 +0000 (GMT) Received: from epsmges1p5.samsung.com (unknown [182.195.36.226]) by epsnrtp4.localdomain (Postfix) with ESMTP id 4NdYSl6VbCz4x9Q2; Fri, 23 Dec 2022 04:03:35 +0000 (GMT) Received: from epcas1p2.samsung.com ( [182.195.41.46]) by epsmges1p5.samsung.com (Symantec Messaging Gateway) with SMTP id 55.AF.41504.79825A36; Fri, 23 Dec 2022 13:03:35 +0900 (KST) Received: from epsmtrp2.samsung.com (unknown [182.195.40.14]) by epcas1p4.samsung.com (KnoxPortal) with ESMTPA id 20221223040335epcas1p45bda0013a3a42f176fa137e0597fd7c9~zUFWrQ9dQ2778927789epcas1p4f; Fri, 23 Dec 2022 04:03:35 +0000 (GMT) Received: from epsmgms1p1new.samsung.com (unknown [182.195.42.41]) by epsmtrp2.samsung.com (KnoxPortal) with ESMTP id 20221223040335epsmtrp2aaa763281fc627a9b468a2d1bef247ff~zUFWqnSV62533725337epsmtrp2k; Fri, 23 Dec 2022 04:03:35 +0000 (GMT) X-AuditID: b6c32a39-24bfd7000001a220-7f-63a5289760ff Received: from epsmtip2.samsung.com ( [182.195.34.31]) by epsmgms1p1new.samsung.com (Symantec Messaging Gateway) with SMTP id C2.CB.02211.79825A36; Fri, 23 Dec 2022 13:03:35 +0900 (KST) Received: from localhost.localdomain (unknown [10.253.101.104]) by epsmtip2.samsung.com (KnoxPortal) with ESMTPA id 20221223040335epsmtip2e31261bfcad3528a7af9efd65a648a1f~zUFWcuLPX0434204342epsmtip2Q; Fri, 23 Dec 2022 04:03:35 +0000 (GMT) From: JeongHyeon Lee To: senozhatsky@chromium.org Cc: minchan@kernel.org, axboe@kernel.dk, linux-kernel@vger.kernel.org, linux-block@vger.kernel.org, JeongHyeon Lee Subject: [PATCH] zram: fix typos in comments Date: Fri, 23 Dec 2022 13:03:31 +0900 Message-Id: <20221223040331.4194-1-jhs2.lee@samsung.com> X-Mailer: git-send-email 2.38.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFvrOKsWRmVeSWpSXmKPExsWy7bCmnu50jaXJBv0f9S1W3+1ns7h0/w6r xd5b2haXd81hs1j29T27xe6Ni9gc2DxmN1xk8bh8ttRj06pONo++LasYPT5vkgtgjcq2yUhN TEktUkjNS85PycxLt1XyDo53jjc1MzDUNbS0MFdSyEvMTbVVcvEJ0HXLzAHar6RQlphTChQK SCwuVtK3synKLy1JVcjILy6xVUotSMkpMCvQK07MLS7NS9fLSy2xMjQwMDIFKkzIzmhfv5qt YBlnxevGFawNjLfZuxg5OSQETCTONx1j7WLk4hAS2MEoceHDTCYI5xOjxO8H56Gcb4wSt9+0 sMC0rFm+mREisZdRYv3Jy1DOF0aJ9qlv2UCq2AS0JW63bAJbIiIgI9H77w0jiM0s0M0o8X+Z EIgtLKA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Q2R0RARqL33xtGEJtZYCKjxL2d IiC2sICOxKmlF8BqWARUJf737WMEGckrYCFx/KALxCZ5id+P97GA2LwCghInZz5hgRgjL9G8 dTbzBEa+WUhSs5CkFjAyrWKUTC0ozk3PLTYsMMxLLdcrTswtLs1L10vOz93ECA5JLc0djNtX fdA7xMjEwXiIUYKDWUmEd8vjxclCvCmJlVWpRfnxRaU5qcWHGKU5WJTEeS90nYwXEkhPLEnN Tk0tSC2CyTJxcEo1MAU2izHHaTSrbCvSdW1V3Zzxlr01c/2X7KXW3cYKUTJyzfHOpd/WpNnk tvwrXdZ35FNaT/mTvUEWNoaGC7iPWB17aJ4VcU7lRqLG5NiSDU4Zq61/3mvbsmC9aqVSfXv0 pvua0kmFsirdE76btvq7xLCcZX0eUOTx8+Mj8XLfgoAytagb+6Y0y6wPtzkuvvCvszxHzgMG Ic2H9jdbL3TtyPu80awpYmlStfXGJc+r53xLFd5+24/tjOCbO6KF6is0X115v0U9znSlEUPG 3q9bs37tOudZvaZqFVOEyrxpbD3C1zZVx2VFWd9esrt88+7k1zK72qW3pVqzZJ/Z9ejpRj07 vsmHz5z6rf6mZXeNEktxRqKhFnNRcSIAA3enyLgCAAA= X-CMS-MailID: 20221223040335epcas1p45bda0013a3a42f176fa137e0597fd7c9 X-Msg-Generator: CA Content-Type: text/plain; charset="utf-8" X-Sendblock-Type: SVC_REQ_APPROVE CMS-TYPE: 101P DLP-Filter: Pass X-CFilter-Loop: Reflected X-CMS-RootMailID: 20221223040335epcas1p45bda0013a3a42f176fa137e0597fd7c9 References: X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org - The double `range` is duplicated in comment, remove one. - change `syfs` to `sysfs` Signed-off-by: JeongHyeon Lee --- drivers/block/zram/zram_drv.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/block/zram/zram_drv.c b/drivers/block/zram/zram_drv.c index e290d6d97047..7becd5448791 100644 --- a/drivers/block/zram/zram_drv.c +++ b/drivers/block/zram/zram_drv.c @@ -190,7 +190,7 @@ static inline bool valid_io_request(struct zram *zram, end = start + (size >> SECTOR_SHIFT); bound = zram->disksize >> SECTOR_SHIFT; - /* out of range range */ + /* out of range */ if (unlikely(start >= bound || end > bound || start > end)) return false; @@ -2385,7 +2385,7 @@ static int zram_add(void) zram->disk->private_data = zram; snprintf(zram->disk->disk_name, 16, "zram%d", device_id); - /* Actual capacity set using syfs (/sys/block/zram/disksize */ + /* Actual capacity set using sysfs (/sys/block/zram/disksize */ set_capacity(zram->disk, 0); /* zram devices sort of resembles non-rotational disks */ blk_queue_flag_set(QUEUE_FLAG_NONROT, zram->disk->queue); -- 2.38.1