Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754762AbeAJKVH (ORCPT + 1 other); Wed, 10 Jan 2018 05:21:07 -0500 Received: from mout.web.de ([217.72.192.78]:51419 "EHLO mout.web.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754421AbeAJKVD (ORCPT ); Wed, 10 Jan 2018 05:21:03 -0500 To: kernel-janitors@vger.kernel.org, Arnd Bergmann , Cliff Whickman , Greg Kroah-Hartman , Robin Holt Cc: LKML From: SF Markus Elfring Subject: [PATCH 0/4] SGI-XPNET: Adjustments for five function implementations Message-ID: Date: Wed, 10 Jan 2018 11:20:52 +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:o+n9inTIe3fVUOaeFIyiHynnaRQYwK17UzGBNlXhUdfbSc/ToT8 edBQ774Kz+EWJOwuy42uB7Xkl2t6K34JzSLkDU0u/E598ci0HDmXUSiz+OWFJS9hJtEkWEH 889o3Ri4TXF/LTq1BP6pRydZ2Z56M4fRSu3vanMQOaM6K1YGIyBhFiCRb0wQt5lIhhQ4/wG qe7BnG+I+R4gc1KCJnuQQ== X-UI-Out-Filterresults: notjunk:1;V01:K0:RM8BShpH6Uw=:aOkBvKvX2LbLPW5uweZ1eh 3nS5boWDQ5YfvOaSiKIvBF39LArckVSCmUiin4cqKxYWoCttAecF27KEMSGbRY/TgRURGUWwj kE+d6PAGOTEoEUhQrXShd7XjnQ2vWM1KyFXYYI/x1DOo4UhTjFqDAaSUtodYQS7e75c/xoolB 1a9DFmElCWG+90nu0mvQE7ZJWar421q/Egv4ZXldBLIr0NjU6fszXqQpgDpuo8yWvDNBnM1c7 anfJ57vt20cJKxFJz7MblFzWt665UCZrT5C3GkwyhUoRvMrG7w8qiyRMhpQs/QukB4dBqClz2 PbBM1Ws8s5iSgbxK1uj3QBCSdWreBBa6BXCjdGjOgnzDmcLykI0u8Gh3gHW0Dg7THCbEaQGJs BUeElcXJxFwwC7QLnCt/lv4rjVvLxIsirO46Ze2kkMooq3uZhzbVPWDX+b8eP+kAvjeQEZSC9 4rsBPcLrPICD+UxtvwkD/Rp+o0Wt0x9u0CrmatR7cn6se9mpDjDYcENmo7G9OSTSbn4v4z2Cp jsHTr2RkeNyzd1xTCiSG0Vm7XwW+KOrvByJl6RnYQEu0cjilhU2TnNL+cEb0SKqvCzu+pbJz8 QAwsygjw7WP8eG5rnmWk6l0hh6CFwSN/SV+UhvfE5CGl8dOFP9M9m4q3wNuAVhChbkNrjupxu LOBZtLA3GxQtuUZ4gXAJ22tBgIndr/IRPeHYouKdQpNsRAk5TN8QWKSVSTZC42jgpH2+pv538 MHUuW/tS20KIKke2hCU7E+ANCBhz2vNJI2DlZo+k2WfbB97AfXVo0ul4PIFeJujfGO0dsQnhz 9QUacUbmMfnENTbX29I479CFboF96Vb0HH5+fgHi1uuyveOi/E= Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Return-Path: From: Markus Elfring Date: Wed, 10 Jan 2018 11:16:54 +0100 A few update suggestions were taken into account from static source code analysis. Markus Elfring (4): Delete an error message for a failed memory allocation in two functions Improve a size determination in xpnet_dev_hard_start_xmit() Use common code in xpnet_dev_hard_start_xmit() Adjust five checks for null pointers drivers/misc/sgi-xp/xpnet.c | 36 ++++++++++++++---------------------- 1 file changed, 14 insertions(+), 22 deletions(-) -- 2.15.1