Received: by 2002:a05:6a10:6744:0:0:0:0 with SMTP id w4csp756072pxu; Fri, 23 Oct 2020 12:26:03 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzv+7Mb/neisNvT620UkQQoQJ2a2oG/BCp4m814xMk8+le/l3rEp+IQsn6XPwhvejiS0gpy X-Received: by 2002:aa7:ca52:: with SMTP id j18mr3602041edt.147.1603481163623; Fri, 23 Oct 2020 12:26:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1603481163; cv=none; d=google.com; s=arc-20160816; b=O0LiF38bIKj9XGOhTH/y8NCWu/svAlm+MI2H/mmZ2IxPRyVDfEL9OAk2I9AmMonJxJ 7ku7HslqeboSnJKyfjzK2yOoCiZOAjY50dce7+wzLP1S888l4cOoy2hrgP4OwZQTrVQ2 bQlirTeZSPdwJyCg3FqCU/a+XrHuYs5aKWY9oUfxYWmYQsB8XwBbiRq2p2qwx1KVERu1 xW6B0armj3fkvFPko8+LftYvdSO83Fcj5FMPswCj9G5wLovH3UtccpNkzpT2jNFPR+96 /CWuHxv/L5KUXkJkbIpUbuS3XxBHf97VfRwp1Y7K2cTt+8zItnRBBXLcjxzsv0Wgrk1+ uJfA== 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=EoT3yWOrSBsazr0sI34MLouxI66P/1yaiC+BUbvBhVc=; b=jOgQ4eDG3i18WpBWl2FmapOmgNYI1uyps8XuFE+ILnB5do+Tfy4hQcUhHyBym3n4Ua u3RVboaPCULCeYnrvpN/fVlJIJLtNXXb/KJFzjA1ONlbl/G5Ez4n24D+JmykcoIKSj3p 93by/Xp5sFa6/JMWtTSMSlro4KVsXU/0OcHFelBN+8D44QsYu07OacVefw5GleafQqh4 TrJML22WtwU1ZIFDRVXx8SZdJascQW8MgYcTGlax4umMMBrwreqWFcsVg0YB9ErJSgM1 bt0q0TId/cHy0X9DClg5qm1O3H4Qpf+imD4DmbnCHb2ARpuo2Gl5LA3JWuzm+xAYrf20 urNg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=EJJbzOU5; spf=pass (google.com: domain of linux-ext4-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-ext4-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 a20si1669906edn.39.2020.10.23.12.25.40; Fri, 23 Oct 2020 12:26:03 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-ext4-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=EJJbzOU5; spf=pass (google.com: domain of linux-ext4-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-ext4-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 S1750893AbgJWS4d (ORCPT + 99 others); Fri, 23 Oct 2020 14:56:33 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43186 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S375474AbgJWS4d (ORCPT ); Fri, 23 Oct 2020 14:56:33 -0400 Received: from mail-ot1-x341.google.com (mail-ot1-x341.google.com [IPv6:2607:f8b0:4864:20::341]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2596AC0613D2 for ; Fri, 23 Oct 2020 11:56:33 -0700 (PDT) Received: by mail-ot1-x341.google.com with SMTP id h62so2262163oth.9 for ; Fri, 23 Oct 2020 11:56:33 -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=EoT3yWOrSBsazr0sI34MLouxI66P/1yaiC+BUbvBhVc=; b=EJJbzOU5YcXKkZkJyjL044nb3GvCvkwsMdiMk8c6ng9UPQusWKKAKoYX1hw1D3P0+0 XVpiXrnDohOvhglPaqqPDAf79YnzuWImu40KRK7Gxr8SIVczB6bo/S3Tg2+ubugJAc04 BIuaRzNEU/5rrO3ph+ep/ia/bOck5Hth07qBG5GVBDWX5cmBO2H9cD/pt+4ZYT2ygyY0 1ash+G4niL3BBnn5ekGYwJKc8HunAjw3UsdpiNHcgfW7T/9f+P4DUB5yNEqtZt3Ik53t zAN2Hhf3YhU0S1HAGyXw/4pz+UCDUHz3wbf65y+SwiujWN7058OFstD+XJs4AOk6s7sv YFww== 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=EoT3yWOrSBsazr0sI34MLouxI66P/1yaiC+BUbvBhVc=; b=or2byIG4elaPOcgBe0vTXKHRY7UsmLFLjHo2f9z7YKMUwsmlNWZOqps3wZKLduieTf r1pLZ5yWTqdL3EQAU5nAOTPnnxkF4cy7Rj80vmCWxa4XJ1HfK8ah+wprCrqbzDE8a7F8 KjZaBhOf6qxHwPlcDiVGJNPUEi8dK0CzZLthbscn/v9g3kudBrUCt7VtimDdvox3HusQ uhFT/kh7KzsDpSCdeLMOwcfbEPIkCTOeK9KC12dxyOCA9kGpTZZ+K2C6zfWO1m01ohml gFsYxnRbCBZ5Wg19WkinlUZlanX1JRXFY8elZkUE9pyfMDvKTLtO66l7+MbCvuG79FR4 RTiQ== X-Gm-Message-State: AOAM533gPtRW9aQ+x81gTvQPCD8a2Ln7JTYeIcJEdE7t21iyyFhO1LJw 0y0IqQQu2bwHyt9mkENEKET4xQUWTEUtt1rMV6tpbw== X-Received: by 2002:a9d:34d:: with SMTP id 71mr2539238otv.251.1603479392382; Fri, 23 Oct 2020 11:56:32 -0700 (PDT) MIME-Version: 1.0 References: <20201023150536.282568-1-98.arpi@gmail.com> <20201023184803.GA3922681@elver.google.com> In-Reply-To: <20201023184803.GA3922681@elver.google.com> From: Marco Elver Date: Fri, 23 Oct 2020 20:56:20 +0200 Message-ID: Subject: Re: [PATCH v2 1/2] kunit: Support for Parameterized Testing To: Arpitha Raghunandan <98.arpi@gmail.com> Cc: Brendan Higgins , skhan@linuxfoundation.org, Iurii Zaikin , "Theodore Ts'o" , Andreas Dilger , "open list:KERNEL SELFTEST FRAMEWORK" , KUnit Development , LKML , linux-kernel-mentees@lists.linuxfoundation.org, linux-ext4@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-ext4@vger.kernel.org On Fri, 23 Oct 2020 at 20:48, Marco Elver wrote: [...] > > + */ > > +static inline void *kunit_param_generator_helper(struct kunit *test, > > I don't think this needs to be inline, but see my other suggestion > below, which might make this function obsolete. Ah sorry, it's in a header so we might get complaints if it's not inline. But in any case, if you use the KUNIT_ARRAY_PARAM() macro I proposed, this function will become obsolete. Thanks, -- Marco