Received: by 2002:a25:f815:0:0:0:0:0 with SMTP id u21csp2488176ybd; Mon, 24 Jun 2019 07:17:51 -0700 (PDT) X-Google-Smtp-Source: APXvYqzmhFNtguMX+RKbLBGHn1ZsLNYvLCiCDKPrmNIw5qJCEynO3QI/tEElm/mlMBVq4INDvLde X-Received: by 2002:a17:902:4c:: with SMTP id 70mr24468842pla.308.1561385871001; Mon, 24 Jun 2019 07:17:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1561385870; cv=none; d=google.com; s=arc-20160816; b=OKvo4RCkydsXl2M0Rgp4H8uiZho88xEYhc2pD5TDTX1C1QoY4/bfOeQMXMcJfyGZ7z JT8PU8oCsbbFLMDBx74q9I7uhvw/fvaxRG3M4Rt3femfLTbMCNP2tB5G1PBTQ8RNICyB Dk1VsO17ZEO5/mIBL6lSGJ8z8p0gyuiS1YXvteeD5M5psWzDV77EFkvNli3t8X2P4gSO u5jGJwm/Ke564MfasgFS9MnuIpBky9f3S3fklIiizp+eaAutu12Cy2DBxEuKy41chrhx ShK0lhdBaZj3uDnFd0/IvDbdnXI0ewFt66e/WgAH6bbU0aFSJL0iHfgG9+LUjw34Pums J9nA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature; bh=bS9CCVyWEuckL8u69D81nqeXtcKIqj0WvuL/deztfxA=; b=osk/eUu/wqyVcWE+9Z5bq+vS+I++FXOhF+8zS1jUtx3MbUdx5D4szepbHkigwLUryT j0QWreUzuddMixKIc6g6z1c26g8n2BWZgGvfJK0+h5Osa1RKO7ujwJEI/W7pZnLUl7Dx O9AXt+8rrDva9EFf4cdsTqIgJOUafc0CMNlXfyd3X6JbTzYdzvVuuNievlwjd6F5h9x7 GLKsm5AvVE3QFVFKZnhkw5T69l1d4j8ChacFY69Wy25VAIp6yzAtKZ8peOm4nMZyX/eo iOEOewj59dLSUNiDcIoB4+30JO7Msz4OlcOtdRiCbW8IItn6ZkFOmJfonZjX1P2gpUCE kjig== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=STUm1cxN; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id a25si11262774pfo.234.2019.06.24.07.17.35; Mon, 24 Jun 2019 07:17:50 -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=@gmail.com header.s=20161025 header.b=STUm1cxN; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731406AbfFXNv0 (ORCPT + 99 others); Mon, 24 Jun 2019 09:51:26 -0400 Received: from mail-pg1-f195.google.com ([209.85.215.195]:35213 "EHLO mail-pg1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729897AbfFXNvZ (ORCPT ); Mon, 24 Jun 2019 09:51:25 -0400 Received: by mail-pg1-f195.google.com with SMTP id s27so7173432pgl.2; Mon, 24 Jun 2019 06:51:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=bS9CCVyWEuckL8u69D81nqeXtcKIqj0WvuL/deztfxA=; b=STUm1cxNJnae+2FI43yRQ5HEaTHSxK+bvkN9usO4qrn43dFIhPBq6Zu+2c7psdHdX1 KZoN7g46UrRZAXePlZuPqYLitdh2jKse2p2UqTO1y8j7GCrRi5wdvmI8fFwG7uMZD0gj k2jfWnUdZ3MViAPx3kbunnPoRSFiS98WDozGItYv4pDJzAP+9clJwLibluvCzHX8eWrq 0aHtW71fHq5Amft72c7T8rxO4bZyngVRf0RoeGBOxpylMM5H/+nvS/xwX3gE9DYpI2im nE9ZqTB4Hp47etlWvriLWtVGUK+tuMxQdhEFVrDZjdwn26GNylio3yIv6pY6kmxC9C28 HsvQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=bS9CCVyWEuckL8u69D81nqeXtcKIqj0WvuL/deztfxA=; b=ZQFW4xGrG6W6Y9VrZRzYDolpF/QDzn0fCdTFFzAznPHaXmWhcY2xZbd5IWODAk59yz y0wEPyGLDerx7oqDQgTBI7gPtrC96P55OZNwtfTe8aCD+gr0+GvpSf8OuTgjZiFQVBa2 LGndZdWRZCNf6P3itdRrojsaZMxEnrncCTbufG4xrKntKjOXszylk0k5LkJJ3eN7D+6Q APbbx6niZ+pYvM03tYBi9FbbILhkigIvf/BbqcO0RUG8PKRny4K4oC6khvGY805/THgT 1RNQ1sgAdrkGH0/sg0uPGPTwqi3wkXugNnhLClCyq+czdZiNfNxVeoUFPNRanhSgdKw+ 3yMg== X-Gm-Message-State: APjAAAUXW6vXqQ+eQ6YAb8mgQQOGOupL14IXMG4f3303xOMdbC0RAYiM gBNDW5fPMOFrBN+feSGgCi8= X-Received: by 2002:a17:90a:af8e:: with SMTP id w14mr25480941pjq.89.1561384284784; Mon, 24 Jun 2019 06:51:24 -0700 (PDT) Received: from debian.net.fpt ([58.187.168.105]) by smtp.gmail.com with ESMTPSA id 85sm11187901pgb.52.2019.06.24.06.51.14 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 24 Jun 2019 06:51:23 -0700 (PDT) From: Phong Tran To: tranmanphong@gmail.com Cc: acme@kernel.org, alexander.shishkin@linux.intel.com, alexander.sverdlin@gmail.com, allison@lohutok.net, andrew@lunn.ch, ast@kernel.org, bgolaszewski@baylibre.com, bpf@vger.kernel.org, daniel@iogearbox.net, daniel@zonque.org, dmg@turingmachine.org, festevam@gmail.com, gerg@uclinux.org, gregkh@linuxfoundation.org, gregory.clement@bootlin.com, haojian.zhuang@gmail.com, hsweeten@visionengravers.com, illusionist.neo@gmail.com, info@metux.net, jason@lakedaemon.net, jolsa@redhat.com, kafai@fb.com, kernel@pengutronix.de, kgene@kernel.org, krzk@kernel.org, kstewart@linuxfoundation.org, linux-arm-kernel@lists.infradead.org, linux-imx@nxp.com, linux-kernel@vger.kernel.org, linux-omap@vger.kernel.org, linux-samsung-soc@vger.kernel.org, linux@armlinux.org.uk, liviu.dudau@arm.com, lkundrak@v3.sk, lorenzo.pieralisi@arm.com, mark.rutland@arm.com, mingo@redhat.com, namhyung@kernel.org, netdev@vger.kernel.org, nsekhar@ti.com, peterz@infradead.org, robert.jarzmik@free.fr, s.hauer@pengutronix.de, sebastian.hesselbarth@gmail.com, shawnguo@kernel.org, songliubraving@fb.com, sudeep.holla@arm.com, swinslow@gmail.com, tglx@linutronix.de, tony@atomide.com, will@kernel.org, yhs@fb.com Subject: [PATCH V2 00/15] cleanup cppcheck signed shifting errors Date: Mon, 24 Jun 2019 20:50:50 +0700 Message-Id: <20190624135105.15579-1-tranmanphong@gmail.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20190623151313.970-1-tranmanphong@gmail.com> References: <20190623151313.970-1-tranmanphong@gmail.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org There are errors with cppcheck "Shifting signed 32-bit value by 31 bits is undefined behaviour errors" This is just a mirror changing. V2: Using BIT() macro instead of (1UL << nr) Phong Tran (15): arm: perf: cleanup cppcheck shifting error ARM: davinci: cleanup cppcheck shifting errors ARM: ep93xx: cleanup cppcheck shifting errors ARM: exynos: cleanup cppcheck shifting error ARM: footbridge: cleanup cppcheck shifting error ARM: imx: cleanup cppcheck shifting errors ARM: ks8695: cleanup cppcheck shifting error ARM: mmp: cleanup cppcheck shifting errors ARM: omap2: cleanup cppcheck shifting error ARM: orion5x: cleanup cppcheck shifting errors ARM: pxa: cleanup cppcheck shifting errors ARM: vexpress: cleanup cppcheck shifting error ARM: mm: cleanup cppcheck shifting errors ARM: bpf: cleanup cppcheck shifting error ARM: vfp: cleanup cppcheck shifting errors arch/arm/kernel/perf_event_v7.c | 6 +- arch/arm/mach-davinci/ddr2.h | 6 +- arch/arm/mach-ep93xx/soc.h | 132 ++++++++++++++++++------------------- arch/arm/mach-exynos/suspend.c | 2 +- arch/arm/mach-footbridge/dc21285.c | 2 +- arch/arm/mach-imx/iomux-mx3.h | 64 +++++++++--------- arch/arm/mach-ks8695/regs-pci.h | 4 +- arch/arm/mach-mmp/pm-mmp2.h | 40 +++++------ arch/arm/mach-mmp/pm-pxa910.h | 76 ++++++++++----------- arch/arm/mach-omap2/powerdomain.c | 2 +- arch/arm/mach-orion5x/pci.c | 8 +-- arch/arm/mach-pxa/irq.c | 4 +- arch/arm/mach-vexpress/spc.c | 12 ++-- arch/arm/mm/fault.h | 6 +- arch/arm/net/bpf_jit_32.c | 2 +- arch/arm/vfp/vfpinstr.h | 8 +-- 16 files changed, 187 insertions(+), 187 deletions(-) -- 2.11.0