Received: by 10.192.245.15 with SMTP id i15csp1205934imn; Sun, 11 Mar 2018 08:16:52 -0700 (PDT) X-Google-Smtp-Source: AG47ELshnNa72jNtlGl3dmVShU7SQochqLOq9H83Bfm+ftVxbsnwSLueXkMoaer7wLX98WKFgT6P X-Received: by 2002:a17:902:7e09:: with SMTP id b9-v6mr4166827plm.223.1520781412656; Sun, 11 Mar 2018 08:16:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1520781412; cv=none; d=google.com; s=arc-20160816; b=wYL8+9qNzd9zVzxKHYa3qdmU92RfjuYFmmvswz2JEeN1zvhwXSX4kC6TrUplEMdiDT 9KykuRzDQgb5o+xYB7N1N9jgSbIYcXJ8sTRdmqU0yO3ZsHzpitDFrByAySx6w04qkmwe PH0fPE/Rwemppc7UJwmibeykQoIa4Mwo1M7jAU3fqbFD8VbLc3mF3lewnCNYqwz2KaeR 8oCg5s+f6L4Smc4Dt/08YyUApi+V144O8zqzuhJ30ImcP9ris6fBRsVJedsvsfFzy3j7 4jGKtYl86zPsuGc53nT2Z2+8YbTYMnbLRJla3bHqh74VYYFaRl7eqBj22FW97C7l1cOW SO0Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:mime-version:user-agent:date:message-id:subject :from:cc:to:arc-authentication-results; bh=XtNoBeVuAvA7jJrHPdftuzos+4UPCbmd643lQl+Cd4U=; b=gXB0BtnnLeMj59cyJb9dezZ3QdZ9PF20zah56mM3okJew2Mh5JAZR3uvy61BsMYaGP eI4BY3gO4tVbknSjJ3c45kXX0XaQIP0RVLhIse0381oiLeYs/py+Ut6uxpiUhq9K/jYY n+CL3cJcdPtN9DuXgfhRnGxlpEPzgv/bAdLxgm5Ve0r1/sBRTTPxc2/XKBYzs8CZsLN9 tkax3Ef/hKV4FuQkraP5X5I08+hT09s1BHQXDDQFwQPMK7YIgIevog6vihZr3lZNjgkj wbFRW50lLpqU4+ekG+tE9+UlPqMOlFITzSR7OAPZPzxcM2333Pdst8f+/2G1rq6QmkH/ wbKg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=NONE dis=NONE) header.from=sourceforge.net Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id w1si3735172pge.362.2018.03.11.08.16.37; Sun, 11 Mar 2018 08:16:52 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=NONE dis=NONE) header.from=sourceforge.net Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932177AbeCKPPm (ORCPT + 99 others); Sun, 11 Mar 2018 11:15:42 -0400 Received: from mout.web.de ([212.227.17.12]:35019 "EHLO mout.web.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932118AbeCKPPk (ORCPT ); Sun, 11 Mar 2018 11:15:40 -0400 Received: from [192.168.1.2] ([77.182.27.43]) by smtp.web.de (mrweb103 [213.165.67.124]) with ESMTPSA (Nemesis) id 0MLxwG-1f0YTN0dMi-007nN1; Sun, 11 Mar 2018 16:15:21 +0100 To: user-mode-linux-devel@lists.sourceforge.net, Anton Ivanov , Jeff Dike , Richard Weinberger Cc: user-mode-linux-user@lists.sourceforge.net, kernel-janitors@vger.kernel.org, LKML From: SF Markus Elfring Subject: [PATCH 0/9] UML vector network driver: Adjustments for three function implementations Message-ID: Date: Sun, 11 Mar 2018 16:15:19 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Language: en-GB Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K0:iq+utSECWgNHzLrNq1y9R46ivSzL723vpPBlIg15O2Q9hW/JAgH +dsQTvbJrw/Au1RWTBDkoqPEqM9hohNS4913lVv/39Jw5PzEQoS91ZP9EMxG5uapSYdhmiA IBWwD85s6LwJSVNDzy24d77N4KyYIdm3tXCwX7YoUWnatFhRbQazo0B+t+sEi8rWOzjeuRH nNwDReKkQnAPeJ2yY6aEQ== X-UI-Out-Filterresults: notjunk:1;V01:K0:9bWW00RnfSA=:IPnwAHKZP7BhIghqwA+M3p YqofJlGcZla8KemyrP7kRo3C/AhDWhVL03+6i9m4SvsY/9PrcSRna2k+nN8kjtbF5mTm01qIT XWK2kgGmSzfE+aeuGjkDvNUPmDMjFC/NGrXU9qS9qZtntGzYtEo/j8vCO4D2ipaUc1ZMuO31W t+CCzf8EC2DMOJaiP1hKERj2BICLYlLt/nxNDHlPul80i7SfnshtVXkHaHarsPhJp3SO0Q8hv 1XMrU76u0GpuuW4y1TcMy7OC7U5QQk4Cf5aBTpoUyhbpxZT+73oyUlx4vEKUe/uCjFqcT8YAs 0jcMMQuz/hvRP3a8rbP9LtufvAJn1klsxsqQXkCiA0xl2Dg168LDXUqnJ6sjICEYySIpQvzVP vci53D0M6TwNP3l76jP4XJUuB2fqeHSJg7j0xhTRXLH5uP0qPdhCCCEZuIRqo2FMntOmtLXJR mC8Z7BhDB6r3MWBx14VXLmOx2tDz+3BWA+/Kow1N89UoS5Q7dE5ZSoPdKLFR3PtdrM07rP7Sw Dc0O0SZby2Ao8jJbc3q6QD3sSLPyJsZb4ixblmemDqf/o8UyuGBsorP/R4pIFug8bw0OS+JQQ vEq92MGiIyUw9pwCYn9J0JnJeJgNUJ5wZmiEvpKfdz9MPbi7rlbnxWHh1wmZ/NRx+ensXUk26 MjW5V9qvkVSpI2yokOPsSRkKdIhA1/rkYNH8tG45T0drwImrMqroeJxwzzoXOpT9lUIuHPceo pTdVsZuPV5EImNo1HViJfFhyON+tFGgCieU9bm83b5mJGKmCi6kH5FsXh1HQvAMkkVSNhWQDB DMizJKqA/tSPknjAP97xLvGHgCM4QSQTq1HpI/J9Nla3r+wBkY= Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Markus Elfring Date: Sun, 11 Mar 2018 16:06:16 +0100 Some update suggestions were taken into account from static source code analysis. Markus Elfring (9): Delete unnecessary code in user_init_raw_fds() Less checks in user_init_raw_fds() after error detection Adjust an error message in user_init_socket_fds() Delete an unnecessary check before kfree() in user_init_socket_fds() Delete two unnecessary checks before freeaddrinfo() in user_init_socket_fds() Less checks in user_init_socket_fds() after error detection Adjust an error message in user_init_tap_fds() Less checks in user_init_tap_fds() after error detection Delete an unnecessary variable initialisation in user_init_tap_fds() arch/um/drivers/vector_user.c | 133 +++++++++++++++++++----------------------- 1 file changed, 60 insertions(+), 73 deletions(-) -- 2.16.2