Received: by 2002:a25:f815:0:0:0:0:0 with SMTP id u21csp1469219ybd; Sun, 23 Jun 2019 08:16:14 -0700 (PDT) X-Google-Smtp-Source: APXvYqw2XSVyJzH/3wwWcWFOLccY8wOTwMZvbLzoi0O7HW8T4DVJK2vPKyONTzHrLX1kijOho44M X-Received: by 2002:a17:90a:ad41:: with SMTP id w1mr19062784pjv.52.1561302973951; Sun, 23 Jun 2019 08:16:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1561302973; cv=none; d=google.com; s=arc-20160816; b=joMAdlyMhKLxFFpeRNIvnPExqSw3N5AVKWWz1VIO72zrqTLwv/g3t6I8Sd+MtyJkMf r12xWUHSPFl1Ol+Vm0hJ3n86SjT4XJ3+ku2p9/ABI5ofAnTGWUxxPiLg7CiAALzcxqxl qPaQSYq9K9nNyfgfVWWpNNUMr+dAUv7zTGdY18IM5pGVm3zrHn81pi3xxLXqE3y+jPqu b7iUZAU/oNQzhyyhE6XrYdFoh1/LwOFvoin77cyM0Jtw9oKcX1AtjoCFWufu7j7kEKQP XVTgYQLJ7fDKbY3k1ZabtJMGGKYeGtnzykaoHEqypviSGEF8hcXcZHZHRB/0zM0UUWuT cerg== 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:to:from:dkim-signature; bh=BY5QZaIeTLWKQM1WRccSODWu7bx9/tzUnh00J2x+e1s=; b=pajkRyu3RuaM19JXsd8N3lV6i7lIKylZv6ld0J61ZDAYLQO9NFwiGDsIRguRFJeAs+ iclKVOcYCGdxnuQseclFtXfhVr3YvUDLa93cJZhRx4jJRmCBJLZ8zzOwMkGT9j69b0KU SWBXalVTuE5Eb4XzKRa1yuz7gTE+J5X01qYiAEW6lu9hsDd1irCY1YYN9DDPs5NRXS1h LcgNuO72pU/FHjqnIVIEWpI9iggC5mMWS4dSFNIbPj3BcpK8mMPgiOS0j2N8izRAmvXq 73IoXmmR+J8W1CwRAIACTcmBUfSReX7xByforzhbLKmvfbiaPJsbzep9PJzeJWMZv5eT uWDw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=M5olsLDJ; 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 b13si8157491pfb.162.2019.06.23.08.15.58; Sun, 23 Jun 2019 08:16:13 -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=M5olsLDJ; 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 S1726809AbfFWPOv (ORCPT + 99 others); Sun, 23 Jun 2019 11:14:51 -0400 Received: from mail-pf1-f194.google.com ([209.85.210.194]:37409 "EHLO mail-pf1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726429AbfFWPOu (ORCPT ); Sun, 23 Jun 2019 11:14:50 -0400 Received: by mail-pf1-f194.google.com with SMTP id 19so6057830pfa.4; Sun, 23 Jun 2019 08:14:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:date:message-id:in-reply-to:references; bh=BY5QZaIeTLWKQM1WRccSODWu7bx9/tzUnh00J2x+e1s=; b=M5olsLDJoVv+l6GDqFZmV6Wt0aSRXkIkMDnPprXL1MnDVIBnTmgSiOeqKihC0qvOZ9 GpxMIh/I1NMTys+g0wXZZOh5rU/kOZHNGqSMcKKjde+tKCXp5BOz8ul+feRuSiETM+45 MXWXOcyjWHDvAMIV5CIL/JuDZPZOUdUSj1klrGbxX2PXBhwEEcKdPlZ9aFYx9TYCqeS8 zx4cplvfKIYwdh5BKnglybyVnWmEgmURRBj+9G/dYIjD8DAQhwasdNON+0aDQ6mSnsc0 7hN4uBqQ9fkbe1R8SBk+6ZiFhCapwrwI/3dpB2s0Q15V+FoKS3av7Yy2/EeUAtqv5cRq uSZQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references; bh=BY5QZaIeTLWKQM1WRccSODWu7bx9/tzUnh00J2x+e1s=; b=m6ACggvsIoGaOdSZpHp1xf6eM/WcuUayczcEbtd3Ulcxtfv1n9C4GjOZ2seaWHKlpx rXA9K1RF2var4DD8Dwim6kh8SHky7Xjq3lrsKdLlK6ovj3XGiFPHcmwn43zeZH4u1JZ7 VdSAMO/7juk4ZrSLcxisz4S8JM4FD4OHtNtoQyq+kKSOrpTXjrjTefs6h4maMKmOW/LM bU4YnDDwZwpTtxpvyVhuzhWVCewKVRrOwjEUJjdlHaQbSvm+p3yD8q0YTYPKlpfybgU+ cvts39HmJPOx/fiOFdd8Q2ArI+TPiNjh3XrZ8BngSjuWguymuceORVctSo1ijEOHJQk6 geNQ== X-Gm-Message-State: APjAAAXe2UZF7SB1quts0eg8lztPA6zZYWlyYsqv/9f8KeCjH/WazXCr rUQcA13LqrkFqMFSTKvcJ30= X-Received: by 2002:a63:f648:: with SMTP id u8mr28255062pgj.132.1561302889518; Sun, 23 Jun 2019 08:14:49 -0700 (PDT) Received: from debian.net.fpt ([1.55.47.94]) by smtp.gmail.com with ESMTPSA id p6sm8329194pgs.77.2019.06.23.08.14.38 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 23 Jun 2019 08:14:48 -0700 (PDT) From: Phong Tran To: mark.rutland@arm.com, kstewart@linuxfoundation.org, songliubraving@fb.com, andrew@lunn.ch, peterz@infradead.org, nsekhar@ti.com, ast@kernel.org, jolsa@redhat.com, netdev@vger.kernel.org, gerg@uclinux.org, lorenzo.pieralisi@arm.com, will@kernel.org, linux-samsung-soc@vger.kernel.org, daniel@iogearbox.net, tranmanphong@gmail.com, festevam@gmail.com, gregory.clement@bootlin.com, allison@lohutok.net, linux@armlinux.org.uk, krzk@kernel.org, haojian.zhuang@gmail.com, bgolaszewski@baylibre.com, tony@atomide.com, mingo@redhat.com, linux-imx@nxp.com, yhs@fb.com, sebastian.hesselbarth@gmail.com, illusionist.neo@gmail.com, jason@lakedaemon.net, liviu.dudau@arm.com, s.hauer@pengutronix.de, acme@kernel.org, lkundrak@v3.sk, robert.jarzmik@free.fr, dmg@turingmachine.org, swinslow@gmail.com, namhyung@kernel.org, tglx@linutronix.de, linux-omap@vger.kernel.org, alexander.sverdlin@gmail.com, linux-arm-kernel@lists.infradead.org, info@metux.net, gregkh@linuxfoundation.org, linux-kernel@vger.kernel.org, alexander.shishkin@linux.intel.com, hsweeten@visionengravers.com, kgene@kernel.org, kernel@pengutronix.de, sudeep.holla@arm.com, bpf@vger.kernel.org, shawnguo@kernel.org, kafai@fb.com, daniel@zonque.org Subject: [PATCH 04/15] ARM: exynos: cleanup cppcheck shifting error Date: Sun, 23 Jun 2019 22:13:02 +0700 Message-Id: <20190623151313.970-5-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 [arch/arm/mach-exynos/suspend.c:288]: (error) Shifting signed 32-bit value by 31 bits is undefined behaviour Signed-off-by: Phong Tran --- arch/arm/mach-exynos/suspend.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/mach-exynos/suspend.c b/arch/arm/mach-exynos/suspend.c index be122af0de8f..8b93d130f79c 100644 --- a/arch/arm/mach-exynos/suspend.c +++ b/arch/arm/mach-exynos/suspend.c @@ -285,7 +285,7 @@ static void exynos_pm_set_wakeup_mask(void) * Set wake-up mask registers * EXYNOS_EINT_WAKEUP_MASK is set by pinctrl driver in late suspend. */ - pmu_raw_writel(exynos_irqwake_intmask & ~(1 << 31), S5P_WAKEUP_MASK); + pmu_raw_writel(exynos_irqwake_intmask & ~(1U << 31), S5P_WAKEUP_MASK); } static void exynos_pm_enter_sleep_mode(void) -- 2.11.0