Received: by 2002:ab2:6309:0:b0:1fb:d597:ff75 with SMTP id s9csp1319838lqt; Fri, 7 Jun 2024 14:58:14 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWFqSeYQnQPRgirch1IT7QMRiKQi3H23o4ulzkwT5+bxOKiqj52/1Un+sfjRAqEL9gUdUlngHvTirGV5ehr0/39mT6atz4yc51yGn+XKw== X-Google-Smtp-Source: AGHT+IFk+7lial1D28j2K1Y0dP+neNlhvJ1YN7hi2iaXr4iqpDH9JFpaONKpVkHwV288B4CQPVwX X-Received: by 2002:a05:6a20:431e:b0:1af:db2d:d36b with SMTP id adf61e73a8af0-1b2f97d6f35mr4095230637.15.1717797494706; Fri, 07 Jun 2024 14:58:14 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717797494; cv=pass; d=google.com; s=arc-20160816; b=Nd0u2gXB65ft0peOt1S0kr8scveQDwRXX+y0E86h+GDfr/+WBEA5/rFLKTLBcYXFi7 do+HkIrmn/bnmtagIdpjEIbv8fx7pq25AjBteUh7vT8TmyOufbv4fZCaRlf6hX+iOMjf oyEmQkIHa2PX7BUZSHX8zot6FiI2XVBjji9xfEz7s3loRR0hB7T0gsBcv3MBW5besy83 ke6Svxz1ctxTTL1Uq7PItdmYB0pZDI/r1o0Lp8TNGxu4NOw10TOhI6NnD/6w7CXdbpfY RfcbmQDSz1Skjz9FiMrIJ6ffyxNZyGe33XA76rnZLMx3JHxWYW+1ENVkwX0plFj9MrM0 LVOg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:subject :references:in-reply-to:cc:to:from:dkim-signature; bh=ztXutx+ukKayc7d0GUFPZr0m8UmGQmQvphHOWPiA3IQ=; fh=wBAxiQ9hyhSSGhabzaXPLY2oCATZE/vS8Es8Z/Bus2o=; b=vKX2qhOj1BaJ5+pvDXp9MuHiLtDxfRz9dANAlPZ64bhjxqxkYIWZCHhwf4wLhogQRs UiQHkMssEUAkD6poD3hIaapv60XOJjVrp61all2vutGGwDsCQxntoWdPweqpdVi3r5Ob hzKa4ekRoZFJbCig9ISb0xyWu4MMHL4yrWbivmpIuBEYqdvBCsk3+l85Mot0bytJFaRP afFxjTez3V3eU1Jeq/QVpBDU/zTyJBw91tNRml1bJd+23IcuZfoOqqPPF6ARP6Bfa7+A 1LJCBbrDjwwL0P6QTd4T5a5HZjhyLHwgK7CHUAFtm1SkVV4LEXepDW/Wz+hTFjB0QoBB vHjg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=nG+nkk5W; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-206789-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-206789-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id d2e1a72fcca58-703fd578077si596114b3a.367.2024.06.07.14.58.14 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 07 Jun 2024 14:58:14 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-206789-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=nG+nkk5W; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-206789-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-206789-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id E56DE286AC2 for ; Fri, 7 Jun 2024 21:58:13 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id E3067155390; Fri, 7 Jun 2024 21:58:09 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="nG+nkk5W" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 17FA644C8C for ; Fri, 7 Jun 2024 21:58:08 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717797489; cv=none; b=Qa/h6vMjlfyT31s5V7CDeiXiNJwegiToKBzmtu/DMdd3WDv9SCmbOm0GdnPzVWVr0Sy414aROnxWk81d6NxjW2xyglAhdLoCFpQLFDuHq4rXKaQBrzGIukewBeTh+8iOtA1UpHWdLiM6rvqLRl0mvNCy7enI4jPXatiWsut8YAw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717797489; c=relaxed/simple; bh=yPc/mjrMxj7RsK5QqW45Eask2P+8u1DO9R3moqOcCKg=; h=From:To:Cc:In-Reply-To:References:Subject:Message-Id:Date: MIME-Version:Content-Type; b=KmgmtMTJoRi/LEMHAB670lAEj0taIQ2JpRT20p75uQlzpHzlHSJxrwKCTX0MFiuHwmHui4xPUx+V6TJg2TOAGK4x/HxzV1Q3B+1/tj7HJdakB6aEn+M7Blh4feEeC/X8BsTlkaSAAzEiUKQo64f3N3YsVrqrCai9VWS8JE2dzg0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=nG+nkk5W; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id C3639C2BBFC; Fri, 7 Jun 2024 21:58:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1717797488; bh=yPc/mjrMxj7RsK5QqW45Eask2P+8u1DO9R3moqOcCKg=; h=From:To:Cc:In-Reply-To:References:Subject:Date:From; b=nG+nkk5Wm7UH9q91x2OrhEZQSV7HxrqUrZ7g6g1yzKKALB4XQpyHvMPwpGOtY04E0 whjcNV2bGDW7wriaFcQGWzLnQbLY2PhUAA3su9XJgTqH5QPZFEpT/F+u6yKG7STux9 8muaWFTK/wVtIluAJa4jYbAFeUb/Z0ux61HYMhug9bOrIqMUQPEp0BQ7zJoc19a3WU kizpynpQMRBlbLOOpussiI0uLYgEkbfLOjJ3h5mYgLhqZOj4i9suitYEHlIKCRXCQD z7AHsNOBj+4K47pIMjBR+kzPnt2K+OkQFURAf4G5IbXpUdqzROKPaxe9puaTwKi9xz O4YEfW3jxlv6Q== From: Mark Brown To: linux-kernel@vger.kernel.org, Andy Shevchenko Cc: Greg Kroah-Hartman , "Rafael J. Wysocki" In-Reply-To: <20240606164717.3031107-1-andriy.shevchenko@linux.intel.com> References: <20240606164717.3031107-1-andriy.shevchenko@linux.intel.com> Subject: Re: [PATCH v1 0/4] regmap: Switch to use kmemdup_array() Message-Id: <171779748729.90702.10518297985774954502.b4-ty@kernel.org> Date: Fri, 07 Jun 2024 22:58:07 +0100 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-Mailer: b4 0.14-dev-4c370 On Thu, 06 Jun 2024 19:46:21 +0300, Andy Shevchenko wrote: > Replace open coded kmemdup_array(), which does an additional > overflow check. > > While at it, fix one minor issue in regcache.c. > > Andy Shevchenko (4): > regmap: Switch to use kmemdup_array() > regmap: cache: Use correct type of the rb_for_each() parameter > regmap: cache: Switch to use kmemdup_array() > regmap: maple: Switch to use kmemdup_array() > > [...] Applied to https://git.kernel.org/pub/scm/linux/kernel/git/broonie/regmap.git for-next Thanks! [1/4] regmap: Switch to use kmemdup_array() commit: 540c53d158d947db1249614d47437c660ba0b959 [2/4] regmap: cache: Use correct type of the rb_for_each() parameter commit: 354662dc66f264b26c3e094162e0fad8715d009f [3/4] regmap: cache: Switch to use kmemdup_array() commit: f755d6955338bc704168629f70b380658a4918df [4/4] regmap: maple: Switch to use kmemdup_array() commit: bce843065804f770ac469d32a3d455b9a997b55f All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Linus during the next merge window (or sooner if it is a bug fix), however if problems are discovered then the patch may be dropped or reverted. You may get further e-mails resulting from automated or manual testing and review of the tree, please engage with people reporting problems and send followup patches addressing any issues that are reported if needed. If any updates are required or you are submitting further changes they should be sent as incremental updates against current git, existing patches will not be replaced. Please add any relevant lists and maintainers to the CCs when replying to this mail. Thanks, Mark