From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932311AbcE0DHP (ORCPT ); Thu, 26 May 2016 23:07:15 -0400 Received: from ozlabs.org ([103.22.144.67]:39359 "EHLO ozlabs.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932168AbcE0DHN (ORCPT ); Thu, 26 May 2016 23:07:13 -0400 Date: Fri, 27 May 2016 13:07:10 +1000 From: Stephen Rothwell To: Andrew Morton Cc: linux-next@vger.kernel.org, linux-kernel@vger.kernel.org, Michal Hocko Subject: linux-next: build warning after merge of the akpm-current tree Message-ID: <20160527130710.04d4d859@canb.auug.org.au> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Andrew, After merging the akpm-current tree, today's linux-next build (arm multi_v7_defconfig) produced this warning: mm/oom_kill.c: In function '__oom_reap_task': mm/oom_kill.c:537:2: warning: 'mm' may be used uninitialized in this function [-Wmaybe-uninitialized] mmput_async(mm); ^ Introduced by commit df1e2f56632d ("oom_reaper: close race with exiting task") This is real - the first "goto unlock_oom" is before "mm" has been assigned. -- Cheers, Stephen Rothwell