From mboxrd@z Thu Jan 1 00:00:00 1970 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 1DCF4495C1 for ; Wed, 20 Dec 2023 21:31:43 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="INDbM8uU" Received: by smtp.kernel.org (Postfix) with ESMTPSA id E8407C433C7; Wed, 20 Dec 2023 21:31:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1703107903; bh=zR4NINfPxeA9HZvGqCRax+FlzhwX67Hcckuywh0bgBQ=; h=From:To:Cc:In-Reply-To:References:Subject:Date:From; b=INDbM8uUW8n6fw1LVIMWoIq/iOyDxHOXQo4mTLVdtx14NqQalFNWwPRQCEyCQSuza LWhi3P9pFDjqbhkDCam1Lf+UX9/Y+3P9iSyRmfn2KRJlkbyJu85gR/SQwZKW+NIofL ODs2RDIkDm4uJuhHgw24a/D4PIUOQ7I2UU+IO9r9CJeoHBmJB9JnrB6gUmdqqwtXyF los3SmfOaWOtXDpRMWpSrlkkzd28xJt+x0ZmLdZXhmcjlW0c4MGKzat3aVel2YIPyz VL9+PUOQMw99Amta5VkUl4SAftSQEUmzhT86s1CWvSz8c6gg45txXD/am8dnqz1z3S P0Ijg39qxBHyw== From: Mark Brown To: Dmitry Antipov Cc: Greg Kroah-Hartman , linux-kernel@vger.kernel.org In-Reply-To: <20231220175829.533700-1-dmantipov@yandex.ru> References: <20231220175829.533700-1-dmantipov@yandex.ru> Subject: Re: [PATCH] regmap: fix kcalloc() arguments order Message-Id: <170310790265.23118.8891770750138347096.b4-ty@kernel.org> Date: Wed, 20 Dec 2023 21:31:42 +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-5c066 On Wed, 20 Dec 2023 20:58:19 +0300, Dmitry Antipov wrote: > When compiling with gcc version 14.0.0 20231220 (experimental) > and W=1, I've noticed a bunch of four similar warnings like: > > drivers/base/regmap/regmap-ram.c: In function '__regmap_init_ram': > drivers/base/regmap/regmap-ram.c:68:37: warning: 'kcalloc' sizes specified with > 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] > 68 | data->read = kcalloc(sizeof(bool), config->max_register + 1, > | ^~~~ > > [...] Applied to https://git.kernel.org/pub/scm/linux/kernel/git/broonie/regmap.git for-next Thanks! [1/1] regmap: fix kcalloc() arguments order commit: 3b201c9af7c0cad2e8311d96c0c1b399606c70fa 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