Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp472195rwd; Thu, 1 Jun 2023 02:52:27 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6nauDfqJqdsly1ETonz1lQRSQtik/xSeLQPPXYf9XJYUGbM0+eV+XjpCLe/n2uPX3Esjlg X-Received: by 2002:a05:6a20:4322:b0:10b:bf2d:71bb with SMTP id h34-20020a056a20432200b0010bbf2d71bbmr1506453pzk.27.1685613146910; Thu, 01 Jun 2023 02:52:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685613146; cv=none; d=google.com; s=arc-20160816; b=KQ5j6BccI38Xx8r8pAnrayIw4P+gF2n/E39EamXekoc/e7QiCk/Ht3LEHyUDtewjZx BrmGl3zsBRZf7l3IHhRSCcGjC8tLflYVFPLf3iN34UB8tGFQA8gnT9MUesw9MUXZPwab 8EdPDQv5JosJT9qLfA8c2wf6NNa7WsLVV4DqFwfx/fTMLS4DOO2UHccOT7jucTVcyzun vASKBF8LQLUQZNV2DoupPTmZc9br/bsLtth4U0PMx1PF/znH0egxNWBHPmbGMOy4BezP 8myEYguyVajayhm2CgTR02pYJMTCG+bcTIgpbP5I/V7kxYG40re5xylLPtAuDoh4wyR7 IFfQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=WOubeLNcl3u7Vf49/+JWRV5Kne9E0VEU3olrP+dwfho=; b=b9L00MA+xt7lPLrBDWI+q7b7I0EVZxBxRAlhKQ4Zh7rMv8Od71mOCiVlbFB8+WmpIb zXdSYHdyLOW8LWpd3DS4Uud2kAp4Afqnnt7I6wijUQrU8lD5JaCA/HAt50CVCepwrMX5 8wZewAhttJEJMcOsTKzq8ryPvNKFHxH7uxo2ePkTGRgtCRjHWhyhPdHqaUOsk2FBlXpX aGYcVdodXkRP7JSH/dordxb/jJRhsG5gtcrt/hVjuTpxioljnTMcmD58dt9Haiz35RdL O8b8LdVjZCcj9BOUkY7U4svErGkIJfjHAVoGV/9TNEvVW7gwjwMbtG3zA8hYFoQ+7jd/ JaQg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=ClM6HpOC; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id h10-20020aa796ca000000b0064d2cca82b1si5261645pfq.48.2023.06.01.02.52.15; Thu, 01 Jun 2023 02:52:26 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=ClM6HpOC; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232273AbjFAJdn (ORCPT + 99 others); Thu, 1 Jun 2023 05:33:43 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49898 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231969AbjFAJdm (ORCPT ); Thu, 1 Jun 2023 05:33:42 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AAB69AA for ; Thu, 1 Jun 2023 02:33:41 -0700 (PDT) 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 3D5C264290 for ; 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-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <46bb773c-31a8-c57a-0cde-39c27d0a6e36@arm.com> X-Spam-Status: No, score=-4.6 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.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