Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934831AbeAIS10 (ORCPT + 1 other); Tue, 9 Jan 2018 13:27:26 -0500 Received: from mout.web.de ([212.227.15.4]:53828 "EHLO mout.web.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753210AbeAIS1Y (ORCPT ); Tue, 9 Jan 2018 13:27:24 -0500 To: kernel-janitors@vger.kernel.org, Arnd Bergmann , Greg Kroah-Hartman Cc: LKML From: SF Markus Elfring Subject: [PATCH 0/5] misc-PTI: Adjustments for some function implementations Message-ID: Date: Tue, 9 Jan 2018 19:27:21 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.5.2 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Language: en-GB Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K0:6vAJeJtBGlbXcKVVXhhpMBQ8Z7muZ/kJCMmRVAbrWOg0DVc2DRG AvbkpqOVSX5cu1QTIXac4AJNIFBUhLuQZ5UTDYRDcld40fBoJ+pyoB20+uwGcrhZt/+G/14 X6SGjXUkoFOKE6nNidg1R6MpU5MyRx94QrFUEN0fiOxpE1YBbyewUz9BLJsrRoCKshDdmZB X7F1veD93d7F+KvGFADog== X-UI-Out-Filterresults: notjunk:1;V01:K0:WbIr1sf/GNo=:y6H62ATk9cB/+GCXihRRuk 5qcET9OVk4V8QZDr7i3jv885TrTV8t6JPK8tz6c73Dkn+vdzh4ligNpuVFO0OOKvxlrxKQC8v 2P0xOVxQUxjeKqUUc1cNLB4uqIoEKvfqd+nGPZp+RYO0dBKVdoGHcJGvIl1CDSseZslOgUhp3 azvZ1+ve1BqblbdkQT8+/CLj48eZT2NLEyDf7c/KUzuSZwM/yybdd0CYhqidOgqt8VPmeVNNE 6NQ0g+hpLB60MpSL6IiLhlXFqNVgL5JbJw3CtfF1u9KyHx8h1TG/MzK+YbaOi4PzSGdEpwgD6 Uj9M+F3Zl7geIcE4LVj3+zlTabIDyeWnvrkGrAjVXyDhlBJu3fBxE4Tt0HuEzhar+TK89OXnJ m7Xp4xag9ZXtrYvXbAcQFvRu77bkbCUypGNV6bSpdL6MrzntAROvxEnrALNL/RgOr3vzGt/ni hWLu5k6PufVAx1iUs6PyL3kUGt8D0qWoCn6CgLwyt711ZrnOYH0hmzIM4QUqyzR9h2akgprqL kyjTueSQ41z0YISs5LdBK5a/g49v2Ymo5s6MGMk0fhCooDtdG/wdtr90AnoJk6pUEakHAjlCA kU7s0ow1h5baY7iwUbTGhyUg59DHShMabNV7PYbsXWvk8X7QKJ9ZF1CLCjcNlqziqMTRV4nbm m6EQI6RpR/MfuNTho3ymPk4AdqIjtkLOja4WinkM12I4qwVQPoOkRj/CDBdNQxCbgowK5U4/H qlnZhKEyQcGef3mSg8JQ/VKDSA4ZRV7Gu11P1Ho7okWt0HxEukiCUOVlRZAKNPngJHSSc2+Ff BnzsJ5elojoNJdpgVleLuN6sKpeuqFmqXS21pd/t9yFxzTVZ2o= Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Return-Path: From: Markus Elfring Date: Tue, 9 Jan 2018 19:06:36 +0100 A few update suggestions were taken into account from static source code analysis. Markus Elfring (5): Delete an error message for a failed memory allocation in two functions Fix a typo in five comment lines Improve a size determination in two functions Adjust 11 checks for null pointers Delete an unnecessary return statement in two functions drivers/misc/pti.c | 45 +++++++++++++++++++-------------------------- 1 file changed, 19 insertions(+), 26 deletions(-) -- 2.15.1