Received: by 2002:a25:824b:0:0:0:0:0 with SMTP id d11csp1386633ybn; Wed, 2 Oct 2019 15:30:05 -0700 (PDT) X-Google-Smtp-Source: APXvYqxP+hup7lPsZl/REuQKTgDyiRYo6+xN0TbBsu2k7l518VaQRACWgSYnjDNhxjsUgbMURlfB X-Received: by 2002:a50:fd86:: with SMTP id o6mr6430179edt.139.1570055405279; Wed, 02 Oct 2019 15:30:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1570055405; cv=none; d=google.com; s=arc-20160816; b=U4uXYaoCExtl4kxmWl4m4lD1ziCIK0/zTtwfmZheE3Gk73nVqO6HBvEalIStsRn/tx eyQVxasz0pYvF4eMdLwm2H9l6TwbV/hhvOQ3aIjUw9YV4GgIGzgRdgtbEIt0FUHscv+G K2EVKyCVbvw6JYxe/eDyDntOymGoxHyjkHYhbakgSCnXJQ5UiH3LM+2pII3UekdJ9Bph q01sx7R6sOnLJFBaft/smg/El5d+psgiDF+NWtyQa8F95Qw/oksP8ehJuENRID62qBqI 6iBTnr4JqLtETfFnLqZNzzOYNQ+Web6syLXEIK8f/3s/5AoImcUMICChjyqx9w6aJzJ9 WdtA== 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 :in-reply-to:references:mime-version:dkim-signature; bh=WVuyM2HI99wS0wrEjVTuybtyAoge/UdhgX0Riu1yBrw=; b=LP4fFFM5mEN43gqhT46nmIXRJh8D0RRdpj13xMciAV7BVEisoJT1MCMxOVcRqDV2Uk 3Y1ZGuMRhMLafSM13axGKOFikyogZuBta3fw8fBKFfHbDrCRmVUpTS6EhxtIZXNGdvWk JtAZs3cgDBvVO5z6X3BYBwRxkovdBha18LlI1pkxW8iFiAHkGB7zrX9cBCkYHA/212Mm lLblLZTIjxWn97rT12NdmIPUo04ZHUg40/zgefaeOIjWohN+4JAmeLqUD7zRtqDFT440 NXCtd6FnSViBG19wjvPzmNZyGi6LG6/DtXkq/7Vsr1sLWFmRWnfqvf8P93sOQYEFv6ly XOqQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=JgvO7Xtw; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id q30si362717eda.5.2019.10.02.15.29.39; Wed, 02 Oct 2019 15:30:05 -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=@linaro.org header.s=google header.b=JgvO7Xtw; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727708AbfJBW14 (ORCPT + 99 others); Wed, 2 Oct 2019 18:27:56 -0400 Received: from mail-wm1-f65.google.com ([209.85.128.65]:35503 "EHLO mail-wm1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726070AbfJBW14 (ORCPT ); Wed, 2 Oct 2019 18:27:56 -0400 Received: by mail-wm1-f65.google.com with SMTP id y21so493489wmi.0 for ; Wed, 02 Oct 2019 15:27:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=WVuyM2HI99wS0wrEjVTuybtyAoge/UdhgX0Riu1yBrw=; b=JgvO7XtwX8H4Z+QL5zkjv5W3cuYCeQaxxkpdk1bbkCf2LfkQavQHb5IuxUAV1/Q2Wr B5alBqCxh4pcNxn/B5njq2rMSzmtHXR8NbTXEtqkFvPR2iIgWgqCI/205qFN6pKpTW5X EgodLXLs3wJY1ViIUMLRBILoVqAv42zDI6sxpZkqr/lnh/+MrloQSy1c3sRcNX8RsT99 JcEpYTYslnCN6MtOhpfPTspDva41JJqGHqlxAtLHCMvrmPEdlyX7gWlz59vuBcV6UBov y8AsdkbjfirxsdH2i8BLOoJlvm903gpDuhtSRhwGSXJ9EJ7Vy9MZB6Zg2AAxY4B5pEOz NNqA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=WVuyM2HI99wS0wrEjVTuybtyAoge/UdhgX0Riu1yBrw=; b=Iz0/I2J4N8PfY4rPDT2YlGYPosbk9ZpZ57yZbpbr744RE9JfVbwFmkMzIlbi27JEnd b0VxXKZS8LcDSmloQum5eZNsri4WBz25Ml8+KNmcf9peEgc+mUO6AJiDqcqITarxIemo VLaT04wE2RYtV+N5XN+KHgEYfQmL46h4/4q1k+FMOvgMzT8BNdoLAyiY8hfQ9JwyHLyl kuhKk/j2GYGWJ3OTd557CCeFtaY3YjtEAmkQrG14OWPAax8MJx4KOEhYCBY5Xo029QnP 8v58ofFMCcTv7m8cT4EAygZTQNYvQzSL7WfJvxZoQgrtU1UJiGv00jZ6jgh1Wsxz6HM1 UCyQ== X-Gm-Message-State: APjAAAVX7ZgePEGON1qF5xYKwzxJrKBxCbWisnhqujxbw/RC29X9LMac aGcnbu6+sA+oABDnQZ0yVR+op40mTdviNor+/Flcvg== X-Received: by 2002:a7b:cd99:: with SMTP id y25mr4528872wmj.152.1570055273633; Wed, 02 Oct 2019 15:27:53 -0700 (PDT) MIME-Version: 1.0 References: <20191002182255.21808-3-john.stultz@linaro.org> <201910030658.lcYVTiTL%lkp@intel.com> In-Reply-To: <201910030658.lcYVTiTL%lkp@intel.com> From: John Stultz Date: Wed, 2 Oct 2019 15:27:41 -0700 Message-ID: Subject: Re: [PATCH v9 2/5] dma-buf: heaps: Add heap helpers To: kbuild test robot Cc: kbuild-all@01.org, lkml , Laura Abbott , Benjamin Gaignard , Sumit Semwal , Liam Mark , Pratik Patel , Brian Starkey , Vincent Donnefort , Sudipto Paul , "Andrew F . Davis" , Christoph Hellwig , Chenbo Feng , Alistair Strachan , Hridya Valsaraju , Hillf Danton , dri-devel 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 Wed, Oct 2, 2019 at 3:10 PM kbuild test robot wrote: > > Hi John, > > I love your patch! Yet something to improve: > > [auto build test ERROR on linus/master] > [cannot apply to v5.4-rc1 next-20191002] > [if your patch is applied to the wrong git tree, please drop us a note to help > improve the system. BTW, we also suggest to use '--base' option to specify the > base tree in git format-patch, please see https://stackoverflow.com/a/37406982] > > url: https://github.com/0day-ci/linux/commits/John-Stultz/DMA-BUF-Heaps-destaging-ION/20191003-042849 > config: mips-allmodconfig (attached as .config) > compiler: mips-linux-gcc (GCC) 7.4.0 > reproduce: > wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross > chmod +x ~/bin/make.cross > # save the attached .config to linux build tree > GCC_VERSION=7.4.0 make.cross ARCH=mips > > If you fix the issue, kindly add following tag > Reported-by: kbuild test robot > > All errors (new ones prefixed by >>): > > drivers/dma-buf/heaps/heap-helpers.c: In function 'dma_heap_map_kernel': > >> drivers/dma-buf/heaps/heap-helpers.c:43:10: error: implicit declaration of function 'vmap'; did you mean 'bmap'? [-Werror=implicit-function-declaration] > vaddr = vmap(buffer->pages, buffer->pagecount, VM_MAP, PAGE_KERNEL); > ^~~~ > bmap > >> drivers/dma-buf/heaps/heap-helpers.c:43:49: error: 'VM_MAP' undeclared (first use in this function); did you mean 'VM_MPX'? > vaddr = vmap(buffer->pages, buffer->pagecount, VM_MAP, PAGE_KERNEL); > ^~~~~~ > VM_MPX Ah, looks like I'm missing: +#include Which somehow gets pulled in through the headers on other arches. I'll fix that up. Thanks so much! -john