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 F34FDC77B61 for ; Tue, 25 Apr 2023 12:52:31 +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: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=gSbNd9KdNpbnOZeqvExg5bEwr+loIhaK2/QdHMS9Lcs=; b=X3mffqOyXodreI 7OYFQRuUfUNW6nLsPIunVKIvFv+JVTCkpNwUJJA77ucUUnAwVtw1kvvY7v/K2D4gp8uAp2Tp5mbYc i6NLmZ949wrALGgIuWj/6MCzOS6yiJiIYe7+LCtUicaFkukyhKfpsuGdjHjcbKoquZ0IFZGkHct+8 lMZpAFzh6ejsIS0F5fdacYVLfe+b+VEa2vOeTjgtJ2j+iP6yYrM9zlGQ8FRVcx/nwVpGLxUnksmVl FzHs4r4nU6WMfX/Ig8356MCmh6gSozReet3ddWy7yBvJG7/aKHjPt/XD0b8xzGiVu9JnUWYII9yyM QyE3QVoUl5dVSpzelVTg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1prI93-0018FN-2L; Tue, 25 Apr 2023 12:51:45 +0000 Received: from foss.arm.com ([217.140.110.172]) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1prI90-0018E8-2V for linux-arm-kernel@lists.infradead.org; Tue, 25 Apr 2023 12:51:44 +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 7E1934B3; Tue, 25 Apr 2023 05:52:20 -0700 (PDT) Received: from [192.168.1.3] (unknown [172.31.20.19]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id E5B7F3F64C; Tue, 25 Apr 2023 05:51:33 -0700 (PDT) Message-ID: <108babe4-20cb-e637-e7da-7d04127d2a9e@arm.com> Date: Tue, 25 Apr 2023 13:51:31 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.9.0 Subject: Re: [PATCH v3 0/4] devres: Provide krealloc_array Content-Language: en-US To: Greg Kroah-Hartman Cc: Jonathan Corbet , Jean Delvare , Anand Ashok Dumbre , Jonathan Cameron , Lars-Peter Clausen , Michal Simek , Andy Gross , Bjorn Andersson , Konrad Dybcio , Jiri Slaby , linux-doc@vger.kernel.org, linux-hwmon@vger.kernel.org, linux-iio@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-arm-msm@vger.kernel.org, linux-serial@vger.kernel.org, linux-kernel@vger.kernel.org, linux@roeck-us.net, michal.simek@amd.com, Jonathan.Cameron@huawei.com, andriy.shevchenko@linux.intel.com References: <20230320145710.1120469-1-james.clark@arm.com> From: James Clark In-Reply-To: <20230320145710.1120469-1-james.clark@arm.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230425_055142_883595_5AEE0083 X-CRM114-Status: GOOD ( 16.48 ) 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 20/03/2023 14:57, James Clark wrote: > Changes since v2: > > * Remove change in qcom_geni_serial.c in the last commmit and replace > it with a comment instead > * Whitespace fix > > Changes since v1: > > * Style fix > > ----------------------- > > Hi, > > I had a use for a devm realloc_array in a separate change, so I've > added one and updated all the obvious existing uses of it that I could > find. This is basically a copy paste of the one in slab.h > > Applies to v6.3-rc3 > > Thanks > James > > James Clark (4): > devres: Provide krealloc_array > hwmon: pmbus: Use devm_krealloc_array > iio: adc: Use devm_krealloc_array > serial: qcom_geni: Comment use of devm_krealloc rather than > devm_krealloc_array > > .../driver-api/driver-model/devres.rst | 1 + > drivers/hwmon/pmbus/pmbus_core.c | 6 +++--- > drivers/iio/adc/xilinx-ams.c | 9 +++------ > drivers/iio/adc/xilinx-xadc-core.c | 17 +++++++---------- > drivers/tty/serial/qcom_geni_serial.c | 5 +++++ > include/linux/device.h | 11 +++++++++++ > 6 files changed, 30 insertions(+), 19 deletions(-) > Hi Greg, Is it possible to take this one? Or at least the first commit? Thanks James _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel