Received: by 2002:a05:6a10:9e8c:0:0:0:0 with SMTP id y12csp300401pxx; Thu, 29 Oct 2020 03:01:59 -0700 (PDT) X-Google-Smtp-Source: ABdhPJygREy2Co7JTpplzDfS/Bb/d0hgo5CB93p6q1gTvhRnKCUmAnTu7TOcAJr5N/No9lhfZokE X-Received: by 2002:a17:906:5e49:: with SMTP id b9mr3269403eju.436.1603965719696; Thu, 29 Oct 2020 03:01:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1603965719; cv=none; d=google.com; s=arc-20160816; b=jqrmDlenr6PRShCi5HWeM/gTwwZZ+cqmEMak5+H+HImgydjKkriXB44DT5EsC7OCy5 2zYi1q2Dec8vv95DJuSgbGPp7cVAqDqkEBX66Hb0n3n3dxhxzZCfoWxk0EbHtri9RPmo eBN3X/YoJFRzrVq7GKEcUHq78nv5LCO0CSAqILdI0cSC5ynRTlLZB86Hovjl4D5aPC9X /0oIvIqhd6/G2FmbRm10cq+0vZ3IO1qahXPHn2TCtFXNIMPSKA+DIMDofsRSU4hkbHVP wYVjWSHLRhAGN/VoRucWJLTE5Xws7hcE2/vK5mUFnk1uDll9eV7pOV1vuD3E5x5RLxOl x5sw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject:dkim-signature; bh=daqGeah5qeywVoAuLBg8Y6KIKasDVKjxTXjK84iaWEs=; b=P0PbrNnr4d6o2wuQlJJMb0ZM7GldLNkHFNTzqWTorRRY1bIIHet6C2PghhwUhMpeBs kwd1Q5vGTcEmUlzJr4ahm8dQ3sT6IuV+o+x50BZIxGIBsvKBS7rO/9ppTeu+FnMcpdLP rwIT3cJ2R5kk0XBxTGb6JbuGiBVdfN9z+IxuSwgrLGfiLQEko+S9pr4CpmtCWnYMjAIF fFJ+y5VyeaaAzIw8Bmca7I/EqDRFwBmUbsOigRIVSXwdbLpiAJHaNa/qkiWSqGA+DEJ0 7d281X3ZmsSgnCN98T1CgFT9j0JsIzlNcqmRq2K4jePfb9UinUaTZGw27hfEvPQQhLDJ w7+Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=HVrer6T7; 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=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id g8si1588301edw.77.2020.10.29.03.01.37; Thu, 29 Oct 2020 03:01:59 -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=@gmail.com header.s=20161025 header.b=HVrer6T7; 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=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727360AbgJ2AUJ (ORCPT + 99 others); Wed, 28 Oct 2020 20:20:09 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45434 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726175AbgJ2ATo (ORCPT ); Wed, 28 Oct 2020 20:19:44 -0400 Received: from mail-oi1-x242.google.com (mail-oi1-x242.google.com [IPv6:2607:f8b0:4864:20::242]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2DFDFC0613CF; Wed, 28 Oct 2020 17:19:44 -0700 (PDT) Received: by mail-oi1-x242.google.com with SMTP id w191so1521379oif.2; Wed, 28 Oct 2020 17:19:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=daqGeah5qeywVoAuLBg8Y6KIKasDVKjxTXjK84iaWEs=; b=HVrer6T7d0T+GjdVSj+2+Dz2/JPNeBULNRibNIUtYid9vS5do7nuoExI4yDQTvZXTM T696F2zaQ235UYis8VfguwT83/U618FNpLg2t2EI6Heuk6izgP5W0mUlfoGd89bMDYk4 81JmM7cPbe+hnE8WF1AX5L8Qa8fhs+Pb32FkVrObEXYhS/1cYCb64pyEA5XxgF4oZlrf /IWxHFHhZdyNkQGDXNwRn3Di31qTkCZbInc2LvPnhrtN2TTJ6j0nPZ1bhMjfMd0PpniC DGQxn64JdNsTLdAMFA4Mh5pkCsHmRw8ebkOVtyOCdFPxN2Xdk8bwfHmgK/daFNDWlcca TNrA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=daqGeah5qeywVoAuLBg8Y6KIKasDVKjxTXjK84iaWEs=; b=BDXhB7LQry6/SsNsJzeE6+hLTP1ZrAYgZAiLPPMgPWoTh42f6BicZ7zzch4Sr15O6H 7SFYXJreYVMQwGoa2j85Yf3WlK7NnOYqo8rfV/Tx9NlrlTW7xnBy1eLH8c9VZBIuMyZo hdc2yggrH/bRLxVBuFHLHjxq1cVf+VnkSJciTbgMybDQWe8TWBJ9SKWpSkEbSl9qylb8 wCFNwcqsSJ816JH9LUTLieD1Y6pv1TD8bTQkhrjISWaVMve1MPqiUlG4Jliglr8tjzkg 18rbkaRu0XrIodmcaOthXIHdsmjTmWiw632r47FgiVtS7tMd4vcAkCPeUNOFpz/TfdS6 ecIA== X-Gm-Message-State: AOAM531rXiSd7StZPFZaRXRwvYXb27bVCKyS4ec7o+jizl3Qn/E51q1E KOnoC0mkQE7OqC2eLGsrQzvEnz1o2nTDGOiV X-Received: by 2002:a17:90a:4488:: with SMTP id t8mr5655128pjg.43.1603874853693; Wed, 28 Oct 2020 01:47:33 -0700 (PDT) Received: from [192.168.86.81] ([106.51.242.167]) by smtp.gmail.com with ESMTPSA id ei4sm4414196pjb.4.2020.10.28.01.47.30 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 28 Oct 2020 01:47:33 -0700 (PDT) Subject: Re: [PATCH v4 2/2] fs: ext4: Modify inode-test.c to use KUnit parameterized testing feature To: Marco Elver , kernel test robot Cc: 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 References: <20201027174726.85284-1-98.arpi@gmail.com> <202010280748.WUyq8OoJ-lkp@intel.com> From: Arpitha Raghunandan <98.arpi@gmail.com> Message-ID: <2721816d-53da-fa8a-d017-fe05bf6cb099@gmail.com> Date: Wed, 28 Oct 2020 14:17:28 +0530 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 28/10/20 2:00 pm, Marco Elver wrote: > 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 > Okay, I'll fix this. Thanks!