Message ID | 28b8f35c-bed7-564f-9519-6d08e9c4edf9@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 A8594602A0 for <patchwork-linux-arm@patchwork.kernel.org>; Mon, 2 Oct 2017 18:04:02 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 97EFB23794 for <patchwork-linux-arm@patchwork.kernel.org>; Mon, 2 Oct 2017 18:04:02 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 8C8A9288BC; Mon, 2 Oct 2017 18:04:02 +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=-4.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_MED 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 200A123794 for <patchwork-linux-arm@patchwork.kernel.org>; Mon, 2 Oct 2017 18:04:01 +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=bz5do8peblYep2PpB3oaLlxs+8v9NVHAsb9sQeyuhiY=; b=msJRnbTcew3gqK fRhDk0EKug05uNaYEOZUJ3m8oboSRfM28Z7BrTGeciR3zcXaFke0k7GTxT2n/qbMc1cLAaDtAxBl/ nG8tTjHWwH0zYwjAV9rgY9SSRvK+MaT/f5UqfHRVzKckbviJ4ALcrvRt1pUk1e2nyad100wPrNjYD +NCzQhMtGOb3o4nARDeDsDErqjne+SGEgFHDjvsD5ZQGaDzd5G7SCaft/Fg++J/bYZVpKWa9TI/3b xbd4R6vGeu2Q1Bh8XfasMUKS4T0gxOtT2/IJ3J6DCt6opv6nPOW7cGXuco3YyjdrauY95Rd3WXhZm yPdqcNKcVCoFEdvt3kNQ==; 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 1dz54O-0007k4-W8; Mon, 02 Oct 2017 18:03:57 +0000 Received: from mout.web.de ([217.72.192.78]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1dz54G-0007de-6h for linux-arm-kernel@lists.infradead.org; Mon, 02 Oct 2017 18:03:54 +0000 Received: from [192.168.1.3] ([77.182.170.85]) by smtp.web.de (mrweb101 [213.165.67.124]) with ESMTPSA (Nemesis) id 0MSJKJ-1ds5gb045b-00TQPd; Mon, 02 Oct 2017 20:03:26 +0200 Subject: [PATCH 5/6] ARM: s3c24xx: Improve a size determination in s3c2412_iotiming_get() From: SF Markus Elfring <elfring@users.sourceforge.net> To: linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, Krzysztof Kozlowski <krzk@kernel.org>, Kukjin Kim <kgene@kernel.org>, Russell King <linux@armlinux.org.uk> References: <d2ae00c8-da57-9ffc-3692-67ed6daa95e0@users.sourceforge.net> Message-ID: <28b8f35c-bed7-564f-9519-6d08e9c4edf9@users.sourceforge.net> Date: Mon, 2 Oct 2017 20:03:25 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.3.0 MIME-Version: 1.0 In-Reply-To: <d2ae00c8-da57-9ffc-3692-67ed6daa95e0@users.sourceforge.net> Content-Language: en-GB X-Provags-ID: V03:K0:tJiSqr5JgqwJ57QoCorUYjtRN2UNzQYHxPuoKJaQB645yGVDZqR eNYmSacymOt920ofOH2xvMnlkAtBBE0EJRhEk91BvL+MP6Q17SSOHjZuBMLMQLUDg0p7hbR eaFhGlMZHybT7S9EW07ePozBLDmx2Se0TA0fcji70kBax8/hF0fE1XDh7ptyN+1Ijhj3AuH U9FBdnAsOD9Q4ewaFx0dw== X-UI-Out-Filterresults: notjunk:1; V01:K0:mXZE8pNUYG8=:OPbusPwQGpHZbTFulCQyDu 4fesYWlN6glm6wchbN4XJzGnddn6PYWSvnpL8+8Ro19196ch/EK2g3u4wPiGT+dJ2lvBhKweq HlNdOgUTwKH4X5En+Uf4xbn8CQiZyxtGsqfotERdsDFjI6OXJX5S3Yd7qCQNzrSQ0PqO/YFbh dagu5mcdT2v7u0VcMKQQCo6RiFDYKXBPatOeWz5QujDp3bYV+bKLqRp18XoGrbrrcjaf3PLrE K7NtjSiZYCa2t0Gu8g55EKwzVBb4XA+wCIR9856+acNCQMw5C6saiQE6DHZGevK5XxWBjdYU0 dEUnRxiI0euTgGcnijyAiDlP1V84fJyeIsMl47wUIiQk7Rqct/MwW86F1Fpa0huEaMp5WjW89 gWzzWi43qfEB1bDyKxvSv3o2Ep+Qx0nYzBGUwG2dJOCnGaEWwb+1DtDdsJCF/H1zd2NfmzRrb z0NJU/3MYm0R+NQo6h6se9GvkDjNyz0jGmxF5drrDGufpF0I3Zl9XY7sAIsQ5VJJGh9NNJiYN AkTs6NhUELwSDBRFxBUxhDWJV+QWQbb6tk1zgD2E95IpK+PRlnsHWxwXJHR2rDJxFWPJOIPO0 kW+rI3WJ+jEN4d7yN144A6DmZWiZW7JGKUF69/LtH8SSKPwKlbNocvQn7GnpwL1sDCXhoUaXL t7smIu7aOtwkoEYNcyimwT2wzm02Vs9K1KIMo9bj7odLinTlNH+llpv9eJ9D1vIe9YTribugL DgSncDKDq/01E0fEpNWcHrWDe8ZhkknxsU0FfEVbG8gzIonAo6GDX7dXij2r448QUYRcSRYPe X4REik27P1+RWMH8LzH+y3xsDPqWxYKNJU3Q+VK0jdT+x3sHo0= X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20171002_110348_579564_F91F3129 X-CRM114-Status: UNSURE ( 9.17 ) 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-s3c24xx/iotiming-s3c2412.c b/arch/arm/mach-s3c24xx/iotiming-s3c2412.c index f09d5d5ea7ed..01bcd7d5dac7 100644 --- a/arch/arm/mach-s3c24xx/iotiming-s3c2412.c +++ b/arch/arm/mach-s3c24xx/iotiming-s3c2412.c @@ -242,7 +242,7 @@ int s3c2412_iotiming_get(struct s3c_cpufreq_config *cfg, if (!bank_is_io(bank, bankcfg)) continue; - bt = kzalloc(sizeof(struct s3c2412_iobank_timing), GFP_KERNEL); + bt = kzalloc(sizeof(*bt), GFP_KERNEL); if (!bt) return -ENOMEM;