Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752312AbdLFTtr (ORCPT ); Wed, 6 Dec 2017 14:49:47 -0500 Received: from 178.115.242.59.static.drei.at ([178.115.242.59]:54095 "EHLO mail.osadl.at" rhost-flags-OK-FAIL-OK-OK) by vger.kernel.org with ESMTP id S1751463AbdLFTtl (ORCPT ); Wed, 6 Dec 2017 14:49:41 -0500 From: Andreas Platschek To: linux-kernel@vger.kernel.org Cc: a.zummo@towertech.it, alexandre.belloni@free-electrons.com, linux-rtc@vger.kernel.org, Andreas Platschek Subject: [PATCH 0/2] rtc: omap: clk_prepare_enable error handling Date: Wed, 6 Dec 2017 20:42:36 +0100 Message-Id: <20171206194238.12824-1-andreas.platschek@opentech.at> X-Mailer: git-send-email 2.11.0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 492 Lines: 14 The unbalanced clk_prepare_enable/clk_disable_unprepare were found by Linux Driver Verification project (linuxtesting.org). While going through the report from LDV, the missing check of the return value from clk_prepare_enable() was found. Andreas Platschek (2): rtc: omap: check for clk_prepare_enable() error rtc: omap: fix unbalanced clk_prepare_enable/clk_disable_unprepare drivers/rtc/rtc-omap.c | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) -- 2.11.0