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 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 4FE01C77B7E for ; Thu, 1 Jun 2023 09:53:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:Content-Type: Content-Transfer-Encoding:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:In-Reply-To:From:References:Cc:To:Subject: MIME-Version:Date:Message-ID:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=0k7y9RG1FhJxelesos4Vk5GFS27cCy1cR/Yrr6AU/RY=; b=A/jWjJ/E1LJOmG AQ4u2UAHeDpNZCOa0WHSqKNkU7v52AAsm6mOhkTGLYimrAfGH9FPX8E6WBEFsjs1rWsyCTl9+YfNk Sksnqexc0qykXL/wwVDnzTE9vvriLnQKSCshGpDfoDQyCW2OOP7bShPjfdk8/Lg9MMm8oxZ+KkGD7 BeGdMvByozlezDvDCAeZyqw0ch1IlhGddot0fsNUvFP/SFXhRTR26pDNli9o/sp69MVmGFSHDHFK9 nJ1yFq/PkCXkg06EDSOkv4EkSSBi84pho8/4im7FVZ+4MTx0IT5jaBxcFRyDN2M2W7FL/lUBglxLX PfD9O8Jw3s+W1KV4u1ug==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1q4ezU-002nTm-2q; Thu, 01 Jun 2023 09:53:08 +0000 Received: from foss.arm.com ([217.140.110.172]) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1q4ezS-002nS2-01 for linux-arm-kernel@lists.infradead.org; Thu, 01 Jun 2023 09:53:07 +0000 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id E6972169C; Thu, 1 Jun 2023 02:53:46 -0700 (PDT) Received: from [10.57.22.124] (unknown [10.57.22.124]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id C3A5A3F663; Thu, 1 Jun 2023 02:53:00 -0700 (PDT) Message-ID: Date: Thu, 1 Jun 2023 10:52:59 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Thunderbird/102.11.1 Subject: Re: [PATCH v4 1/4] devres: Provide krealloc_array To: Greg KH Cc: James Clark , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Coresight ML References: <20230509094942.396150-1-james.clark@arm.com> <20230509094942.396150-2-james.clark@arm.com> <2023051340-sinuous-darkroom-2497@gregkh> <89ad5070-db72-7bf1-5d86-a89fea54e789@arm.com> <2023051530-immunize-pony-49ef@gregkh> <46bb773c-31a8-c57a-0cde-39c27d0a6e36@arm.com> <2023060104-removal-map-b194@gregkh> From: Suzuki K Poulose In-Reply-To: <2023060104-removal-map-b194@gregkh> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230601_025306_088107_FE407651 X-CRM114-Status: GOOD ( 19.04 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On 01/06/2023 10:33, Greg KH wrote: > On Wed, May 31, 2023 at 11:44:55PM +0100, Suzuki K Poulose wrote: >> (Removed irrelevant recipients), +Cc: coresight ml >> >> Hi Greg, >> >> On 15/05/2023 12:55, Greg KH wrote: >>> On Mon, May 15, 2023 at 08:55:33AM +0100, James Clark wrote: >>>> >>>> >>>> On 13/05/2023 12:04, Greg KH wrote: >>>>> On Tue, May 09, 2023 at 10:49:38AM +0100, James Clark wrote: >>>>>> There is no krealloc_array equivalent in devres. Users would have to >>>>>> do their own multiplication overflow check so provide one. >>>>>> >>>>>> Reviewed-by: Jonathan Cameron >>>>>> Signed-off-by: James Clark >>>>>> --- >>>>>> Documentation/driver-api/driver-model/devres.rst | 1 + >>>>>> include/linux/device.h | 11 +++++++++++ >>>>>> 2 files changed, 12 insertions(+) >> >> ... >> >>>> Maybe something could be done with some macro magic, but it would >>>> probably end up being worse than just copying them and would affect the >>>> real ones as well. So yeah I can't think of any easy gains either. >>> >>> Ok, that's good. Given a lack of objections from others, I'll just take >>> this through my driver core tree in a few days. >> >> Apologies for hijacking the thread. We have a series for CoreSight[1] >> that depends on this series, which I see that, is queued in your >> driver-core-next. >> >> I would like to queue [1] for the next version (as there are other >> work that depend on this, e.g., [2]). Do you have any >> recommendations/comments on the proposal ? Are you able to share a >> stable branch which can be merged to coresight/next and queue the >> series ontop ? (PS: I haven't queued anything for coresight/next yet). > > You can pull from my driver-core-next branch just fine and assume it > will be stable. So just pull in that one commit and all should be good > in the future. Thanks Greg, I will give it a go Suzuki > > thanks, > > greg k-h _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel