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 1ED0DC76195 for ; Tue, 28 Mar 2023 05:47:08 +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:MIME-Version:References: Message-ID:Subject:Cc: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=1VHCwmKz/JVn3YiSsJAP+HgVokblZZFOeBW7qSVbmn8=; b=jfBRBPQPIYqLGZ F71whDs8Ukt6A9IB/1Oqdqc7Lp6c7J3mWJ3SJCjUW8UL3bioeFYC0Hh14mMi79XNzP7xzPwDXxXa8 hm3W2efA48Dv5DkieOhGvrFXjRtSOgIHyWRAg2mTMkcq1ld+yUNeb5Z7QOtpVj1JG8T4G3BLZfPgi ySt5r6WPxFCfkP6DI+R0y7Yf47D11rSzcgd0DrJG5Fw8KcO3lP3dwl0JvV1kZbrHC37jVJDJQm0Cl t4+XqB0KNGLe6ocS8kZ7grbUzBjR8MhDOTsysXPH0L9Ub3vApA5TEXbXF7xJpy9MSaDkVY+smEXuH +jj0Gx2mLeiszb5gA0yQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1ph2A0-00DDLS-2x; Tue, 28 Mar 2023 05:46:20 +0000 Received: from muru.com ([72.249.23.125]) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1ph29x-00DDKq-2y for linux-arm-kernel@lists.infradead.org; Tue, 28 Mar 2023 05:46:18 +0000 Received: from localhost (localhost [127.0.0.1]) by muru.com (Postfix) with ESMTPS id 236008108; Tue, 28 Mar 2023 05:46:17 +0000 (UTC) Date: Tue, 28 Mar 2023 08:46:15 +0300 From: Tony Lindgren To: Kenneth Lee Cc: bcousson@baylibre.com, paul@pwsan.com, linux-omap@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH] ARM: OMAP2+: hwmod: Use kzalloc for allocating only one element Message-ID: <20230328054615.GM7501@atomide.com> References: <20220809072050.1733996-1-klee33@uw.edu> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20220809072050.1733996-1-klee33@uw.edu> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230327_224618_000327_5F0E9761 X-CRM114-Status: UNSURE ( 8.11 ) X-CRM114-Notice: Please train this message. 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 * Kenneth Lee [220809 10:14]: > Use kzalloc(...) rather than kcalloc(1, ...) because the number of > elements we are specifying in this case is 1, so kzalloc would > accomplish the same thing and we can simplify. Thanks applying into omap-for-v6.4/cleanup. Tony _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel