Received: by 10.223.164.221 with SMTP id h29csp288153wrb; Fri, 3 Nov 2017 09:08:32 -0700 (PDT) X-Google-Smtp-Source: ABhQp+SOg/mXBVZ7nu5d/HFkr9+zKuqPwemnYgVIJZFmCosbdHq8s9z7n/OrBJlYIqYE17BUQ+yw X-Received: by 10.84.131.163 with SMTP id d32mr7148544pld.73.1509725312404; Fri, 03 Nov 2017 09:08:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1509725312; cv=none; d=google.com; s=arc-20160816; b=JyMdUEo8Cew21OOBk2B21ujU5AcmLpkzGFJ+lOmBmifSu5XJAnefr12zd9V9SPRpbm siKUG9O17ak5MiItXHM1lExzpCVr3QHCLSe1pneO0MjCXe/2niag/5mXKHV906w9tWdt uZZE/jHwg3CXzMn57ZA19Au97g2H4GxkmVyWQjyDLfeFEkochY65KwEPVu869JkxrcJN ZOtVSp7JGMrSn/+AaOpffwa10Fe3H20RrVsJyS327guwUlDvsAMSaL/OSsdS8PipjJOz gi9Ac9ntZqWLpbeniRRixzoSghrHPLWVK85FO9fQI1WVCcAiv7bSz+wHdfmXJMl+zVbr GTAw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :references:in-reply-to:mime-version:dkim-signature :arc-authentication-results; bh=K7q/8IUrMHIqD/fL2qgvXOv2V2Hit0pyRYffnqQW/vw=; b=btLOKdC3v7kdzoBnXJZCp/9f5WlPz+F9NdRD8T8SezZArGafjTb+dyIpKM8o7ySOwQ HUVXpl70Hsx4t6EPylRASnlN9wsVt/CguN6bYVMvO8wZgBgosoCqsW3q/bghLLU9V0RE yMsNC74oEpZAaB1lSy2sxSQT0JasjUG1QhLuPfCn2evt1q7lT6tcawEzF3PaGxuILX+Q PJOsq/Q4A6j3Q6k7SxT0lxUvCPeniJm6bwYQnxLDLxYvJu/MTUH8tkPEeLWJlFH0mMC3 yks8nEQZrDc6N0gX43o1PWlrStBp1xiWTMPceplFaNzSShxp4WKgBLWbCq/OXA6MM1/S BAQg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel-com.20150623.gappssmtp.com header.s=20150623 header.b=xRC3gffV; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 67si6291151pgg.733.2017.11.03.09.08.09; Fri, 03 Nov 2017 09:08:32 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@intel-com.20150623.gappssmtp.com header.s=20150623 header.b=xRC3gffV; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753635AbdKCQFC (ORCPT + 94 others); Fri, 3 Nov 2017 12:05:02 -0400 Received: from mail-ot0-f174.google.com ([74.125.82.174]:50865 "EHLO mail-ot0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750821AbdKCQFA (ORCPT ); Fri, 3 Nov 2017 12:05:00 -0400 Received: by mail-ot0-f174.google.com with SMTP id 15so2844508otj.7 for ; Fri, 03 Nov 2017 09:05:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel-com.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=K7q/8IUrMHIqD/fL2qgvXOv2V2Hit0pyRYffnqQW/vw=; b=xRC3gffVfvtwe1RbLmKCjVHCt0WQpQKf1iAqCsJJ9JNzDLyVCHqfHIeO0co18gpA9j 3aUR3LlRJd744y6JwPTWc+wXFFnv6pgpereqny43m28kBfAQmsIwb9gQZWfrdZMILSgj Q2HMWSn7woT74EIQ0HL1oRDVvOQsBcP7sJgdOGZhJs9cEsSXPewmhkZB9wD/4cbcgPTF Kzhsbx3ewymmILk9deS64FxbGR/h21b6DE9+hB078oKznO3BIrKKEtnCg1J8LP3W/37j ClmiiPhnZRBzavEkw7uFjl7E/DKabfAot40iEubjv7cjc0L5WYZCn6aWfiAY3O+hGZSm Y+yg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=K7q/8IUrMHIqD/fL2qgvXOv2V2Hit0pyRYffnqQW/vw=; b=duOu1zMrZRJDamXzOLNQly+ATo08lSkqYNJhDTpmRcggyPtPuMcisG93Gd9rHOQUfX IBgVu3ChSQJFuPmbjdIoVJ7pyx0olesJuKkqhTfuodtwHWRGtEA/dnMwi+JNwd85R2yr TCrjYevQSk8lmJLQcBIo13Daw8xbbo96GvjOKH6CrlcWUIKJ+y2gO8lkd171GaPBONfl WcvuiH7JNgEu+Hg/XMcgkoSyxJO9zNV8x+iNkhDdx3nhYIYYEVAphOo8aQ1zX+ZEe5uE m/zvwtzKsheiaHnim8LwFxNWGVTlB3vao33JZPzTMuBfwl8B20D4kPxYfrj3pred11+K 4Cwg== X-Gm-Message-State: AJaThX51aK8gKIxpaVYysW2iubeDYUUj/Bt0GzqiRMB5YgDlPSSOYuXm zGEJ2LlFVJsLDuR0r0zJeLGtajR4Fz8aR+t8uj9MEg== X-Received: by 10.157.33.228 with SMTP id s91mr4690613otb.0.1509725100179; Fri, 03 Nov 2017 09:05:00 -0700 (PDT) MIME-Version: 1.0 Received: by 10.157.65.237 with HTTP; Fri, 3 Nov 2017 09:04:59 -0700 (PDT) In-Reply-To: <20171103181948.046d2668@canb.auug.org.au> References: <20171103181948.046d2668@canb.auug.org.au> From: Dan Williams Date: Fri, 3 Nov 2017 09:04:59 -0700 Message-ID: Subject: Re: linux-next: build failure after merge of the nvdimm tree To: Stephen Rothwell Cc: Linux-Next Mailing List , Linux Kernel Mailing List , Jan Kara Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Nov 3, 2017 at 12:19 AM, Stephen Rothwell wrote: > Hi Dan, > > After merging the nvdimm tree, today's linux-next build (powerpc > ppc64_defconfig) failed like this: > > In file included from arch/powerpc/kernel/asm-offsets.c:22:0: > include/linux/mman.h: In function 'calc_vm_flag_bits': > include/linux/mman.h:109:48: warning: division by zero [-Wdiv-by-zero] > ((bit1) <= (bit2) ? ((x) & (bit1)) * ((bit2) / (bit1)) \ > ^ > include/linux/mman.h:133:9: note: in expansion of macro '_calc_vm_trans' > _calc_vm_trans(flags, MAP_SYNC, VM_SYNC ); > ^ > cc1: all warnings being treated as errors > > and more like these ... > > Caused by commit > > ebd0722a382c ("mm: Define MAP_SYNC and VM_SYNC flags") > > Not all architectures use asm-generic/mman.h > > I have used the nvdimm tree from next-20171102 for today. Thanks, Stephen. I included Jan's fix for this issue in today's version of the libnvdimm-for-next branch. From 1583028530288307014@xxx Fri Nov 03 07:20:51 +0000 2017 X-GM-THRID: 1583028530288307014 X-Gmail-Labels: Inbox,Category Forums,HistoricalUnread