Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751357AbbEQTJb (ORCPT ); Sun, 17 May 2015 15:09:31 -0400 Received: from bes.se.axis.com ([195.60.68.10]:59529 "EHLO bes.se.axis.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750880AbbEQTJW (ORCPT ); Sun, 17 May 2015 15:09:22 -0400 Date: Sun, 17 May 2015 21:09:20 +0200 From: Jesper Nilsson To: Rabin Vincent Cc: Jesper Nilsson , "linux-kernel@vger.kernel.org" , linux-cris-kernel Subject: Re: [PATCH 1/2] CRISv32: add unreachable() to BUG() Message-ID: <20150517190920.GP11161@axis.com> References: <1431607016-6301-1-git-send-email-rabin@rab.in> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1431607016-6301-1-git-send-email-rabin@rab.in> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 676 Lines: 17 On Thu, May 14, 2015 at 02:36:55PM +0200, Rabin Vincent wrote: > Add an unreachable() in the BUG() implementations, to get rid of > several warnings similar to the one below: > > kernel/sched/core.c: In function 'pick_next_task': > kernel/sched/core.c:2690:1: warning: control reaches end of non-void function [-Wreturn-type] Thanks, applied! /^JN - Jesper Nilsson -- Jesper Nilsson -- jesper.nilsson@axis.com -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/