Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp1577305rwd; Wed, 31 May 2023 16:21:23 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7OjT4Qob3/eAvD0Oeh4OHXQ1Y1b51jfXUChFNqHMJ3yZ/OQqVPi+5CelfksKihoNk7O8dw X-Received: by 2002:a05:6808:615:b0:38d:eb54:7ccf with SMTP id y21-20020a056808061500b0038deb547ccfmr5592550oih.23.1685575282974; Wed, 31 May 2023 16:21:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685575282; cv=none; d=google.com; s=arc-20160816; b=vvKhuStZF9SFYLogDyN+KIKaEsK1BttEfoPWilxvjhGrrPhQQtzRuTSbIb8d5/fp58 8LlEH5bO4GciboCqhC1ScrquTib5cnmbmIf9jFHr8mpEoc1NDm6/4uXxc00WBEd+RGzc 4V8bu3E+mi/REIaUZwtmWvXa5xixY44Dnw3rHni8OxeLHGACwMbuePOF1jtVBhvJBBmw 8FUopMTXwpi+aVvH5GsQWJHzUpJ8XEkWZXUKD/oK8sMDinTuzsq90Ap+PdVnQa0qcQSu cG1GII+BhqY8TpF5ipG0FMcFe/MNNKyp6maN4aE5JKR56xLCLKA+Y3z5HToe2AN2lZYa DjkA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:references :cc:to:from:subject:user-agent:mime-version:date:message-id; bh=xSaRYOmv4LLNYx+w1mRFEjWdEAxIAOTXgp85vwktfU8=; b=U2p2txLQp8VByWTe4M+d7yzse+BF1qIlCMMz4PhfM+vngpAhnfAR+JEgLU+8d0SXCm yXu4Mn/WhnLAB9aCIoqtdJI4iXDmxV52sgyywGG+wnzxUj0AlEtA6Anfz/9kez8RJg8W iHlIOALgUT4QC11ALtsqGzv3LXznugeS5EWI/gPX+SmMuj5L+11Eb9PGiZmxoiNTtKCr EKaezcsi7SIUHHMCoiSgzdlml58/GiXZ2au3kFI7+5XOAmQjkDc1FCKpgWO6qWYeo61Y GAMRjd1QGsif3SB3ytSO4e9nCT+AtLuLg3oi/KdYM7dH+XZWHI4+7rFjMzlOpAi06Lg8 uSCw== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id iz1-20020a170902ef8100b001a9b29b6763si1676185plb.399.2023.05.31.16.20.54; Wed, 31 May 2023 16:21:22 -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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230233AbjEaWr2 (ORCPT + 99 others); Wed, 31 May 2023 18:47:28 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55126 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230177AbjEaWr1 (ORCPT ); Wed, 31 May 2023 18:47:27 -0400 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id E4C1A189 for ; Wed, 31 May 2023 15:47:20 -0700 (PDT) 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 148961063; Wed, 31 May 2023 15:48:06 -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 E62523F7D8; Wed, 31 May 2023 15:47:19 -0700 (PDT) Message-ID: <7fc93591-53a8-3c62-4dbe-c187adaa3b5d@arm.com> Date: Wed, 31 May 2023 23:47:18 +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 From: Suzuki K Poulose To: Greg KH , James Clark Cc: 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> In-Reply-To: <46bb773c-31a8-c57a-0cde-39c27d0a6e36@arm.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-4.3 required=5.0 tests=BAYES_00,NICE_REPLY_A, RCVD_IN_DNSWL_MED,SPF_HELO_NONE,SPF_NONE,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 Hi Greg, Links updated to the series. On 31/05/2023 23:44, 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). [1] https://lkml.kernel.org/r/20230425143542.2305069-1-james.clark@arm.com [2] https://lkml.kernel.org/r/1682586037-25973-1-git-send-email-quic_taozha@quicinc.com Suzuki