Received: by 2002:a05:6a10:9e8c:0:0:0:0 with SMTP id y12csp53934pxx; Wed, 28 Oct 2020 17:57:51 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxMiKMrcn1zJniZUgHzvM/yQfFTWvDLFvPW/kO4PxLsHZr5+D1XU/xGw6iY7e4cdOZyJ0lH X-Received: by 2002:a05:6402:754:: with SMTP id p20mr1579385edy.109.1603933070911; Wed, 28 Oct 2020 17:57:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1603933070; cv=none; d=google.com; s=arc-20160816; b=sLSGybzzhzYz7uQ/eqPQGSdWoDH6L/1SxrtYfoEg973AsT/FaaE5FVjWTSGdcqO+yV NsWdwcCt6KWEdfv9xcCkYoifR1S7iCnWkh7PoCn4dzLRPBD7Au64tRRAkl5jGIL+lCp4 FiEIGQqpq5MADX8w5mOsC99avNz9+7O3FANS4lfbmT4A/qtQHlMt9p0nql30bE+cJw2C NYtny94hAulOholOHBQmLMEyLnWektYKL5R9TcuBKIF51x/U2KTGYJF37krSnXTLF067 859RPKtPeZHEDgg7+jP5Gy69+P2zkHlRqSSe92vm0w7bNeaUDeClPY3RxEKZVVkQ/MXJ Hj0w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=oi3DVB8F/e6EwkVxfJQHDyhN7VFOzS0P58Y6d1svvv8=; b=lKUmP9xmslUzok1doyQUN5ry7sEoh6MasHCbTXGsBS+5VA88jHQ7w5Qh17JEYoRPCv 3WvvDmdGdJXa4MmRgNG4+hqtxMI2SmrIOqm1J27tUmFVHvswN34xXK+hXRh4+2ErcthZ GcaM46ZD8IXpEDhAiJUGU3WVNcZY9jFoK5Uyau6N27nYWmWyVNUsQ5EdAEQwHcS0QS0H LPYMdptr4VsxUg1aWINSl9VTrtOAwuVqUWYy0Jw6QHyrSRzQDZn8PyfjHLMRABTjRvjs 9mc8+bc/vgABADknZQbAgb9vUTbvw5H2+nfzSlYJQKS7zTwJXziXqioQHhamWRCd3o+W +nNg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=jXVmiXZu; 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=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id s20si756375ejy.78.2020.10.28.17.57.28; Wed, 28 Oct 2020 17:57:50 -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=@google.com header.s=20161025 header.b=jXVmiXZu; 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=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728434AbgJ1Vxq (ORCPT + 99 others); Wed, 28 Oct 2020 17:53:46 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49332 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727426AbgJ1Vxn (ORCPT ); Wed, 28 Oct 2020 17:53:43 -0400 Received: from mail-oi1-x244.google.com (mail-oi1-x244.google.com [IPv6:2607:f8b0:4864:20::244]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CD10BC0613CF for ; Wed, 28 Oct 2020 14:53:43 -0700 (PDT) Received: by mail-oi1-x244.google.com with SMTP id x1so1105423oic.13 for ; Wed, 28 Oct 2020 14:53:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=oi3DVB8F/e6EwkVxfJQHDyhN7VFOzS0P58Y6d1svvv8=; b=jXVmiXZu8yXdx16UWUKRRcQW3d958GquYkHbBD+UBM1BPN+6qvYgJfy3VeQGJ24Er9 Zyy9kg0kOBFCkTfmlt7AEiymxOS24MvSVlxaGJlT6LDTdTo3HkObCm3o5CAvLdeKuEd1 1MwK/jhtdR6eAYlD5msixjWuvxQ51caQvrx8vzMywcPUfkh8s7wGVU8/y0uZQxmO/dSK rmwJebMNGW26sQmiMxBvnwuNwp15brRu5elZDrXOKsuAB9tEMmk9UYuC0pciTb+7Cu89 UkP+tgbtvoWYq7vgxJZkAf1eJgARDuCB6qEs7dSVONNSpoDituc/ejF+0MtQZoDaGf07 PDWQ== 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=oi3DVB8F/e6EwkVxfJQHDyhN7VFOzS0P58Y6d1svvv8=; b=VfrnHcUp0DkCvMs8YpavIWrSAsvxezrHaZYgqCzyGzAQ35Br/FfJzq8zQXxwrsi0nd AFOQToYv+eaVjTHyVx1Vlh3xs6l2lcAlYmTU7WHyj9QdYeqIyaT0cja+KQjmW6b0ea8F dlmNEWN6Rkz0oIS3upM0XuNe9mN7C3rNjHemdCCw/Ov6ooyagurcsh59xvtbd+rmxoBW ZzvfSDz3ci2VizDGeiJZCnDSu0kU0keMVmxzLKHSaX5TTRGu8Mef0Df8l9W42Z35/es5 6khIf6ae/a/kwf9xj1t+JGB2B5NtqEh2WRpMzqshzZB0xpncRwfgbktrrIiv2YWVCGzH CkWQ== X-Gm-Message-State: AOAM533Epz/w80K4x9u182t58wrnOXpWrr8J8kyLe0f8p22I+qf3hteG I2MpYu936+fxlYSiUrlchQ5Rp0Im/zES97hTC9i9OXuPl0c= X-Received: by 2002:a54:4812:: with SMTP id j18mr4608973oij.70.1603873837192; Wed, 28 Oct 2020 01:30:37 -0700 (PDT) MIME-Version: 1.0 References: <20201027174726.85284-1-98.arpi@gmail.com> <202010280748.WUyq8OoJ-lkp@intel.com> In-Reply-To: <202010280748.WUyq8OoJ-lkp@intel.com> From: Marco Elver Date: Wed, 28 Oct 2020 09:30:25 +0100 Message-ID: Subject: Re: [PATCH v4 2/2] fs: ext4: Modify inode-test.c to use KUnit parameterized testing feature To: kernel test robot Cc: Arpitha Raghunandan <98.arpi@gmail.com>, Brendan Higgins , skhan@linuxfoundation.org, Iurii Zaikin , "Theodore Ts'o" , Andreas Dilger , kbuild-all@lists.01.org, "open list:KERNEL SELFTEST FRAMEWORK" , KUnit Development , LKML Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 28 Oct 2020 at 00:50, kernel test robot wrote: > > Hi Arpitha, > > Thank you for the patch! Perhaps something to improve: > > [auto build test WARNING on ext4/dev] > [also build test WARNING on linus/master v5.10-rc1 next-20201027] > [If your patch is applied to the wrong git tree, kindly drop us a note. > And when submitting patch, we suggest to use '--base' as documented in > https://git-scm.com/docs/git-format-patch] > > url: https://github.com/0day-ci/linux/commits/Arpitha-Raghunandan/kunit-Support-for-Parameterized-Testing/20201028-015018 > base: https://git.kernel.org/pub/scm/linux/kernel/git/tytso/ext4.git dev > config: mips-randconfig-r016-20201027 (attached as .config) > compiler: mipsel-linux-gcc (GCC) 9.3.0 > 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 > # https://github.com/0day-ci/linux/commit/2de1e52708cd83d1dc4c718876683f6809045a98 > git remote add linux-review https://github.com/0day-ci/linux > git fetch --no-tags linux-review Arpitha-Raghunandan/kunit-Support-for-Parameterized-Testing/20201028-015018 > git checkout 2de1e52708cd83d1dc4c718876683f6809045a98 > # save the attached .config to linux build tree > COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=mips > > If you fix the issue, kindly add following tag as appropriate > Reported-by: kernel test robot > > All warnings (new ones prefixed by >>): > > In file included from fs/ext4/inode-test.c:7: > fs/ext4/inode-test.c: In function 'ext4_inode_gen_params': > >> include/kunit/test.h:1735:58: warning: return discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] > 1735 | return __next - (array) < ARRAY_SIZE((array)) ? __next : NULL; \ > fs/ext4/inode-test.c:214:1: note: in expansion of macro 'KUNIT_ARRAY_PARAM' > 214 | KUNIT_ARRAY_PARAM(ext4_inode, test_data); > | ^~~~~~~~~~~~~~~~~ So this means we probably want to make the param_value, and the return and prev types of the generator "const void*". Thanks, -- Marco