Message ID | b83f5bc2-c6a2-a53e-5dec-33e31f9addeb@users.sourceforge.net (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org> Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 6F4EF60360 for <patchwork-linux-arm@patchwork.kernel.org>; Sat, 3 Jun 2017 18:30:41 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 693C028475 for <patchwork-linux-arm@patchwork.kernel.org>; Sat, 3 Jun 2017 18:30:41 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 5DB7728557; Sat, 3 Jun 2017 18:30:41 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id E7C3728475 for <patchwork-linux-arm@patchwork.kernel.org>; Sat, 3 Jun 2017 18:30:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.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:Date: Message-ID:References:To:From:Subject:Reply-To:Content-ID:Content-Description :Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=5cLJSznHYsJhNn8F2SxzGNuR8grPlQ+ZA0Szq4IlYzs=; b=G2vQoViGBCQP8x gzOlafP9K1BK2xS6xFccbkJDBegyRAj4FJNcR5qfvuLggkQLyJJrZ3Snx27ZrR/VSoGRJCQyesMsa rzmIc8ymh5nhJz18G/0wGBR1LUaxhDQEaClps1eYmfNjzTAX3RZoCoMMvq9JlQ+rxYy58pYrUvqx+ NiF/Ke3miR1vo6s5hJAd9q312S/rr42k/y6ZOyIvNvMLOvptcckZX8hMdMyavMXKgq4ndVj06dJOr MiBWfN09A5Q0zIqWVSZ11AXEYi00IJxW7wlkBRESWQxVXAkcGMSkqlmU+D/Ztq9jV6eAaVD2Y62th FDO6c3/Va6rUlXNDajuQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1dHDou-0007He-0V; Sat, 03 Jun 2017 18:30:40 +0000 Received: from mout.web.de ([212.227.15.4]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1dHDor-0007Eh-0V for linux-arm-kernel@lists.infradead.org; Sat, 03 Jun 2017 18:30:38 +0000 Received: from [192.168.1.2] ([77.182.192.46]) by smtp.web.de (mrweb001 [213.165.67.108]) with ESMTPSA (Nemesis) id 0MfqSa-1dVbxj0Tn2-00N6DR; Sat, 03 Jun 2017 20:30:15 +0200 Subject: [PATCH 4/9] ARM: OMAP2+: McBSP: Improve a size determination in omap_init_mcbsp() From: SF Markus Elfring <elfring@users.sourceforge.net> To: linux-omap@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Russell King <linux@armlinux.org.uk>, Tony Lindgren <tony@atomide.com> References: <e9d44aa5-9208-9ff3-46ec-cd58ac3f4696@users.sourceforge.net> Message-ID: <b83f5bc2-c6a2-a53e-5dec-33e31f9addeb@users.sourceforge.net> Date: Sat, 3 Jun 2017 20:30:14 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.1.1 MIME-Version: 1.0 In-Reply-To: <e9d44aa5-9208-9ff3-46ec-cd58ac3f4696@users.sourceforge.net> Content-Language: en-GB X-Provags-ID: V03:K0:U1NswYFQ6QUjKzHaN4JWh7PmchlBTdCo59xiXpE3RpYy4AZgxzt gSkHoQaVjWEg01Vfaj1J7bJd4Xxfxx8ZyODLDabWp8WBoT0EVIDwLFJXHoull+ABaMPi9NR A7Fysg3PVUbOwP5x/vgMzv8ufr2x4DsKMj+B6hI8sdCDtxAC5xBN94aZrXZJpvs2oSuJ3uq LvLPSjBRPm49veO4nVRSA== X-UI-Out-Filterresults: notjunk:1; V01:K0:bA4RON935uM=:JrG+T9I1/cWzijxctLtp4x BFHf/ChbWOeeVyCkh94AtgTpOvXf5IcdUMeqM9ihv+2YWTj+l2KyqVLdhFSazNFd+DNKZggyu uIfgEzOr8WLZHEs2Apw2mN4ynR8s8umURN7Nqj30s/dEJUl4WD8ZoGIv+EaDqxbspjzZ7g+SB rOm0mwdzi4PA/cDkS9S9LscSxFIrXbe810E9pK+MJEimmIVTjw14uNCdxKEg2xECf1wKofpFF Ldkhp2v6CAWTVCS6daiJAUdUx1zEhYdTHto8ES5/2T0Lr32eW2gR8RAqNYCA6yO7wZ3ptHflT YdpJVXmdN0Kflbh30FXFebP2DFqX3MZwbqd+cjVB/RRBpKuGmAQKk5qqsyAYaDq8bw2jbhMXz 0KyGSuylWB2lk1JfrB7i1CQVaRp4I3UBmPGtUPXAQHrjKtOk1t6K0loFLd3huAgV3/Bee6d0k a4fDmI6B5Ae20mgQsYX0i5ixvE91fTUpkEyYUtxnEE1jRFdjX5UZsMWEIpl49K2G8xgDgM6yz K7d8iM6ZBVjI+OV+KvbNs8D5ODjXaTQr49/jJqQmDXC2iHC20j6eRgR165O5icpeep/ECcKZj luWumLkPZZzUjXR0IAFw/Vq3eIotjV2dXBJfSLfno+HXjcC2KIWrfCkDaCqkrpP/PZPkCxWsj QVrk5JGM3RKEV8hWQtqGIyztSQ0uUQBCdbk6kiqL08Kiv9lo40/kuPEZ8rOdeLuaL5YH2MPEC x69ljkkePCU1f68K6aLWleeX7eEaMbSjFDlM6/mr04Iw4paJnXkRXyu7gtNsLi32U1J2UApEm e3UuxcW X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170603_113037_392345_8CFF900B X-CRM114-Status: UNSURE ( 8.54 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: <linux-arm-kernel.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-arm-kernel/> List-Post: <mailto:linux-arm-kernel@lists.infradead.org> List-Help: <mailto:linux-arm-kernel-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe> Cc: kernel-janitors@vger.kernel.org, LKML <linux-kernel@vger.kernel.org> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" <linux-arm-kernel-bounces@lists.infradead.org> Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP |
diff --git a/arch/arm/mach-omap2/mcbsp.c b/arch/arm/mach-omap2/mcbsp.c index 53c4a30e2963..408793d14fc5 100644 --- a/arch/arm/mach-omap2/mcbsp.c +++ b/arch/arm/mach-omap2/mcbsp.c @@ -66,3 +66,3 @@ static int __init omap_init_mcbsp(struct omap_hwmod *oh, void *unused) - pdata = kzalloc(sizeof(struct omap_mcbsp_platform_data), GFP_KERNEL); + pdata = kzalloc(sizeof(*pdata), GFP_KERNEL); if (!pdata) {