From: "Martin K. Petersen" Subject: Re: [PATCH] scsi: ufs-mediatek: Avoid using ret uninitialized in ufs_mtk_setup_clocks Date: Wed, 20 Mar 2019 20:10:38 -0400 Message-ID: References: <20190320180340.25795-1-natechancellor@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20190320180340.25795-1-natechancellor@gmail.com> (Nathan Chancellor's message of "Wed, 20 Mar 2019 11:03:40 -0700") List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=m.gmane.org@lists.infradead.org To: Nathan Chancellor Cc: linux-scsi@vger.kernel.org, "Martin K. Petersen" , clang-built-linux@googlegroups.com, "James E.J. Bottomley" , Nick Desaulniers , linux-kernel@vger.kernel.org, Avri Altman , linux-mediatek@lists.infradead.org, Alim Akhtar , Matthias Brugger , Stanley Chu , Pedro Sousa , linux-arm-kernel@lists.infradead.org List-Id: linux-mediatek@lists.infradead.org Nathan, > Remove the default case and initialize ret to -EINVAL to properly fix > this warning. Applied to 5.2/scsi-queue, thanks! -- Martin K. Petersen Oracle Linux Engineering