From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754956AbdLOCsn (ORCPT ); Thu, 14 Dec 2017 21:48:43 -0500 Received: from ozlabs.org ([103.22.144.67]:60379 "EHLO ozlabs.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754682AbdLOCsk (ORCPT ); Thu, 14 Dec 2017 21:48:40 -0500 Date: Fri, 15 Dec 2017 13:48:37 +1100 From: Stephen Rothwell To: Andrew Morton Cc: Linux-Next Mailing List , Linux Kernel Mailing List , Yang Shi Subject: linux-next: build warning after merge of the akpm-current tree Message-ID: <20171215134837.671ea215@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 (powerpc ppc64_defconfig) produced this warning: mm/khugepaged.c: In function 'khugepaged': mm/khugepaged.c:1757:31: warning: 'vma' may be used uninitialized in this function [-Wmaybe-uninitialized] if (khugepaged_test_exit(mm) || !vma) { ^ mm/khugepaged.c:1659:25: note: 'vma' was declared here struct vm_area_struct *vma; ^ Introduced by commit 0951b59acf3a ("mm: thp: use down_read_trylock() in khugepaged to avoid long block") -- Cheers, Stephen Rothwell