Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp1081152ybl; Wed, 14 Aug 2019 10:23:21 -0700 (PDT) X-Google-Smtp-Source: APXvYqx4QFRRnMZXxoEHM73NCvoZGZS0LFA1aG6ziZP+U+HgWgSTrCruCualGkeD+H8E+IgRw+rT X-Received: by 2002:a17:902:e002:: with SMTP id ca2mr475833plb.326.1565803401805; Wed, 14 Aug 2019 10:23:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1565803401; cv=none; d=google.com; s=arc-20160816; b=AsJoR3BN06b1B5mZztO+y5kKp7iUhsHHAtYSuif9SC18H2nuGnzP95amGvefreDLxp DwC2/XuFwM/CD2pR9E31tQewW1iXPK2MXV3MuoW3THkw1uzw23YF4F/vrZvZsH8BCZyh 24vgB/uZJtxYE9cq5ux6LWa9JUuWmCHvUzbV1PaZQ4lytApe9ZeQ+Zelm2+DA7Q2Pvyf KBsD727L5Lrf2QhYeFw20/l/Fnn2hzg3xtYrpOrqPySh0WtrA4vmEYO2zajpobDRd8OG e8z9aQtejTFNS5Rjh1lYiZTTSWw/F4WQ/66dOgjsfFcj4MIzFnMVtrIVZkGdgOSGplv3 DlMQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=yg/E+bU5EfeER0lQnt4G4L6e1XsJx8+8djOdzF0H0Io=; b=XRGbq7Tg604OPd2xGfeZm5myBImIzVC2TPmATiIA3zgM0UBzqgQgSv920eYzSAxu/P 6OE9BJB4V1NGLBwPTTb2NUNIECc7P4V9viMf6/CSgpuRjCW9r2Vch+jx+pnY8Rkmxq05 wmhFnXePWtbRJuuo/Gzpj2xLPkcdyPSmyF6Umf5PH9i/oebX2ymRUkPcUhFT6g+bcB8+ 7sidxgeMicbW495CQY9buoE/1KmO1bLMOqTQBNHj2yAzmk86Ybqar9jB5WkczIZENvP2 b5q8AEOAzmT3VLyv3QCrh320uyMVGPMQJ3kJ5yb86DVa+Gms1OrK4isTv0WtM2TjCp47 dnrQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=SSyHWoVy; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id g7si202928pgc.179.2019.08.14.10.23.05; Wed, 14 Aug 2019 10:23:21 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=SSyHWoVy; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730160AbfHNRWc (ORCPT + 99 others); Wed, 14 Aug 2019 13:22:32 -0400 Received: from mail.kernel.org ([198.145.29.99]:58658 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729672AbfHNRId (ORCPT ); Wed, 14 Aug 2019 13:08:33 -0400 Received: from localhost (83-86-89-107.cable.dynamic.v4.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id E48F12084D; Wed, 14 Aug 2019 17:08:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1565802513; bh=qgzvNf3XjFpQNtw7S/UlxKEPdF1+IPB+9t0Tvw6FNFs=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=SSyHWoVyZeGw/FwsSfv944Ay2e+iM5x+PFNPjo5d/SvCn86zgpAsQj5CDr83qN93a u6K+ieQoNow+CyR1pMfI1/cWjaQ1u361TGZxxw8+JDB4iTeKIRsRnN61HkCZuM9csn +tM8IQkPBetcclcoSwCKj0EL/17uzVrS6/j7RNn4= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Ivan Bornyakov Subject: [PATCH 4.19 03/91] staging: gasket: apex: fix copy-paste typo Date: Wed, 14 Aug 2019 19:00:26 +0200 Message-Id: <20190814165749.133660314@linuxfoundation.org> X-Mailer: git-send-email 2.22.0 In-Reply-To: <20190814165748.991235624@linuxfoundation.org> References: <20190814165748.991235624@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Ivan Bornyakov commit 66665bb9979246729562a09fcdbb101c83127989 upstream. In sysfs_show() case-branches ATTR_KERNEL_HIB_PAGE_TABLE_SIZE and ATTR_KERNEL_HIB_SIMPLE_PAGE_TABLE_SIZE do the same. It looks like copy-paste mistake. Signed-off-by: Ivan Bornyakov Cc: stable Link: https://lore.kernel.org/r/20190710204518.16814-1-brnkv.i1@gmail.com Signed-off-by: Greg Kroah-Hartman --- drivers/staging/gasket/apex_driver.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/drivers/staging/gasket/apex_driver.c +++ b/drivers/staging/gasket/apex_driver.c @@ -538,7 +538,7 @@ static ssize_t sysfs_show(struct device break; case ATTR_KERNEL_HIB_SIMPLE_PAGE_TABLE_SIZE: ret = scnprintf(buf, PAGE_SIZE, "%u\n", - gasket_page_table_num_entries( + gasket_page_table_num_simple_entries( gasket_dev->page_table[0])); break; case ATTR_KERNEL_HIB_NUM_ACTIVE_PAGES: