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 22910C77B7A for ; Thu, 1 Jun 2023 09:34:07 +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-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=R6UMPUuL/H4H1DJOYrAOtjXLG5R9TwFtfAhqrcRTplw=; b=E2dfmkUMWDSuWG +2gCBsTl1aWZXDmIjUpIlRTBMJ5LitKN6yGbLPOWf9kvw5aO89ckOLYcpi57CYYypWmZwQ6ovVWJT YAw+SFPn7RLF675R+twx86RuaNRQbwmuSzxhueIaCLa6snIBZVLgSE9i3bj7PtxcZCBHKMfjy4QnB C2VBWnO18bYJuR7tkw3ilfH7AIWoy/dGI4Tsqgz5e+qd+mt2ygm+icwK9uXI1P0gC1ocBE9AcOv7p wxvJ4QwXSoVYJgcgz8D7vM53TzE1KGVW7DELZpyRfEFmSPsw7KOEjq5nLAGvb/jK8WM4U7XVET+Ba wcYbScwxU0fD3XeX3YCA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1q4egj-002k6E-2m; Thu, 01 Jun 2023 09:33:45 +0000 Received: from dfw.source.kernel.org ([139.178.84.217]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1q4egh-002k5g-15 for linux-arm-kernel@lists.infradead.org; Thu, 01 Jun 2023 09:33:44 +0000 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 37DC56427F; Thu, 1 Jun 2023 09:33:41 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 528C2C433D2; Thu, 1 Jun 2023 09:33:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1685612020; bh=FbISwwZyQ9hntnqdSS4jFuij2bzfWzgJBzsrXpq9if8=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=ClM6HpOCQMQpDcY/EjiV5L0IggnjCll0g9DiKNZJvX+F+05qUjYoQ8tZ6v0QQHx7+ JOB1bwM3FScJ/J6OBAZ5Uyp76kpGy0GXYIE4ibOyWulMgqsU101qeIU4SGw+va9kHQ MFq/B7mFgfwi9JxXxL6Fl0LcOWClRM+bHiDccA7c= Date: Thu, 1 Jun 2023 10:33:38 +0100 From: Greg KH To: Suzuki K Poulose Cc: James Clark , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Coresight ML Subject: Re: [PATCH v4 1/4] devres: Provide krealloc_array Message-ID: <2023060104-removal-map-b194@gregkh> 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> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <46bb773c-31a8-c57a-0cde-39c27d0a6e36@arm.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230601_023343_414832_62B778F6 X-CRM114-Status: GOOD ( 27.55 ) 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-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org 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 k-h _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel