Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp2386354yba; Thu, 25 Apr 2019 15:47:47 -0700 (PDT) X-Google-Smtp-Source: APXvYqysfrbUNgnnBBmTOKTCX7VJZO/l8LoAu9NTj1rxUHkD2MhuZS8F7y0BwstuGdMtD2YwtbR4 X-Received: by 2002:a63:4c:: with SMTP id 73mr39950546pga.210.1556232467675; Thu, 25 Apr 2019 15:47:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1556232467; cv=none; d=google.com; s=arc-20160816; b=ai+/LI6XsknainC3YOWaS/AVAYupbpaaeWJLyJ+ur7dhNbKNo3UJsK54SJi0fHTVJB iIw0+EDuPMgLUDpyPahXMnR5D2mfH2JaVY+MIDzkhlJx2WnsYiZOQY3fmdyWqsSXatAy 4yZi0Yr6qqaI6yS4+J1/s3WBNxZBA1yK6KGHFlZURO0PasePpON/MbujhAf6gCpjhCva UR77Rd5f3EoYinlt847abL3JGah7Qw3GRhLcP4dJobPRbOfXM14LjB9Kn4tyI5U1UuUK yDaLgqfHlrBx+BPphcW1jdHdimkJCQ5NbO9XpN4RJ0yIoa3dUObOcLIFkEp17kepdetW NRew== 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=RGUgSN/1MuaT0sEkx4/PHOTF00tRdaquGMmXyWySbhU=; b=fsi5z+dcSz+FLec5NE+Gib6pVWyZK8TNjpRL+kYZ+8VXKJ09VHodlrFh+RR/GQZqaf fBATIdn5CuAaXj7jOsvUClaKF683azsoWlaG6m1YfEIVfSMbu5Gw5PktumxIxKm5ZClw 3K59QYJwKTVaSTUAFvXqVKQflNwmo1QWB+99FyJaRHo/Mo99jcVtpHsNF1h5Am7CJXFs ++Mpqtcm6o4oHE40Msc+kYsC6Udb4aJyUrKa6/dVzz2Mh5aZtncZRv4OjUr4Z6znNjGf v9MwSazGb01B9sVHe6opH99QMZBgqmmb5chxjXfPQgzAVvvuKDSLx3SkKZSiqGMcxKk1 ReSw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=edaqH3pX; 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=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id t14si24094091pfa.102.2019.04.25.15.47.32; Thu, 25 Apr 2019 15:47:47 -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=@google.com header.s=20161025 header.b=edaqH3pX; 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=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726199AbfDYVhY (ORCPT + 99 others); Thu, 25 Apr 2019 17:37:24 -0400 Received: from mail-oi1-f196.google.com ([209.85.167.196]:37252 "EHLO mail-oi1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731255AbfDYVhX (ORCPT ); Thu, 25 Apr 2019 17:37:23 -0400 Received: by mail-oi1-f196.google.com with SMTP id k6so1312317oic.4 for ; Thu, 25 Apr 2019 14:37:23 -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=RGUgSN/1MuaT0sEkx4/PHOTF00tRdaquGMmXyWySbhU=; b=edaqH3pXiEXpUmitUuXFWk+YsMBzEo/wRbafWYnIriVAmTmf/hZDKMWYzoNNH8oP+R bC+L8TVKnbipZ4SOAofD8rBq1yG2z/wZSk50Q9P9Yr1DrvXxI8TDrkMs++R6/OonwdO9 74izLWERfec1GdE1xNOK3wfairC7wD1IwRBd6Vw26OFYxJBjlOnzqt22cTdMjpIcf37o S+DIWo9AGr3T1ABXIchf3VePE0iuwngS8Nc9fclUuQwhkZbwhtqheo4mssjcPl+ztLbU 5EcZE3o5HkugWFjrsIq8GzxRoyNKX7lmKmESdN8Ehi+ur56DpKR30L5vQHX/a3wC1u6P D1mA== 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=RGUgSN/1MuaT0sEkx4/PHOTF00tRdaquGMmXyWySbhU=; b=LDI6uwGOUvBLvX+Q0ZshEFZPf2jK+j6y3nkb7muYiBP8EXjfduEypBSBcS9R2vDYgs /fzMW8SutMuUeN3CannrprRVbYDWe8MwYbDEPpUJlFe+nIHGAWnFVbYHtFkZqEh6Tkf2 Olhx+iixPOXCfdV70bPm+a3WTqNv6W2sWpZ7NGEkCWb2TGhRgm0y6JasdqvLLjsfrw1J mtQhvkXm3ZqmRWBVWLhx+AjXbfi5ysJ2eZJUvq7D9lD6ZCVYQ2AgaCsC6vQ/ATv4T6Z6 oyw77pD2lMo17BDNEVq3AzOSC+hoDoIONkuLzkPhnzBK/HfJAEGTr6wKNFuwOqCoZjs8 sM6Q== X-Gm-Message-State: APjAAAWhlYsiSq8g5qHsZWs5EoXNpSHuOXlAwcV+i6C0ZpWmMYWjDjx8 bdy9WH3237Da22KSU4J8wsZY/Z+ca8Xv1aJremW+Ng== X-Received: by 2002:aca:4586:: with SMTP id s128mr4538562oia.148.1556228242522; Thu, 25 Apr 2019 14:37:22 -0700 (PDT) MIME-Version: 1.0 References: <20190404220652.19765-1-brendanhiggins@google.com> <20190404220652.19765-15-brendanhiggins@google.com> <20190424185813.xabwr4lt6aunvpsd@gabell> In-Reply-To: <20190424185813.xabwr4lt6aunvpsd@gabell> From: Brendan Higgins Date: Thu, 25 Apr 2019 14:37:11 -0700 Message-ID: Subject: Re: [PATCH v1 14/17] Documentation: kunit: add documentation for KUnit To: Masayoshi Mizuma Cc: Jonathan Corbet , Frank Rowand , Kees Cook , Kieran Bingham , Luis Chamberlain , Rob Herring , shuah@kernel.org, yamada.masahiro@socionext.com, Petr Mladek , linux-doc@vger.kernel.org, Amir Goldstein , dri-devel , Sasha Levin , linux-kselftest@vger.kernel.org, linux-nvdimm , Kevin Hilman , Knut Omang , Felix Guo , wfg@linux.intel.com, Joel Stanley , Jeff Dike , Dan Carpenter , devicetree , linux-kbuild@vger.kernel.org, "Bird, Timothy" , linux-um@lists.infradead.org, Steven Rostedt , Julia Lawall , kunit-dev@googlegroups.com, Richard Weinberger , Greg KH , Linux Kernel Mailing List , Daniel Vetter , Michael Ellerman , linux-fsdevel@vger.kernel.org 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, Apr 24, 2019 at 11:58 AM Masayoshi Mizuma wrote: > > Hi Brendan, > > KUNIT_ASSERT_NOT_ERR_OR_NULL() should be replaced to > KUNIT_EXPECT_NOT_ERR_OR_NULL(), right? Generally speaking, no. There may be places that I have used it improperly, but I think it is generally okay to use. If you are refering to the discussion with Frank and Stephen in RFC v4, my take was that the resolution was that there were some things I needed to fix in its implementation, but it is conceptually okay, and that Frank doesn't want me to use it in drivers/of/unittest.c. Consequently, I fixed the implementation issues that Frank and Stephen pointed out, and I am holding off on drivers/of/unittest.c for this patchset. The usage in this file should be fine. > > On Thu, Apr 04, 2019 at 03:06:49PM -0700, Brendan Higgins wrote: > > Add documentation for KUnit, the Linux kernel unit testing framework. > > - Add intro and usage guide for KUnit > > - Add API reference > > > > Signed-off-by: Felix Guo > > Signed-off-by: Brendan Higgins > > --- > > Cheers