Received: by 2002:a05:7412:a986:b0:f9:90c9:de9f with SMTP id o6csp32695rdh; Wed, 20 Dec 2023 13:31:51 -0800 (PST) X-Google-Smtp-Source: AGHT+IElRmGtPxoBF0mzi6WgyQJeqTieD5WS16TTikNETSucuxxsKqf4Lu/V/InpliCvRkLn0hB6 X-Received: by 2002:a37:e110:0:b0:780:d8fa:ed09 with SMTP id c16-20020a37e110000000b00780d8faed09mr9183625qkm.1.1703107911750; Wed, 20 Dec 2023 13:31:51 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1703107911; cv=none; d=google.com; s=arc-20160816; b=0MMjv16JlRsI+V8FhzOSHD6kuLvGvCHIOYbFrk04FBi8+mFq32mCQbrj5Yju20efRL zo4VByoQDPWKG/1HaatgmL1RzcCTW7PraIg3OmGDWRH5b3na+upE6JUGPFhHmoU43YXK GHgtruwF6ZMzmmUEA+POEOWHOj857VwPmWoFP5LdZiMDXMBVgQJ1cm5/TF5eAxE0wZo3 1qv7mXXUe1kRIMbfBxHwlWAWFLriaDWq3/0cmWEPtAcE8h1YduFj0BmYRLAVUo3S2Z5r /oK/kB2HrwUs0TB/PEiWFQopdp2RFOLrPmNCI4HXYFABfnr8IGSTyzqS77ssEJGi+bq3 6dQA== ARC-Message-Signature: i=1; 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=SLATMwYOMCm5C5R1zzklqlNRMKobHuTHtqGAuSxdBE4=; fh=LcU/KjNkevGuzMJ7J9LCJtWUJu6fJ03d/BPnyBdISQA=; b=yNvjprJbpR5behh8wnkRIDSHC3xT5viL03pPlaZx3cVodTGuufw7YWvet42+OVtsMK KCD80wBF1smkqO4aJKCCZBKQJ5KhsKMuIFFDVhYHU8Rl/XR/EEwQq6AjqnEbjQvBNzek U5uLaw1+N/Op3yoy5UvedV4gbK3QafaNJidtYwBfB+ExJLoVTDwUWKvlgp1mqWRfpgEn JVM+u6O3JuxPJ7f/lqaBgF1hQx9K8LBymgIeOfYcG5qm62cXHQbkuTTFqZ+pCiaOLAyq Q1rPLGTFsVQhQZpzXcS7NxHNpkHgC4NAQon8oudW2vaXWrP6COiuEm8L7X9wcUmYI6IO fqwA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=INDbM8uU; spf=pass (google.com: domain of linux-kernel+bounces-7452-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-7452-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. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id x18-20020ae9f812000000b0078110391407si584030qkh.20.2023.12.20.13.31.51 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 20 Dec 2023 13:31:51 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-7452-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=INDbM8uU; spf=pass (google.com: domain of linux-kernel+bounces-7452-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-7452-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 7EA011C21FAD for ; Wed, 20 Dec 2023 21:31:51 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id EAF8A495CE; Wed, 20 Dec 2023 21:31:44 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="INDbM8uU" X-Original-To: linux-kernel@vger.kernel.org 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) 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