Received: by 2002:a25:c593:0:0:0:0:0 with SMTP id v141csp2390292ybe; Sat, 7 Sep 2019 14:44:37 -0700 (PDT) X-Google-Smtp-Source: APXvYqwoPC36DgmPHuQnqhj+8/p41YpEpiNMDTiSaYeaEsgvFSuZkSUHqkQs9fhf34JlNfvq75gH X-Received: by 2002:a63:1765:: with SMTP id 37mr14461049pgx.447.1567892677732; Sat, 07 Sep 2019 14:44:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1567892677; cv=none; d=google.com; s=arc-20160816; b=JrDxQ1JcTc4Qd3nDNtEj6e/6GoPpoEf2/PuCzKwTwt3misUEungcPhOJvJj02CQxeU /IcpdRG1UaSf2WwpLU/GmVyKJdN/fUctoaQJRvk1ht6oKJuU9f2JVT7T2AuBzRC2Dn6n +YKJasUV3XkKlzzcVhfcI+KDYsNJ3wQezEnYF2g7c3BOEvvSTKdYtHCac/hJm/bnKY2Z 4wQLqTtHLqxVxbbM3yk5Di2pib+HW7WWr0nu4FaEyJVNwMb2ZfKUJ70RuU01R/VH6bfT D6P/YYE78LnYKgoXAsTw42kzQgpQqeoqn5+caV79K/0C6aHst9CWNVbzubE0+Z4p0hkE mP9g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:content-disposition :mime-version:message-id:subject:to:from:date; bh=NqrWVhu+4QKzyfhiCvOcLfmhvTONjEEtBXP9peOeu0k=; b=daGOOVzU1pYpQLLTloaoqQzQ9iXO2XdbUGY7oFnvdmXkkaD8DYVwUu5wAU4Qswi1ZJ 4BK0JhRjFOgGDOoRJU4SgOAPeZrZ4UTF8dRIP9H/G+EYmBDTVrIeXz7gtZdj5Rl38fHh oUc4t3Rfy73wzG6Q9Ja1BubDZzNj4KcTqtd8MU+qCIbzCw2ZFA2YQi4d4nSEjgRIbj4K O+aQjyFATjvpzQqRN6R+Xpu3MRImUH/tr51UsoDUmTR3i4kCPUH3RWH8jn6sYXxrMmEi uZ0qisJHtF40biaC3uaWrFycrMRtq1dS7Da8+9TjpZ4fGbyhrNBUHc3Li9N20N6hHXnK ZnMQ== ARC-Authentication-Results: i=1; mx.google.com; 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 c33si7933707pgl.300.2019.09.07.14.44.23; Sat, 07 Sep 2019 14:44:37 -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; 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 S2390403AbfIFT0v (ORCPT + 99 others); Fri, 6 Sep 2019 15:26:51 -0400 Received: from mxout012.mail.hostpoint.ch ([217.26.49.172]:60420 "EHLO mxout012.mail.hostpoint.ch" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726931AbfIFT0u (ORCPT ); Fri, 6 Sep 2019 15:26:50 -0400 X-Greylist: delayed 2921 seconds by postgrey-1.27 at vger.kernel.org; Fri, 06 Sep 2019 15:26:49 EDT Received: from [10.0.2.45] (helo=asmtp012.mail.hostpoint.ch) by mxout012.mail.hostpoint.ch with esmtp (Exim 4.92.2 (FreeBSD)) (envelope-from ) id 1i6J7T-000Jjb-HO; Fri, 06 Sep 2019 20:38:03 +0200 Received: from 145-126.cable.senselan.ch ([83.222.145.126] helo=volery) by asmtp012.mail.hostpoint.ch with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.92.2 (FreeBSD)) (envelope-from ) id 1i6J7T-000Axi-Dk; Fri, 06 Sep 2019 20:38:03 +0200 X-Authenticated-Sender-Id: sandro@volery.com Date: Fri, 6 Sep 2019 20:38:01 +0200 From: volery To: rspringer@google.com, toddpoynor@google.com, benchan@chromium.org, gregkh@linuxfoundation.org, devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org Subject: [PATCH] Fixed parentheses malpractice in apex_driver.c Message-ID: <20190906183801.GA2456@volery> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.12.1 (2019-06-15) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org There were some parentheses at the end of lines, which I took care of. This is my first patch. Signed-off-by: Sandro Volery --- drivers/staging/gasket/apex_driver.c | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/drivers/staging/gasket/apex_driver.c b/drivers/staging/gasket/apex_driver.c index 464648ee2036..78ebd590f877 100644 --- a/drivers/staging/gasket/apex_driver.c +++ b/drivers/staging/gasket/apex_driver.c @@ -527,17 +527,20 @@ static ssize_t sysfs_show(struct device *device, struct device_attribute *attr, switch (type) { case ATTR_KERNEL_HIB_PAGE_TABLE_SIZE: ret = scnprintf(buf, PAGE_SIZE, "%u\n", - gasket_page_table_num_entries( + gasket_page_table_num_entries + ( gasket_dev->page_table[0])); break; case ATTR_KERNEL_HIB_SIMPLE_PAGE_TABLE_SIZE: ret = scnprintf(buf, PAGE_SIZE, "%u\n", - gasket_page_table_num_simple_entries( + gasket_page_table_num_simple_entries + ( gasket_dev->page_table[0])); break; case ATTR_KERNEL_HIB_NUM_ACTIVE_PAGES: ret = scnprintf(buf, PAGE_SIZE, "%u\n", - gasket_page_table_num_active_pages( + gasket_page_table_num_active_pages + ( gasket_dev->page_table[0])); break; default: -- 2.23.0