Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp6933301rwr; Tue, 25 Apr 2023 06:06:27 -0700 (PDT) X-Google-Smtp-Source: AKy350Zqg1p0VX5SPM9Cfb8TU3ydRwMYx7nP85SySjuOeFqDTQLhXT59d/INgFbf5YiT2t8+TmB1 X-Received: by 2002:a25:ad1e:0:b0:b8f:c99:9cab with SMTP id y30-20020a25ad1e000000b00b8f0c999cabmr12247755ybi.51.1682427987123; Tue, 25 Apr 2023 06:06:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1682427987; cv=none; d=google.com; s=arc-20160816; b=omb83wmUFfMQfyozivfsGESUuKWqKANIzUz77ntm23Lf4UG3yJkrJHCRfrctctgv3t wDOmAS753E6bC4F/Kt31ILMD4bGGqFH7zr5PzXrRf4l0YyQ52urBETcVQHM2WYwCFuko t5whTBTRaZJdd5v9F/4Nl5ecf4GRxtWrxYjhr2n7lgCicCGAVrtT/Ee+yOs5xdU1v4pd F0YJaGrKWm92Lb0DwC3rLjE0FmAin/JoBU8ff5j0gqw4FTdIZiofOs6fCCdw9Q98Cta6 B+6sCRUuE6UGprzH4uVXbDQ/uN36lnOn5/IpihsYy2XMmv5tXIC7xRuqJNq0YIfzIZ0z AkGg== 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=0HktgYFWq2qJRacXJlnSpXKRhQ8os67ltgfE73Wja9w=; b=jY93LnFPnsKbJnUvjiv50iKDsGDfWk8tJh06IdG3Yzj+i2YOMgLcTqBCWYzYAq8CrN CjdA59HR/hmiNjlN6zGJqNII4vhDPM1Pdrgq8Nj6S4XPETLC7wr/MMpzukn1jceDrGo2 +IzuKCHk9t7mOhJWDjatWVsHNq0dTwy1SJlz9Lz9lity/4fktftE2CKivXfg+vgJwckD crsYdzEDclPO5GqO1jT/L6UQyJTY4cnN+xR4h3KbdFpOA//nyTp6OxeCXzzkP8OzFZoe W9Av8713vJs2JWxmzm8Rh/JxMP+XytqVm9m6YBWpMuR0pcUAqoH7qLaUau2+mJpHsGzf R8IA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=KtEhLdOB; 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 187-20020a2514c4000000b00b95431c6c6bsi9667719ybu.101.2023.04.25.06.06.05; Tue, 25 Apr 2023 06:06:27 -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=KtEhLdOB; 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 S233628AbjDYNAb (ORCPT + 99 others); Tue, 25 Apr 2023 09:00:31 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33422 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233952AbjDYNA1 (ORCPT ); Tue, 25 Apr 2023 09:00:27 -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 C3E7313C30; Tue, 25 Apr 2023 06:00:26 -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 6850260D56; Tue, 25 Apr 2023 13:00:26 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 3F8F6C43442; Tue, 25 Apr 2023 13:00:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1682427625; bh=XO4S6eeVuuK3+SDKORRmedfITWuDoW1zGPNl7NOvUEI=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=KtEhLdOBnurJeUJQrhRpFGl4Tgyhno3iPi3QkHG0mf7kYqcYUz0XDHj8NVORHsFjx cuawNStCPmhSv7qK6pr/mI1oQYw3t77Gy8g73tMUvgf+I7J3Ae+s/tqokcG2PBgBgy RODcFuC1A27hV1/r7wFxS6rcI72EY/QIEr7eXUNQ= Date: Tue, 25 Apr 2023 15:00:22 +0200 From: Greg Kroah-Hartman To: James Clark 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 Subject: Re: [PATCH v3 0/4] devres: Provide krealloc_array Message-ID: References: <20230320145710.1120469-1-james.clark@arm.com> <108babe4-20cb-e637-e7da-7d04127d2a9e@arm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <108babe4-20cb-e637-e7da-7d04127d2a9e@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,URIBL_BLOCKED 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 Tue, Apr 25, 2023 at 01:51:31PM +0100, James Clark wrote: > > > 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? It's the middle of the merge window, no one can take anything new, sorry. Please wait for -rc1 to come out and then resend. thanks, greg k-h