Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1949372AbdDYUYk (ORCPT ); Tue, 25 Apr 2017 16:24:40 -0400 Received: from mout.web.de ([212.227.15.4]:50951 "EHLO mout.web.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1948886AbdDYUYd (ORCPT ); Tue, 25 Apr 2017 16:24:33 -0400 To: linux-scsi@vger.kernel.org, "James E. J. Bottomley" , "Martin K. Petersen" , Vinayak Holikatti Cc: LKML , kernel-janitors@vger.kernel.org From: SF Markus Elfring Subject: [PATCH 0/3] SCSI-UFSHCD: Fine-tuning for two function implementations Message-ID: <75622f45-f46c-e52f-2b9e-6ff5ce32184a@users.sourceforge.net> Date: Tue, 25 Apr 2017 22:24:16 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.0.1 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Language: en-GB Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K0:yFJAS1O9uIKM0nEU6cgiuqEPRYX/SXsUK8DWFCOG0Wbp53/K9oh RpiGuHwkm48ShzCfzVZDjRS/StTQElwPYCmWhGf7Yo6QWM68fGQkWIin+zxPMRylqRirbed FZpYgzbyR6vgCdb+PL0m5/Wm4RLJ5cwZSXxECoRWQeVHUTGOzaDjy029qS9Vvlpo/paVJ+J u0nS6FEDUvRRoKcyvdPfQ== X-UI-Out-Filterresults: notjunk:1;V01:K0:vrcdnnCvSMg=:vLfmApG386vYf10V2rFu83 RalpETRcyBPPGCE4LQH/3hrC7hZzf/TMojsSSosC4LDGxKOESV3dDA4oIVVMsIBW7rSGUd7sq 2gmMU20R7m939ZEUZdVaYcOtZIMv+FQUVvMDBWRwTyhHfqtBIdWdmpqstq5UxxUpox7YbeYyA CMyB0Kq2ig71G6VCdbsYAUih6GfdK8N7M9EsFWYZWGRNpQNN72LT+DzIqJpbu5/xqqfZAj37U ZYyX5+10La8e4IcBStn0fVBNTvXhiNqHmKINcdVC3w4rI61gn7Pu7rznn1gkE9WRZ9p99oTDB ApC2OpFeOx4+ZfzrNXvFKJssMG/4BjufVNCOuPdxNYqezBARWdj/2KQe3yNCv5JQQRr2Ez/E3 IdCW/3Ged0x6xwWOXJR3izC2VGwkF8AL6jFTB8mvfxyDT3boAv4+vKBtI8sHNqNrTUWYCX5PK TJphZdMXl+N0nsHXx7fC3qodlyVah8M7NjH5ue+tTCZ9qYUg+LahrY0F7PnU8ygMq08C7X77k BQbrLVwNfnVHvZdrOm/S4ig1/iIlLDFmlRQPcKJ0XMTT+wllmBvKo8rf/+gutGljdatFkiuWO UiBWbmE8lFtFen9zKfQp93L0sh8PDuhUfT1qWC6aLjOdYJTKms95EKGwtkiGLdeSkbSVmwFK8 dFvHswhTCUxWYwkJYfxYV9YsTDX7+MRoAKaowzZyh9k4Mz1+t074GyLSxl4/7N7b17rkn+9s/ YaOWHgcfy4ERZ/OOCFY9vipXxehniGCPoUFpO7LDA1bpj0QMSFYlNaHC+wq4eNAvOf8feDr+a d7tEv3/ Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 504 Lines: 16 From: Markus Elfring Date: Tue, 25 Apr 2017 22:20:02 +0200 Three update suggestions were taken into account from static source code analysis. Markus Elfring (3): Use devm_kcalloc() in ufshcd_memory_alloc() Delete an error message for a failed memory allocation in ufshcd_memory_alloc() Delete an unnecessary return statement in ufshcd_exception_event_handler() drivers/scsi/ufs/ufshcd.c | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) -- 2.12.2