Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp4168989ybi; Mon, 3 Jun 2019 06:48:30 -0700 (PDT) X-Google-Smtp-Source: APXvYqzy3uLZOLOI7Nuf3bgOtiIM+4CLWRTz2mK4x9RSbLLRdeFI0I1lz2Ns44Yi63L3tNXmPIYn X-Received: by 2002:a62:1bd1:: with SMTP id b200mr7766308pfb.210.1559569709941; Mon, 03 Jun 2019 06:48:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1559569709; cv=none; d=google.com; s=arc-20160816; b=qM2s+rOHPdUqHk9C8j6ZPgr5vxvX7BmQjkMUophLNjZCaZSee1KHypwAAioWW6Z90y yOzYGbGM+ZtnYrmUjgkf47W8/1vjradbY1LbwwN1MehQeC7CcTcsNzDcTk1/jOqNGc6H QM8VCcvCnU6ky9C1cX9AqQi1Mh/cn0jKNfyUoD3+QYOfrracgahxvV77TTDu9Uh8G0IH hHyerv0XmImUPiPulDEZBpeKyFvdRWPEiJGDX7No729/7ZYnkGWmB37ULywtJuCtHawg 7XnuT9mA1qfQA8y4QUqT4hQxa39I7eLxdsuks8Zciklh8uYHa/f23cgEY9fExmgRIFBJ /zLg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-disposition :content-transfer-encoding:mime-version:robot-unsubscribe:robot-id :git-commit-id:subject:to:references:in-reply-to:reply-to:cc :message-id:from:date:dkim-signature:dkim-filter; bh=bDHxt74Fnq2Ngwtk+dwyw38Uiew9Fi1d3UAGaytTcLU=; b=kgIIp/LSpT6QnGCAHLSmdh7XBM2DOKXzDaxOhYNZVETQvDXXyDYUfL2LP029QsOGCd Tt4QFwk7oF6/DsrXr8JntriqjJMeOs8b9Y/AfdEbOrV7kaipZsSqrIoD+FrMBK/fsigF TNqC/qVF/mXFPHWv+G2Q1v+xa2xkdjIf1oAhcwByleii3m+kfWssDy5nG9GAzF80QZVr m1lphPnXYAyHZCB1i8d8bzdPGhwTX69N2o80yYizvHI4/uk5xDhjZAe/SvD1lKh/IN9X U6uA8ufMHula785bOLaZEi2bk1GPabviknqBHgrZH/4WYDoMt0PfHoestpiKp6KardeU pXRA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@zytor.com header.s=2019051801 header.b=SMfc16Kr; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=zytor.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id p13si18744862pgd.347.2019.06.03.06.48.12; Mon, 03 Jun 2019 06:48:29 -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=@zytor.com header.s=2019051801 header.b=SMfc16Kr; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=zytor.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728644AbfFCNq1 (ORCPT + 99 others); Mon, 3 Jun 2019 09:46:27 -0400 Received: from terminus.zytor.com ([198.137.202.136]:38627 "EHLO terminus.zytor.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726780AbfFCNq1 (ORCPT ); Mon, 3 Jun 2019 09:46:27 -0400 Received: from terminus.zytor.com (localhost [127.0.0.1]) by terminus.zytor.com (8.15.2/8.15.2) with ESMTPS id x53DkC3g614372 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO); Mon, 3 Jun 2019 06:46:12 -0700 DKIM-Filter: OpenDKIM Filter v2.11.0 terminus.zytor.com x53DkC3g614372 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=zytor.com; s=2019051801; t=1559569573; bh=bDHxt74Fnq2Ngwtk+dwyw38Uiew9Fi1d3UAGaytTcLU=; h=Date:From:Cc:Reply-To:In-Reply-To:References:To:Subject:From; b=SMfc16KrejFlX8eyRcpvVHsFWCVmJa0XQL2VVOaWw7cpJeDxyYhCqJA4Jpffmu//t vASYTMKwnAc/XpKaQnmhlg2USwDQd0zC/U6hj7+VilD/jMBNZGo7GcM0za6+WloAnx UCTFqm3oVhZe1C90y9O9M11OGdZyU9A0FL9jq3W69txrb1od73sfukO88pHrFBFEK2 7vSwbNL4GjJsTMtv33SHHGTeM1Hq2M/dQRTkaJW7vaR3hXIhOptuxLgff7dzO+A3gD 4/rEXb0oVSQehvRKuG7TD5UuX2YI2MfG4JstMDpKBGwKBlkw2i1w1YlBQQRDrVBtQi QaGZOstgIZVsA== Received: (from tipbot@localhost) by terminus.zytor.com (8.15.2/8.15.2/Submit) id x53DkCO6614369; Mon, 3 Jun 2019 06:46:12 -0700 Date: Mon, 3 Jun 2019 06:46:12 -0700 X-Authentication-Warning: terminus.zytor.com: tipbot set sender to tipbot@zytor.com using -f From: tip-bot for Mark Rutland Message-ID: Cc: heiko.carstens@de.ibm.com, mingo@kernel.org, will.deacon@arm.com, torvalds@linux-foundation.org, hpa@zytor.com, mark.rutland@arm.com, peterz@infradead.org, tglx@linutronix.de, linux-kernel@vger.kernel.org Reply-To: mingo@kernel.org, heiko.carstens@de.ibm.com, will.deacon@arm.com, mark.rutland@arm.com, hpa@zytor.com, torvalds@linux-foundation.org, linux-kernel@vger.kernel.org, tglx@linutronix.de, peterz@infradead.org In-Reply-To: <20190522132250.26499-19-mark.rutland@arm.com> References: <20190522132250.26499-19-mark.rutland@arm.com> To: linux-tip-commits@vger.kernel.org Subject: [tip:locking/core] locking/atomic, s390/pci: Remove redundant casts Git-Commit-ID: 6a6a9d5fb9f26d2c2127497f3a42adbeb5ccc2a4 X-Mailer: tip-git-log-daemon Robot-ID: Robot-Unsubscribe: Contact to get blacklisted from these emails MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset=UTF-8 Content-Disposition: inline X-Spam-Status: No, score=-2.4 required=5.0 tests=ALL_TRUSTED,BAYES_00, DATE_IN_FUTURE_96_Q,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF autolearn=no autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on terminus.zytor.com Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Commit-ID: 6a6a9d5fb9f26d2c2127497f3a42adbeb5ccc2a4 Gitweb: https://git.kernel.org/tip/6a6a9d5fb9f26d2c2127497f3a42adbeb5ccc2a4 Author: Mark Rutland AuthorDate: Wed, 22 May 2019 14:22:50 +0100 Committer: Ingo Molnar CommitDate: Mon, 3 Jun 2019 12:32:57 +0200 locking/atomic, s390/pci: Remove redundant casts Now that atomic64_read() returns s64 consistently, we don't need to explicitly cast its return value. Drop the redundant casts. Signed-off-by: Mark Rutland Signed-off-by: Peter Zijlstra (Intel) Cc: Heiko Carstens Cc: Linus Torvalds Cc: Peter Zijlstra Cc: Thomas Gleixner Cc: Will Deacon Cc: aou@eecs.berkeley.edu Cc: arnd@arndb.de Cc: bp@alien8.de Cc: catalin.marinas@arm.com Cc: davem@davemloft.net Cc: fenghua.yu@intel.com Cc: herbert@gondor.apana.org.au Cc: ink@jurassic.park.msu.ru Cc: jhogan@kernel.org Cc: linux@armlinux.org.uk Cc: mattst88@gmail.com Cc: mpe@ellerman.id.au Cc: palmer@sifive.com Cc: paul.burton@mips.com Cc: paulus@samba.org Cc: ralf@linux-mips.org Cc: rth@twiddle.net Cc: tony.luck@intel.com Cc: vgupta@synopsys.com Link: https://lkml.kernel.org/r/20190522132250.26499-19-mark.rutland@arm.com Signed-off-by: Ingo Molnar --- arch/s390/pci/pci_debug.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/s390/pci/pci_debug.c b/arch/s390/pci/pci_debug.c index 45eccf79e990..3408c0df3ebf 100644 --- a/arch/s390/pci/pci_debug.c +++ b/arch/s390/pci/pci_debug.c @@ -75,7 +75,7 @@ static void pci_sw_counter_show(struct seq_file *m) for (i = 0; i < ARRAY_SIZE(pci_sw_names); i++, counter++) seq_printf(m, "%26s:\t%llu\n", pci_sw_names[i], - (s64)atomic64_read(counter)); + atomic64_read(counter)); } static int pci_perf_show(struct seq_file *m, void *v)