Received: by 2002:a25:683:0:0:0:0:0 with SMTP id 125csp108956ybg; Mon, 8 Jun 2020 17:51:03 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwjXetArRsvSLqm9FXXdQTkaBqyGtTu4cQ9vgLMWGwTbWvAjOxiVDgr336rP7zNLO9OAiWD X-Received: by 2002:a17:906:e2d5:: with SMTP id gr21mr22431908ejb.219.1591663863131; Mon, 08 Jun 2020 17:51:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1591663863; cv=none; d=google.com; s=arc-20160816; b=eXsHlHZHBzgwhWEDTr5CZQjsp/rpHPZowYWvGqgZQ04Q8SLAE+LCCi5na1RHxpRiMJ 5XBSMR/agv5IPB/aIkPRpeRBu2a0sAemciCBTyWwFGbH5XrgvkujS780ONZMaVggIPzR 9COBbi32KaPkadFQUT7AC2Z8zPkMoBi12YBjiv4ys4oO8+u83aLCrQEJ5j+1LVE6Dj6K uDmqUiWkol61p4oAYKYDxB9cSCzEluJeBBCPwFleSKj5FFd9f0fdce9HmZUZbJfYXemx pFxPonAta3cJuaZOhcxnpa8d1WTOTUfE/QClUbTZH6zzuyQCzFBEnPLV2/rG0JGZ/+XC qHrg== 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=6zCH4n2iYndxCImQUVO1t9gw8KAnucClc8TKaXcz6VE=; b=X9sc/zZ3+0yTtAgwk3j/O3aS6q2p0abtMosMW+kzK2k7wkN1QJ9BN29WKzAksX/16Z 8+rubAJ2SAT4BbM0Wm+MqDhg9KHSW0zwfWTaXvHm+IUuOXYO1yV0+gMpt/dP507a6XGW k9aKK6E1jwjAGjERsUqqP9sd8GvewqIeE2JU6wEeSCzzHbgeE1D3T8yNWssQK3KmXYBX 2qplkguWy8wYm89wlpXH0mk9VlUZ1UaV+V+vQTcH6itAqlZbkCOFyti3gtzcSQigCAqT FqRMYhtS/biOGKXO7v0AOpnCwtEiMdjq12INr2u7PhPzBsicb8nZzAXxz290ZgGcam65 4OYw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel-com.20150623.gappssmtp.com header.s=20150623 header.b=Fq2WqHVe; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id t16si6465874ejf.398.2020.06.08.17.50.40; Mon, 08 Jun 2020 17:51:03 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@intel-com.20150623.gappssmtp.com header.s=20150623 header.b=Fq2WqHVe; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732059AbgFIAq5 (ORCPT + 99 others); Mon, 8 Jun 2020 20:46:57 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52958 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729018AbgFIAqy (ORCPT ); Mon, 8 Jun 2020 20:46:54 -0400 Received: from mail-ed1-x541.google.com (mail-ed1-x541.google.com [IPv6:2a00:1450:4864:20::541]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 70BAEC03E969 for ; Mon, 8 Jun 2020 17:46:54 -0700 (PDT) Received: by mail-ed1-x541.google.com with SMTP id l1so14932944ede.11 for ; Mon, 08 Jun 2020 17:46:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=6zCH4n2iYndxCImQUVO1t9gw8KAnucClc8TKaXcz6VE=; b=Fq2WqHVeE81Nk6/Y0DGUX0PV2/hDVPJDGUYPIo3pxtCcQjIa6R//iPZadETarfnAzT tlwhSjrEN/2Mjan9gz24mXSQu9dOYhzwWdqc2Q0xT715EekdH3eg0fxIvFgM3eRLWgLN 78TZPoqHOfMK62A9ZJhEzlwmtqtbesyOCnOYd4H/O4Ti5pd09CcSkCIUY1/sj0tPY8Xc 3Wc13HH5AEC14rFecdON9Rt3tBXKBzr9b6or5LhepX6BXw5CLcEfmLZAwLOtuGpiRW// YK+q6h65xUPqiwCvAKne4a3em0MZjfum74LdoxdMkfCZkPYVK/UwQyfbfpME0PiWBIdQ h2ww== 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=6zCH4n2iYndxCImQUVO1t9gw8KAnucClc8TKaXcz6VE=; b=Nc85V2GA8Fr67aF1XZnwRGbUJPk1RFV0Ot22oFfxzlnO/cBvLVofGMlkbv/G+JugwS B5PK5O9s3yOQCKHiU1PrKSqNAf0JNK10h/jJRzwgOcHE7FYka/dqKS7RaHh4JWgOFreF DQ091TictiqqE8SRnDNHbgbcg2IEZ+wvBKuy4cGgPubu9lzeGVE+CJuxC1Jpbtzs9EG+ lIv36El8TVl7xRJTkWXJdX8YrBe3nek1OFjGZDPb5dwWUF7KWdvfOjPcKbAUuxYwMr86 GJkjNzMZa4CGVFKMeijbm8KdAbKhl0yaQtqxn8xm/dn2C1ZM4rJRAm55fDo+V2NRIssp Bx/w== X-Gm-Message-State: AOAM5318h1/WIlnzx0z6A9sHxLZUrNaKUTx240+RmcQPFF/jlc5W2IzB 0Kg+0OY7GCy13oTjTahfRODEt8Ry5DOoK505KDS7vA== X-Received: by 2002:a50:eb0c:: with SMTP id y12mr23805262edp.165.1591663613143; Mon, 08 Jun 2020 17:46:53 -0700 (PDT) MIME-Version: 1.0 References: <20200607131339.476036-6-vaibhav@linux.ibm.com> <202006090059.o4CE5D9b%lkp@intel.com> In-Reply-To: <202006090059.o4CE5D9b%lkp@intel.com> From: Dan Williams Date: Mon, 8 Jun 2020 17:46:42 -0700 Message-ID: Subject: Re: [PATCH v11 5/6] ndctl/papr_scm,uapi: Add support for PAPR nvdimm specific methods To: kernel test robot Cc: Vaibhav Jain , linuxppc-dev , linux-nvdimm , Linux Kernel Mailing List , kbuild-all@lists.01.org, clang-built-linux , "Aneesh Kumar K . V" , Michael Ellerman , "Oliver O'Halloran" , Santosh Sivaraj , Steven Rostedt 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 Mon, Jun 8, 2020 at 5:16 PM kernel test robot wrote: > > Hi Vaibhav, > > Thank you for the patch! Perhaps something to improve: > > [auto build test WARNING on powerpc/next] > [also build test WARNING on linus/master v5.7 next-20200605] > [cannot apply to linux-nvdimm/libnvdimm-for-next scottwood/next] > [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/Vaibhav-Jain/powerpc-papr_scm-Add-support-for-reporting-nvdimm-health/20200607-211653 > base: https://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux.git next > config: powerpc-randconfig-r016-20200607 (attached as .config) > compiler: clang version 11.0.0 (https://github.com/llvm/llvm-project e429cffd4f228f70c1d9df0e5d77c08590dd9766) > reproduce (this is a W=1 build): > wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross > chmod +x ~/bin/make.cross > # install powerpc cross compiling tool for clang build > # apt-get install binutils-powerpc-linux-gnu > # save the attached .config to linux build tree > COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=powerpc > > If you fix the issue, kindly add following tag as appropriate > Reported-by: kernel test robot > > All warnings (new ones prefixed by >>, old ones prefixed by <<): > > In file included from :1: > >> ./usr/include/asm/papr_pdsm.h:69:20: warning: field 'hdr' with variable sized type 'struct nd_cmd_pkg' not at the end of a struct or class is a GNU extension [-Wgnu-variable-sized-type-not-at-end] > struct nd_cmd_pkg hdr; /* Package header containing sub-cmd */ Hi Vaibhav, This looks like it's going to need another round to get this fixed. I don't think 'struct nd_pdsm_cmd_pkg' should embed a definition of 'struct nd_cmd_pkg'. An instance of 'struct nd_cmd_pkg' carries a payload that is the 'pdsm' specifics. As the code has it now it's defined as a superset of 'struct nd_cmd_pkg' and the compiler warning is pointing out a real 'struct' organization problem. Given the soak time needed in -next after the code is finalized this there's no time to do another round of updates and still make the v5.8 merge window.