From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-14.7 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING, SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 8D6AEC4338F for ; Mon, 2 Aug 2021 15:02:53 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 695AA610A8 for ; Mon, 2 Aug 2021 15:02:53 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234651AbhHBPDA (ORCPT ); Mon, 2 Aug 2021 11:03:00 -0400 Received: from mail.kernel.org ([198.145.29.99]:57446 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234313AbhHBPC7 (ORCPT ); Mon, 2 Aug 2021 11:02:59 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 83DFD61057; Mon, 2 Aug 2021 15:02:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1627916570; bh=x3384DuzlBVuP/rse1XT/S2qDVugvuYeETtPdlo4z7c=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=ZOrMd+UOqrEjzH1W/uk/Y9mS+4IH9lD2YecCDp5i+VXA4jE+K0INS3ce2r2uSdoa6 IYwXDKLkwQ5u1OBcYn9nWsFOTIKF/7MM2HjEK03QgazigQC95acL9T5PscO80rSaw3 8JN+ZuWwwUoufHHpYZr+/w/WkQAlGHBJgOVPMv5cjlgAxErOCGR0R5G2pJE6IoXUdr fRswaKCqIFSdMRnENh3dN8F59PHUBVSWh/h58QXVn1xPXO7NUMfb7WOuAmwUNBig8O 8W3aGFPoQG7c3s+m/8y6U9S2lGK3UIsIYns9eNTza/Ueotp4pfE4FHe3mMkV2hsIsE XEGzCXONCa+NQ== From: Mark Brown To: Greg Kroah-Hartman , Icenowy Zheng , "Rafael J . Wysocki" Cc: Mark Brown , linux-kernel@vger.kernel.org Subject: Re: [PATCH] regmap: allow const array for {devm_,}regmap_field_bulk_alloc reg_fields Date: Mon, 2 Aug 2021 16:02:32 +0100 Message-Id: <162791623913.28098.17676239882362578796.b4-ty@kernel.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20210802063741.76301-1-icenowy@sipeed.com> References: <20210802063741.76301-1-icenowy@sipeed.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 2 Aug 2021 14:37:41 +0800, Icenowy Zheng wrote: > The reg_fields array fed to {devm_}regmap_field_bulk_alloc is currently > not const, which is not correct on semantics (the functions shouldn't > change reg_field contents) and prevents pre-defined const reg_field > array to be used. > > As the implementation of this function doesn't change the content of it, > just add const to its prototype. Applied to https://git.kernel.org/pub/scm/linux/kernel/git/broonie/regmap.git for-next Thanks! [1/1] regmap: allow const array for {devm_,}regmap_field_bulk_alloc reg_fields commit: 29c34975c9391d3ad1fd5dd3c92ba0d41afe9549 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