From patchwork Wed Oct 5 02:40:14 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sergey Senozhatsky X-Patchwork-Id: 12998841 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id 2232AC433F5 for ; Wed, 5 Oct 2022 02:40:44 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id B71F56B0080; Tue, 4 Oct 2022 22:40:43 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id AD2ED6B0082; Tue, 4 Oct 2022 22:40:43 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 959596B0080; Tue, 4 Oct 2022 22:40:43 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0015.hostedemail.com [216.40.44.15]) by kanga.kvack.org (Postfix) with ESMTP id 8179C6B0080 for ; Tue, 4 Oct 2022 22:40:43 -0400 (EDT) Received: from smtpin18.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay07.hostedemail.com (Postfix) with ESMTP id 574A51605BC for ; Wed, 5 Oct 2022 02:40:43 +0000 (UTC) X-FDA: 79985342766.18.7524FC3 Received: from mail-pg1-f178.google.com (mail-pg1-f178.google.com [209.85.215.178]) by imf05.hostedemail.com (Postfix) with ESMTP id F0C11100014 for ; Wed, 5 Oct 2022 02:40:42 +0000 (UTC) Received: by mail-pg1-f178.google.com with SMTP id j71so8068347pge.2 for ; Tue, 04 Oct 2022 19:40:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date; bh=DN/b5T+8kphGI07HeDS7OSncXPJKUwL2fM68wERZKzg=; b=A5kGZyAc89qJ6kCK+avCVDOQG1rFYV91pRcMvTTasAf2EYsXRpQpjJUbxTIZWNYp/U tR3G2yINER6ubc6Bspe9CVNl7paAZ6+T+Y3aMg58w8aCubOInq9g1WosGIEw+NKywp79 pycw5By4BANOR5O+SdakZ0LlV2uX+3hYKKI1A= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date; bh=DN/b5T+8kphGI07HeDS7OSncXPJKUwL2fM68wERZKzg=; b=o8Zv5INY1Qmz+UYdVRmsh1HONY4HV2/m4ofUDrb9DmooJD7TwpGxbHnC/DemnjpKWU K/TiR05IE/T0o0jndIWAFzX13lWfsyEdOofAz2vtOGOjxuUGdQSHHy1uz5sh8g+aAZ4E M6Ih2vlolv9higX4pE0uBbZjk6/LCpf7716+Tao49riAfvIy+kFNfDlIkEXUmkFUimWB /N5k0A/yvLWGIVj3xGvHADhhNZRFdwqE8EEkyGwQ6Y+/EK7fiEz6HzoZY1O2XI7PGRZv Ph58gQw0JZjaEJ1DVE5obKgjv74pcqWgiY352Rwndi8vv/MdRx4qpLGCn48+CZIH0vgl Qmlw== X-Gm-Message-State: ACrzQf124vXcU6/J4i5jSv9SgAXV9gsynjjEmZUBF8GiJNBNy3QD6jAh gpBJefuX3mM/t1o/c0W1RRLaHw== X-Google-Smtp-Source: AMsMyM4qnyp8LALoSSGOuSMXcvCq/sedhpFwnyOvLhb01JSAifeO2MfhxV2+H5u4J+CRxx8WwkrqAA== X-Received: by 2002:a63:2cc2:0:b0:41c:681d:60d2 with SMTP id s185-20020a632cc2000000b0041c681d60d2mr24659853pgs.502.1664937642099; Tue, 04 Oct 2022 19:40:42 -0700 (PDT) Received: from tigerii.tok.corp.google.com ([2401:fa00:8f:203:a9d9:6396:ee12:8be8]) by smtp.gmail.com with ESMTPSA id a14-20020aa794ae000000b00561e010a309sm1673579pfl.19.2022.10.04.19.40.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 04 Oct 2022 19:40:41 -0700 (PDT) From: Sergey Senozhatsky To: Minchan Kim , Andrew Morton Cc: Nitin Gupta , linux-kernel@vger.kernel.org, linux-mm@kvack.org, Sergey Senozhatsky Subject: [PATCHv2 8/8] zram: correct typos Date: Wed, 5 Oct 2022 11:40:14 +0900 Message-Id: <20221005024014.22914-9-senozhatsky@chromium.org> X-Mailer: git-send-email 2.38.0.rc1.362.ged0d419d3c-goog In-Reply-To: <20221005024014.22914-1-senozhatsky@chromium.org> References: <20221005024014.22914-1-senozhatsky@chromium.org> MIME-Version: 1.0 ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1664937643; a=rsa-sha256; cv=none; b=SmTrP/d2xR3D0feZdDfQvnjNegwp2jJSen8DxBvbsJ8mkH1r4Jve8TEP0M4R42GI7GRHz4 HZnwDU0wZR43VDrLc2a9Vw/323AyO0A0LEHaVCSUEK+VyWSjbt2DsZ6D7PuRjuV5IE8wwJ TeQ+x0dZrRpGlwC6tuO1ViFrwwQFnus= ARC-Authentication-Results: i=1; imf05.hostedemail.com; dkim=pass header.d=chromium.org header.s=google header.b=A5kGZyAc; dmarc=pass (policy=none) header.from=chromium.org; spf=pass (imf05.hostedemail.com: domain of senozhatsky@chromium.org designates 209.85.215.178 as permitted sender) smtp.mailfrom=senozhatsky@chromium.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1664937643; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:dkim-signature; bh=DN/b5T+8kphGI07HeDS7OSncXPJKUwL2fM68wERZKzg=; b=dvijfcDrOLjOMh6d0PYXoK65+72jbGQ2z7EiRjbqwYqnwhGPaGFTeoeQzmyyQBqxZU6dgH dxRgpOUMTp0hBmD6uY2mrh6IA6ZMPuXHXK2eECS6YX1hkSCGZRmEGJb0DtcvqQMWU46EvY GI00zTciZzOm34pAXtxTPxMCDlwWQ8c= X-Rspam-User: Authentication-Results: imf05.hostedemail.com; dkim=pass header.d=chromium.org header.s=google header.b=A5kGZyAc; dmarc=pass (policy=none) header.from=chromium.org; spf=pass (imf05.hostedemail.com: domain of senozhatsky@chromium.org designates 209.85.215.178 as permitted sender) smtp.mailfrom=senozhatsky@chromium.org X-Stat-Signature: 1eowki5ijnbj76fjez1jdstkotkhtwj3 X-Rspamd-Queue-Id: F0C11100014 X-Rspamd-Server: rspam09 X-HE-Tag: 1664937642-963646 X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: Trivial comment typos fixes. Signed-off-by: Sergey Senozhatsky --- 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 ce9413040ad4..9d54dbc72cb0 100644 --- a/drivers/block/zram/zram_drv.c +++ b/drivers/block/zram/zram_drv.c @@ -759,7 +759,7 @@ static ssize_t writeback_store(struct device *dev, zram_slot_unlock(zram, index); /* * Return last IO error unless every IO were - * not suceeded. + * not succeeded. */ ret = err; continue; @@ -1657,7 +1657,7 @@ static int zram_recompress(struct zram *zram, u32 index, struct page *page, /* * Either a compression error or we failed to compressed the object * in a way that will save us memory. Mark the object so that we - * don't attemp to re-compress it again (RECOMP_SKIP). + * don't attempt to re-compress it again (RECOMP_SKIP). */ if (comp_len_next >= huge_class_size || comp_len_next >= comp_len_prev ||