From: Markus Elfring Date: Thu, 28 May 2020 17:09:17 +0000 Subject: Re: [PATCH] Bluetooth: btmtkuart: Improve exception handling in btmtuart_probe() Message-Id: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit To: Chuhong Yuan , linux-arm-kernel@lists.infradead.org, linux-bluetooth@vger.kernel.org, linux-mediatek@lists.infradead.org Cc: linux-kernel@vger.kernel.org, kernel-janitors@vger.kernel.org, Johan Hedberg , Marcel Holtmann , Matthias Brugger , Sean Wang > btmtuart_probe() misses several function calls in its error paths, > including hci_free_dev() and clk_disable_unprepare(). > Refactor the code and call correct undo functions to fix the error > paths. How do you think about a wording variant like the following? Change description: Calls of the functions “clk_disable_unprepare” and “hci_free_dev” were missing for the exception handling. Thus add the missed function calls together with corresponding jump targets. Would you like to add the tag “Fixes” to the commit message? Regards, Markus