Received: by 10.223.185.116 with SMTP id b49csp2332494wrg; Mon, 5 Mar 2018 00:35:11 -0800 (PST) X-Google-Smtp-Source: AG47ELviGtUdb6EMltoEcwoT3Y5dibfMVCx0yk6TxxloSL+SCe4/qhBtnSBCD9utgbHJB+pckvAD X-Received: by 10.99.104.73 with SMTP id d70mr11527367pgc.107.1520238911464; Mon, 05 Mar 2018 00:35:11 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1520238911; cv=none; d=google.com; s=arc-20160816; b=eChAvPGjOebKflYznp0uWyDPs/uYLml+u//RtrkLCqcQAt7aVEln2A5wjDZujB+Sy1 +gVSZ2vngPCANUvJHXOF20cYasjBYYrCFUvsvdExNkmIVfScPSCZqfYcEob8kLP5Ftlb P0m+ktv62f9cBUScpGMpuJFlZWb6ptAbV2lKtqgpHE/WqW0yPEnByCOfWsps4G/4KQvQ 1gVDdJrtRSma/f3LkamKqNNrWIbN4oVQ4YcmCNIMnHa6zYZPFOaNNWypds6CasFil2xi 85hHS7uqC5t+FX+QX0zbaN/R4uaxZpHqncQzkSekRlKjaenDFpXw3itesCPIETV2pTJz G4xg== 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:cc:subject :from:to:arc-authentication-results; bh=mLy9aEsVUFFa5SEOVUif1FkW7ctrMoRTJjyTKtwTFNo=; b=tVnJom1bW9+dnGlnHMoW1IdAK1ZPnwnE5sp4MAa0pmSD81g3qk8DVsBGAx4BobDXgU Hem+eeMz0v5ldwk65dGJkfmF1hsnH7yGfzRI75+WRVEMhJBBkdjZTK+HgtX5mmBlTVWj nw0zQG9bT4vGKZMYk+jXG+/tFlLns/5eHjfPhYTpMrQv+tjM+6HYl/zzlFgXOYzrOKsI UsfeH1ZrkI+c9ZU52PVEGT6F0KM7hKLbAe6ZnSUku4PcfeIZJjrHcuhwxo6Bbt9VcCy4 pwBr7ERVW/IsiCMcksUMmsFMhUkRfOapswwgV/ObRKGUS0y8zr6ckQ2w5uqjMeMF6xLU J+FQ== 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 k9si8154394pgc.628.2018.03.05.00.34.57; Mon, 05 Mar 2018 00:35:11 -0800 (PST) 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 S933486AbeCEIaw (ORCPT + 99 others); Mon, 5 Mar 2018 03:30:52 -0500 Received: from mout.web.de ([212.227.17.11]:43389 "EHLO mout.web.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932600AbeCEIan (ORCPT ); Mon, 5 Mar 2018 03:30:43 -0500 Received: from [192.168.1.2] ([92.228.188.109]) by smtp.web.de (mrweb103 [213.165.67.124]) with ESMTPSA (Nemesis) id 0LvSLn-1ekU9n1jLX-010b1b; Mon, 05 Mar 2018 09:30:28 +0100 To: linux-scsi@vger.kernel.org, esc.storagedev@microsemi.com, Don Brace , "James E. J. Bottomley" , "Martin K. Petersen" From: SF Markus Elfring Subject: [PATCH 0/4] SCSI-HPSA: Adjustments for hpsa_big_passthru_ioctl() Cc: LKML , kernel-janitors@vger.kernel.org Message-ID: Date: Mon, 5 Mar 2018 09:30:15 +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:VVOM0AJlIGw8uF/NYC8MN/A6DJ+US+XNsWEOrcd0DJ6wwEKjNDs HcZQfkOFrx8uuSDSUGokX+iFrGoch+/6aqLlyi0WjpMQsCW8HtoEybNJzSEk+rUSUp66p8u GzLi+21mo2Qa8yBPFvsVGuQ5NBsjA6zCfrLBl/mYRlpV1KdN5lIg8fb5CPn0NUMmFOll+9i FHqmpfILKnZMreNb1qK7Q== X-UI-Out-Filterresults: notjunk:1;V01:K0:pGq5Owz660w=:EK7GV0cReiyaRxytWBLh44 vt0PICQ0yl0talzMqstLp3fZnbWyN2LY/Zuqqxo9fYPPOV7ECr6bGXGW61ieffOUDBIqUaBR5 hNrwtSK4eih2NzCg3v+0d0urr5Nzir0pxt5PjOjNxQJzlKhhlJGpyDGZpr4eEZuEhuwcIpBE3 +pvEIYbIgKWLrQXWIYLflfHAoNsYQZfEs1HUJeWdWe4vrsoxqtOLlMHCuYnXfqHVgz8daB93E NG9FO3hMGS2w/OTzs9ljlQcypDmY4fu+ew5T7SYX+2VjY17x8f7N5flXRI9f63Dz/dgoIRJzW zDkNz4APlOjY+VeOvI4CNcnEi6ZBY/4hJvyS8D7e7mJYHokmJsw2Rlf7ZixGUjdYV5sATfCuP uZ+bS94HOJGUBWPfQl9/OJ7uRwpdF8gQifn6H1qZeeMalTNOHyqW17+AiqqLeHmevSxrBLYHI 0tF8uEik+jAQD9MxALaBGpADkqNxM1lYCLsmlQNrpJz+CFL6TxED5lB1iKPk6SyWvTIQkK5o3 SRDzyNZt1OvhylLwQtsfxCLnjn0B06TU9AiLgaq9YCz+2B0GmiEuVcKAGbYvvTCxqtYrwuBQ1 OKvbqMS2mIROXhXcdIBEQT4uG+QiPthGCS5HuYOMKVf55OJCSoM6Xbl8n8Z7Y8dWWKoei8n7m kkEaihlvxKhQ1mm4OuiF66tI9RqJWjlAf3swIjuvdU6wV+6rRu66yaq0nkPE6MrajaSUGUJIH HVy0HmaWJSkPJkQ5XEkOqR3cdb5UJI/yDmRFGx30h2V4d/XaSY0sq3fBrUXz1/eGHzuKe/Lye K8J3EJfOuKX9E4vpS3g/lbmnxtZu3/ZpXM85EmttgYr/WsjdxY= Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Markus Elfring Date: Mon, 5 Mar 2018 09:14:32 +0100 A few update suggestions were taken into account from static source code analysis. Markus Elfring (4): Use memdup_user() rather than duplicating its implementation Less function calls in hpsa_big_passthru_ioctl() after error detection Delete an unnecessary initialisation Move a variable assignment drivers/scsi/hpsa.c | 44 +++++++++++++++++++++----------------------- 1 file changed, 21 insertions(+), 23 deletions(-) -- 2.16.2