From patchwork Sun Oct 9 09:07:20 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sergey Senozhatsky X-Patchwork-Id: 13001951 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 48995C433FE for ; Sun, 9 Oct 2022 09:07:48 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id D72936B007E; Sun, 9 Oct 2022 05:07:47 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id D209B6B0080; Sun, 9 Oct 2022 05:07:47 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id B9B68900002; Sun, 9 Oct 2022 05:07:47 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0013.hostedemail.com [216.40.44.13]) by kanga.kvack.org (Postfix) with ESMTP id A9AE16B007E for ; Sun, 9 Oct 2022 05:07:47 -0400 (EDT) Received: from smtpin28.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay07.hostedemail.com (Postfix) with ESMTP id 7F30B1603E6 for ; Sun, 9 Oct 2022 09:07:47 +0000 (UTC) X-FDA: 80000833374.28.35EF8B7 Received: from mail-pg1-f180.google.com (mail-pg1-f180.google.com [209.85.215.180]) by imf24.hostedemail.com (Postfix) with ESMTP id 15AB0180027 for ; Sun, 9 Oct 2022 09:07:46 +0000 (UTC) Received: by mail-pg1-f180.google.com with SMTP id q9so8093819pgq.8 for ; Sun, 09 Oct 2022 02:07:46 -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 :message-id:reply-to; bh=yuRbPyGZZsBm+5IGqHamjUR/zxD3kPUYp8Ab64laoNc=; b=oOmLwkPegZkRA22IheBP7jpj4rmN4FNV+6EnSr8jIB4n5RzMMUBb94GoepCq8HsBWc wToGz+fobeVepMARste1oDCCsKjfC5vJ3MkWqQukaYD4qtrGqrEZq3tH6F+DfrHOdfHb kPbYtXBxq2sTBcE0H0EKh7MhwrpKsuyWl3O88= 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:message-id:reply-to; bh=yuRbPyGZZsBm+5IGqHamjUR/zxD3kPUYp8Ab64laoNc=; b=AScRsptMFmm2GtopW3qxAlkXzPVj9S/4O15wbnqG5DRwQPwiw40bOOJQQAxQK1fVCw CzxFaXl5lbHZvz++mRw7TiSWGVmGpb0IF7YZkFo0YIKO1Er1PMXPMK9sdOcfzZYM4hxS cNZUzxXMMZGw8ylNs4h4SXRuE575iH1PJWlIIM0659pIZa9N49TgmbUkKifmj9rmPZPT 10f+8fjXXzAazyug4kyZQ71nMwNWFiV3+EWoFsYs5fMmcPljscX4YWhB/97iSbAklOLb UQx9nA2wDP5ZGtHGUZnfXo3mO0UVG6NuMj9wLfbtmSklsH2xtbK/+DP3MHWQ05oI5BYW cujw== X-Gm-Message-State: ACrzQf3/RC2ziHOd/DQe5HugXxLpTxYi+jingo8sDdsmlPlJ2FvdIvzU RyLy7ZG43FuPADPa6/vHLd7DpQ== X-Google-Smtp-Source: AMsMyM7emD3Idi1m55hr8/6YiYa0jBoU5n5s7t3oFzxQwBHDrOMjbsnZwwXmfSQt4BFw/i9VJmJBOQ== X-Received: by 2002:a63:6905:0:b0:43c:d4:eef4 with SMTP id e5-20020a636905000000b0043c00d4eef4mr11578195pgc.126.1665306466139; Sun, 09 Oct 2022 02:07:46 -0700 (PDT) Received: from tigerii.tok.corp.google.com ([2401:fa00:8f:203:8517:d51e:5fe9:9be7]) by smtp.gmail.com with ESMTPSA id q194-20020a632acb000000b00439d071c110sm4335148pgq.43.2022.10.09.02.07.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 09 Oct 2022 02:07:45 -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: [PATCHv3 8/8] zram: correct typos Date: Sun, 9 Oct 2022 18:07:20 +0900 Message-Id: <20221009090720.1040633-9-senozhatsky@chromium.org> X-Mailer: git-send-email 2.38.0.rc1.362.ged0d419d3c-goog In-Reply-To: <20221009090720.1040633-1-senozhatsky@chromium.org> References: <20221009090720.1040633-1-senozhatsky@chromium.org> MIME-Version: 1.0 ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1665306467; a=rsa-sha256; cv=none; b=qF9kph1uDTTpwVEJ2GRvJSK4j34/HL0uhfgaBD09xv+BAEAkEVQ8h1he8UyARkr7UtNxuO rCdUIT9LMnYtukqznk75s/b4bFVJmydP9ea1cRDQKuVqDB/Lr4jLOOS+ENE9iHJkZGTa6u ThEugBg05edmYa+clkDuUjsWJxZKUqo= ARC-Authentication-Results: i=1; imf24.hostedemail.com; dkim=pass header.d=chromium.org header.s=google header.b=oOmLwkPe; dmarc=pass (policy=none) header.from=chromium.org; spf=pass (imf24.hostedemail.com: domain of senozhatsky@chromium.org designates 209.85.215.180 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=1665306467; 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=yuRbPyGZZsBm+5IGqHamjUR/zxD3kPUYp8Ab64laoNc=; b=C656WrgBvXchC9B8w6I2BNEyA7uXdFYbUUHaBlYH5ENlx11GThzKlEb7hFKZWnKi8Yf35H YbHgXGJwzWB14ztCNmIgagIGMKv/fOCggpIkXJUVC7w0ELuk/m6OcktQ+tpz231TvWDLHS OwPD2TsYCXi0ALhBi7W4MSPGhxvxSqU= X-Stat-Signature: 4on6wq9tnci7q157ath6a6urwi5ad3nz X-Rspamd-Queue-Id: 15AB0180027 Authentication-Results: imf24.hostedemail.com; dkim=pass header.d=chromium.org header.s=google header.b=oOmLwkPe; dmarc=pass (policy=none) header.from=chromium.org; spf=pass (imf24.hostedemail.com: domain of senozhatsky@chromium.org designates 209.85.215.180 as permitted sender) smtp.mailfrom=senozhatsky@chromium.org X-Rspam-User: X-Rspamd-Server: rspam03 X-HE-Tag: 1665306466-701643 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 34bb21691cee..ecbc5963b5b8 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; @@ -1658,7 +1658,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 ||