From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752129AbcDRWeo (ORCPT ); Mon, 18 Apr 2016 18:34:44 -0400 Received: from down.free-electrons.com ([37.187.137.238]:35209 "EHLO mail.free-electrons.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751886AbcDRWen (ORCPT ); Mon, 18 Apr 2016 18:34:43 -0400 Date: Tue, 19 Apr 2016 00:34:31 +0200 From: Alexandre Belloni To: Josh Poimboeuf Cc: Joshua Kinard , Alessandro Zummo , rtc-linux@googlegroups.com, linux-kernel@vger.kernel.org Subject: Re: [PATCH] rtc: ds1685: actually spin forever in poweroff path, part 2 Message-ID: <20160418223431.GC25196@piout.net> References: <97e46f7b50b413d01be4189159c0611515ef7502.1460729962.git.jpoimboe@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <97e46f7b50b413d01be4189159c0611515ef7502.1460729962.git.jpoimboe@redhat.com> User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 15/04/2016 at 09:21:10 -0500, Josh Poimboeuf wrote : > objtool reports the following warning: > > drivers/rtc/rtc-ds1685.o: warning: objtool: ds1685_rtc_poweroff() falls through to next function ds1685_rtc_work_queue() > > Similar to commit 361c6ed6b153 ("rtc: ds1685: actually spin forever in > poweroff error path"), there's another unreachable() annotation which is > actually reachable, which we missed the first time. > > Actually spin forever to be consistent with the comment and to make the > unreachable() annotation guaranteed to be unreachable. > > Reported-by: kbuild test robot > Signed-off-by: Josh Poimboeuf Applied, thanks. -- Alexandre Belloni, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com