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 X-Spam-Level: X-Spam-Status: No, score=-4.0 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id A8538C388F7 for ; Wed, 28 Oct 2020 05:57:15 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 4C273223AB for ; Wed, 28 Oct 2020 05:57:15 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="3bD7/o/I"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=kernel.org header.i=@kernel.org header.b="klApAEC0" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 4C273223AB Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References:Message-ID: Subject:To:From:Date:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=SC1y338wrFC+8ZmLd80nz6teVO8KVssfMtq7CxwQaZQ=; b=3bD7/o/IphJ/tWbQOu+Vjhou6 h6F7UxcAE0Np7UmuIQZJ36Zgdpm7bpnjWrP1CF5UDpL/fczjKzCPVXl9SYMj0fyechdXZRqIckfir WrfVueC8F5R3XYZ0nLnSC68XxlQsIg3aTcdWFIc9FxKIA13rC6WQWkVaaLxypqYORk4rFn3NfZR71 Mk5TRjgY6mrc90iB8rCnaGomrdxfLWbjKtV/SsBwfacCtTPmABnwMLh97kWFyOSHFmxzf9ciRMcx4 qDK3506vguimKtRTa2CrJ15cWlZfzojhyjDFVYR3bW4rowR8O8OO/bBwDj3FWilpphjc2ZwWV2HTz pG4pjQykQ==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kXeS0-0002OF-T4; Wed, 28 Oct 2020 05:56:48 +0000 Received: from mail.kernel.org ([198.145.29.99]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kXeRy-0002NX-C6 for linux-arm-kernel@lists.infradead.org; Wed, 28 Oct 2020 05:56:47 +0000 Received: from localhost (unknown [122.171.163.58]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id B757C2231B; Wed, 28 Oct 2020 05:56:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1603864605; bh=XPg4SEeqKrCMXwqHCp6LcifvhrM3ld8XV/RL6baPbrg=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=klApAEC0oKB+qer/j+opIGAlfrANR7UnFTZbrStUDvw5/vDWKWc46c1tpgOZz+b1a ogq1U35gUn+VEg9fpSAn5LCcOzrYMd7p35XBpFA4jGby1v1NG+63Dng3vUExRDJgrz aOxmXwc6EK46dOTK+Z8TrrXka3GBW5iVVaKAis28= Date: Wed, 28 Oct 2020 11:26:41 +0530 From: Vinod Koul To: "Gustavo A. R. Silva" Subject: Re: [PATCH][next] dmaengine: stm32-mdma: Use struct_size() in kzalloc() Message-ID: <20201028055641.GI3550@vkoul-mobl> References: <20201008141828.GA20325@embeddedor> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20201008141828.GA20325@embeddedor> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20201028_015646_495339_B5D0C132 X-CRM114-Status: UNSURE ( 8.58 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Alexandre Torgue , linux-kernel@vger.kernel.org, linux-hardening@vger.kernel.org, Maxime Coquelin , dmaengine@vger.kernel.org, Dan Williams , linux-stm32@st-md-mailman.stormreply.com, linux-arm-kernel@lists.infradead.org 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 08-10-20, 09:18, Gustavo A. R. Silva wrote: > Make use of the new struct_size() helper instead of the offsetof() idiom. Applied, thanks -- ~Vinod _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel