Received: by 2002:a05:7412:d1aa:b0:fc:a2b0:25d7 with SMTP id ba42csp1228013rdb; Tue, 30 Jan 2024 11:39:16 -0800 (PST) X-Google-Smtp-Source: AGHT+IGY5BRzP7qtVbiZXf3ld12JIO0C1Zb7NspsGyP1DyrDI3RC6l5Oa8s/gjdnZFEYMu1TksQV X-Received: by 2002:a0c:f3cb:0:b0:68c:5a3b:330f with SMTP id f11-20020a0cf3cb000000b0068c5a3b330fmr2567093qvm.0.1706643556468; Tue, 30 Jan 2024 11:39:16 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706643556; cv=pass; d=google.com; s=arc-20160816; b=xjNBbBxkqa/20ytiofORmN4AdFaDdNl+WtWAazluRHKhWQG5V6ZFlGn7OJq9P0pwMZ ZQ5eOYorj0Vb40Mp/MyvNeePsIXD1VMYIv4AJgShYmpAX3+NxnVvrtBkQaROyuGIHhUO Oz30+SOMW/Uy8cbU8Wk4yWn74YerTran8x8Lb/4cxTiTW3l5s4FBYyrgcZiwBj8xd4Ug /he0yLRIpQfScXMOdaet8Qe05z4WV/8kMg7e/I74SbdaGjV1J0LkMDP9Z3rUpLLsNKg3 5mqAJ92hC1vRmrC6TUm1eBf49HcnJ/xt0y1aKjB4RdcV+nZ5H2S/lauk8uocRFncDoT3 9s8w== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:subject :references:in-reply-to:cc:to:from:dkim-signature; bh=PdaXAHkeoOr+2st1th5Dwf37/tYopJASqO82t0myg7E=; fh=7Di1OThv0RIOF58d3hv2Lk2TnuUA/WPTfOs+8kU6U48=; b=Of+9EldqHmBr1pJL/NXCg39lhLBZmUeEiiN458czUCrfLoXHuEbX1d4/6QvA238l1L 20AwjCSIimGLByDmW9zs5lUGwegpTqUN6yxDLJUmUqt/sr2K6fljn2Bknyx9aE8SPsVW p+Bo1LT5o5l96O2pP4ML1x7iJYJFRbZxMyzmk3noftdykn8HWi6GBGwFAQVZ7dC+Egf+ YZUDXxgitEuV6k5iLV2bdzma0MpUulSYopLgHDxaASaOfLDNxmeNlFW2DhOBh0DosPIt 08XGGIKYzN7p7Jipdw3qONs0zGccS+niVkiqiYRfi9LHsnZxgRFrzHluOT5wj9ORSNrS XepQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=eKBCFOwA; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-45211-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-45211-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id h2-20020a0562140da200b00683c7a006bcsi10825336qvh.376.2024.01.30.11.39.16 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 30 Jan 2024 11:39:16 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-45211-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=eKBCFOwA; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-45211-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-45211-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 3AD051C24EF3 for ; Tue, 30 Jan 2024 19:39:16 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 55FAF383BA; Tue, 30 Jan 2024 19:39:01 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="eKBCFOwA" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 7744D64CE9; Tue, 30 Jan 2024 19:39:00 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706643540; cv=none; b=Om2Z+8+S0t2rSlOpNhfj3rXwA9FLwx8fZFhXqUxAxeNDZ7UlNRhlo4aC6nigm/exh426yxg7T8gocrCycf8ip/rKDuqRxXYgjJc21x+kkcG0Niz3HFIS3T7dyZxvMZuvFCL7brFw9C88lKzkanMi1DeixWJa1lKDR2ixM5An7Lo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706643540; c=relaxed/simple; bh=eNOi/RYquLuTBNkdWDnsEHK6yj1AwsBSWULSmaTaQfM=; h=From:To:Cc:In-Reply-To:References:Subject:Message-Id:Date: MIME-Version:Content-Type; b=oCvNPIg8GJz4qMvL8upa/gCAuJ8hkRdxo1JnsEfg3ao911TnrpuS+KpAv9cnd8Fgzwo3iVkjpRzb/nFMvSVoi1uhIjAa2c3qAlQevPG+xkITnlJYaPGXxilwzO+5zQaSet4Kl386fXiVEBXqobcKtP8YGZm+DqAgDUfDClHjesc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=eKBCFOwA; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 10E8BC433C7; Tue, 30 Jan 2024 19:38:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1706643539; bh=eNOi/RYquLuTBNkdWDnsEHK6yj1AwsBSWULSmaTaQfM=; h=From:To:Cc:In-Reply-To:References:Subject:Date:From; b=eKBCFOwAX3y+OFAJBgd3vkHmTnvVujB8N8RFdLLPBGaOu1NB7EhiTFyqzgk3gG03Z KO3USKZ6h7dRBUSpQOgkHFk2l4ctmSN+4xSoh93L8Hb8jGMj5FTYuFntTaPZCPR/+t 2JiMPfw8GE+Jo+wrkjLz2Jw17ZzQqXP8NMHhbbY9HarDHKsjVXmXMv1N3Z63BQyCLx uUUjWVjeOvWeKCPM8SdPeIgSH9U6RRqnbt//biofK4usb/JwTXfFijHIcbH5eQCPXj 5m35k6vyqhAlo+tqpM93d1JIZmBDxRoncJ8Uv6ubnxQNrrYZ7+dE6CehoUSPsHjQGT rt1AGA6BcMPwA== From: Mark Brown To: linux-renesas-soc@vger.kernel.org, Wolfram Sang Cc: linux-spi@vger.kernel.org, linux-kernel@vger.kernel.org In-Reply-To: <20240130094053.10672-1-wsa+renesas@sang-engineering.com> References: <20240130094053.10672-1-wsa+renesas@sang-engineering.com> Subject: Re: [PATCH] spi: sh-msiof: avoid integer overflow in constants Message-Id: <170664353878.52280.1228459435232323428.b4-ty@kernel.org> Date: Tue, 30 Jan 2024 19:38:58 +0000 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-Mailer: b4 0.13-dev-a684c On Tue, 30 Jan 2024 10:40:53 +0100, Wolfram Sang wrote: > cppcheck rightfully warned: > > drivers/spi/spi-sh-msiof.c:792:28: warning: Signed integer overflow for expression '7<<29'. [integerOverflow] > sh_msiof_write(p, SIFCTR, SIFCTR_TFWM_1 | SIFCTR_RFWM_1); > > Applied to https://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git for-next Thanks! [1/1] spi: sh-msiof: avoid integer overflow in constants commit: 6500ad28fd5d67d5ca0fee9da73c463090842440 All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Linus during the next merge window (or sooner if it is a bug fix), however if problems are discovered then the patch may be dropped or reverted. You may get further e-mails resulting from automated or manual testing and review of the tree, please engage with people reporting problems and send followup patches addressing any issues that are reported if needed. If any updates are required or you are submitting further changes they should be sent as incremental updates against current git, existing patches will not be replaced. Please add any relevant lists and maintainers to the CCs when replying to this mail. Thanks, Mark