From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-wm1-f46.google.com (mail-wm1-f46.google.com [209.85.128.46]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id D09B2362152 for ; Thu, 7 May 2026 08:33:03 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.46 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1778142787; cv=none; b=uhxtqASpl8XwOogMGNrRoO44z+Ou60ALcFdDXr7ueLHJsKGPwSkD9pptfxsOkmtf7xsJKHNgyMMIt2prpPbii/aRdOYyPaPuLYNK+Q3mGZzHghANF4vGWdnCqzR5vOl4L4D2RfC69K877VTQHuwZnNB0e75dvrZ3HZt6KzMFxaY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1778142787; c=relaxed/simple; bh=qcvqULrg1L127w3Mirj0n3N+6vWZ6Q9bK1d+khDDJxo=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=nkUBN2rsF+NSizCwYIUag977g3mjuD4hWMHyXK3Js8rDL+7dnHu2sGlzcTrPGxEjz67zuRKE6ZacSB5wBIj6Q1Yo2xT2wLrlfE4hQoTEbZbJ2Y96uzxNxoi8qJauNrHD4IJQrHxWOKVAzVqFNiaTG4j6opBDc6NyTQ9AfOws66s= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=RFlRHiz0; arc=none smtp.client-ip=209.85.128.46 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="RFlRHiz0" Received: by mail-wm1-f46.google.com with SMTP id 5b1f17b1804b1-4891c00e7aeso4519715e9.2 for ; Thu, 07 May 2026 01:33:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1778142782; x=1778747582; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=86qRkTYkeTPGUaExOcKsMIcF7KjnGIGTELhJaNsShJE=; b=RFlRHiz0xIR8BEf/KDhg3GsLONezsF92ljL6JIYuU1LCLE9jgDZ6niEgbIdEYIlUrf KM2UhAzE3ajNssSxlm9YE5wg6D8lpMFRGZ0EuNU4TuylA2u3FcWdn1WvjhTinIwdM5KM Yxl6oBagrgsIRlRgsNaKr3p6ytGyBFPxmBZs/iTk7sLHi4GKy/vPelNJ1hx+R54THio7 OaaF6fHWoKjVOQrPlSSgN7lZ3nQcE95HHe40tSZ9/XjEnPbwg6WnW09vGJFr+q5nULuh Cmy81hpSiKiDdyqFCbcnMwMrbS23V237yfBWmtPOO7xdSA4v6qOoWvgwUUQllMjcD+SN gYNw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1778142782; x=1778747582; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :x-gm-gg:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=86qRkTYkeTPGUaExOcKsMIcF7KjnGIGTELhJaNsShJE=; b=qgvMkKganOtFOuZPS2KeiOx5VbW2myfaQ+LYSzihGxAyp0AQVyT74QjyXSVowFci4P rwhRawYTB+Qqvuwxez3BvAD0SgSZtkkgDadfJnfFd1BlBwek0R0CHNfM5Lg70mvXfFha 2wywx46IW80ygZPY4WwW69WlJGXx0Rg5oiqS1QCVW0Z18o6f9xTBREW6Yip4NmS8ZkBS BV08Ri3ppb457zm5KBBsdOMb3Ls0FDwNMzG+sbC6LyZ+/o2adLZVpKezE77+rh3jkoAa 1Gsedxpaq1gpodgSS3WNyWSFtfl42sP4+u3jb/Lxp4WgkLB/pbrzwXUaC5fVpf4ylC3q NhYA== X-Forwarded-Encrypted: i=1; AFNElJ8IemsgdJz8q++ABKM7seXUvv/6DHpGMK8l8RSYZKctmzoz+KLh4B+VChGDEgNS8lcrB5ibpmDTOFcCPDc=@vger.kernel.org X-Gm-Message-State: AOJu0Yx1f88KTslqf3Mc80+qzpmRiQgGOSM7hzM1+dujkOIHQg3vMkOz q9hyAI8emoCKXMPPSfgQ26xaUpRtBOkuLcH6NZtTXmRT5q3XgHusxKzthpJbIK/DDRU= X-Gm-Gg: AeBDietVBo35SeaFMjaYqmDn5ugrnk/5TmrjuKCjAb5iZOdo6UVPN4MBv18ySOUbSW1 3K1Vq41ztthUPGABSJLazu2+8dCsu3lH1tO2UQ76EqwCwVg55jlyGxrgQ5dkaB5Nssf2NqpMsNG kCB7vrzfvCEImsiulS2wY0MSeUYyswd+BLgISRnXAiDajpzZzT4gnZWavWgof3OfEpGCk2taKMO aC67xtRETh75dVV8pZQktgA0s0dU9n4E7/7zgh/vUkzr1qg62cMnhqFf0uDIO5WE55Tk4aucUow RlbI3nV3WoK3qfByq4pkYyx2YGPNe5cp6B7g1b5pMMxc/lvijWBV4nZwStjv/dL73brL464z9H7 AfKFRU00TG6HvRoEAMEqMblAn8+es+iwQ9SYiLHMf9caFgulKE/VnEBnbqVDYDV7fgI3Wf2sKf+ 841mq7v+J+1lWY/c0Ag01bAAwGjn6ukjdki0vUQmawlnJlv9mgmKYrYA== X-Received: by 2002:a05:600c:a317:b0:488:a977:8d6 with SMTP id 5b1f17b1804b1-48e52bd4f32mr82461455e9.19.1778142781642; Thu, 07 May 2026 01:33:01 -0700 (PDT) Received: from [10.11.12.108] ([79.115.63.228]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-48e5390f854sm104780755e9.14.2026.05.07.01.32.56 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 07 May 2026 01:33:01 -0700 (PDT) Message-ID: <4c57b107-e1eb-4eef-ad77-021d9669900d@linaro.org> Date: Thu, 7 May 2026 11:32:53 +0300 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCHv2 0/3] clk: samsung: use kzalloc_flex To: Rosen Penev , linux-clk@vger.kernel.org Cc: Krzysztof Kozlowski , Sylwester Nawrocki , Chanwoo Choi , Alim Akhtar , Michael Turquette , Stephen Boyd , Brian Masney , Kees Cook , "Gustavo A. R. Silva" , "open list:SAMSUNG SOC CLOCK DRIVERS" , open list , open "list:KERNEL" HARDENING "(not" covered by other "areas):Keyword:b__counted_by(_le|_be)?b" References: <20260506233833.178357-1-rosenp@gmail.com> Content-Language: en-US From: Tudor Ambarus In-Reply-To: <20260506233833.178357-1-rosenp@gmail.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Hi! On 5/7/26 2:38 AM, Rosen Penev wrote: > Switch three structs to flexible array members to combine allocations. > What's changed in v2? Cheers, ta > Rosen Penev (3): > v2: fix compilation and reword descriptions > clk: samsung: use kzalloc_flex > clk: samsung: cpu: use kzalloc_flex > clk: samsung: pll: use kzalloc_flex > > drivers/clk/samsung/clk-cpu.c | 34 +++++++++------------ > drivers/clk/samsung/clk-pll.c | 56 ++++++++++++++++------------------- > drivers/clk/samsung/clk.c | 11 +++---- > drivers/clk/samsung/clk.h | 2 +- > 4 files changed, 47 insertions(+), 56 deletions(-) >