Received: by 2002:a25:683:0:0:0:0:0 with SMTP id 125csp4191710ybg; Mon, 8 Jun 2020 01:10:47 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzCzn3RHFx6valc7O4ie9Fh0pjHOzjESSxYkR3U7hR/jXFr8TPaPz5MXCSt8T/F6mow1bXa X-Received: by 2002:a17:906:ae5b:: with SMTP id lf27mr1792610ejb.156.1591603847319; Mon, 08 Jun 2020 01:10:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1591603847; cv=none; d=google.com; s=arc-20160816; b=hYKpqO9GJc71nijbzhNxq7PCoPDTwVrhgdbBpkDxnZ0RYmMbzQ+J7U6rrlp8fjAx1h YciB+jp8ux9+lop1sEEnA5eE6BOKugfKLmupmO+kkOikNajWF+Klf19vSUs33y9jIyj6 vGSof6Q1k9K0CjVghdXdSY0/A5Ao+2sr/SYE8g9n6VE6D7NP4opfWO5sflYvsF7Mezsd jXNMIspalrFJ5a23ozf0LPeDLoOc99m6Ef4Li8ktYRNzsSL6mpw8MK3JiVMwNvJEbVLR NLavXj3uthHjrfGI7GvlelDwl77pa+g9apFk1C+PBN5EkwdFBLRp56JkRxRscl2Fshp0 MiHQ== 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=OQDiv2NQbfMFJBkZJYSSq2jlEX3XxrJprRPlx/0KuQA=; b=cDcyIgs15GUz6B7jEu5KUzXVquHVZXq2OVQL22WY6f3y+hEBdXPQtfvaWl594qke4a KQJxKVbbriqQMblJJuAeKLO3DNTZdKnU8LEaGZ7iSPndQvW5TyR6UV1p0dCe+kESdmS7 +7Vw6z9ujsvh+KS1epYOE/Vem/TOQ2lTO0AehUdk18d/QhVFvntLm5leFYC/orDqw6we A6EnCi6rIH+3NH9ivIuDiHcbFH7YPSnqXz+o9+hK/yt8CI6ylr3t0OaaP0Xs5JWKdnit xS9XijO8vvGav9TPAEtrYFz35Ar8ADhRs6YE+IlIKDdNQNe9pg561txWAOaB5AhViFbJ 41TQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=cJZB4FIC; 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 a6si9125192ejt.383.2020.06.08.01.10.24; Mon, 08 Jun 2020 01:10:47 -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=cJZB4FIC; 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 S1729111AbgFHIIR (ORCPT + 99 others); Mon, 8 Jun 2020 04:08:17 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39688 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729011AbgFHIIQ (ORCPT ); Mon, 8 Jun 2020 04:08:16 -0400 Received: from mail-pg1-x542.google.com (mail-pg1-x542.google.com [IPv6:2607:f8b0:4864:20::542]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9A9E3C08C5C3; Mon, 8 Jun 2020 01:08:16 -0700 (PDT) Received: by mail-pg1-x542.google.com with SMTP id r10so8380827pgv.8; Mon, 08 Jun 2020 01:08:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=OQDiv2NQbfMFJBkZJYSSq2jlEX3XxrJprRPlx/0KuQA=; b=cJZB4FICUu3KsUPclLgz/uUu9TPtFp4piP137A9Lv5d8DYmn1XRjo2GjBJn1PROuLq pTaYVALsOneSrraQy7CMEMAlU3iD3eUJ7XHdtJpjk9jUcFtHgYXjLhAcmI0OlAGBLGoM owk4Qrum1QXMnoGftHPouzD3Oc2z+xyKcpGQj+nHMmLvB6RJXTPn2Yo5ZroAkVz0JTdE ioDXm7we3uIiuhmXRESW1krIjKkIXCCI+p9JgOHfS1BwwJm1wVxtlcdbMMlMKbCAAXLf 9EROpC/EdB3Y/AKA7Y7a+xqjKRmUzUDLpPRHy/zImk4VtD4lyQGgBNz1LVLBM+o290iS fbyQ== 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=OQDiv2NQbfMFJBkZJYSSq2jlEX3XxrJprRPlx/0KuQA=; b=rw2TUEP07niXyE3/jCb/rHTRjkNxPYdpFGkUylfIBqxwiTic3UxQ6u5yEIKijCggBb zgx95bgFeFqLJiLFFc+U7TmiAp8cykdGA8wh8wrZiL6oMb5DzVqzABOK0pP1efpf1BFT yKuz8m7IwaTGF7bjZq2BYLisjDWZfg8LwLs14Vqb7n0zRB7NjrkPjXZcmTrGCscglv5l rDTAwMjViJChsBppjR+RV+W1UJi+DATOyHS+i7aVAZgDzh44T8x9XPJG29IL64/EfdxW 666DpvR4kRnWvDhqKKzaWDp3jmpI6+HX0Uvx5Lf8Op163lvIRdpTQWBPwwUN9wNM/o9o dmxw== X-Gm-Message-State: AOAM530SSM109qNQrVOMQLe96Nsf+w+3npHV5B7Msz54A/ce+5CUxJVq fKFtLk89wDaI/sPgqTmRYR7II7B1tF3ulCZJBP0= X-Received: by 2002:a62:3103:: with SMTP id x3mr3642722pfx.130.1591603695940; Mon, 08 Jun 2020 01:08:15 -0700 (PDT) MIME-Version: 1.0 References: <20200604233003.GA102768@rikard> <20200607203411.70913-1-rikard.falkeborn@gmail.com> <20200607203411.70913-2-rikard.falkeborn@gmail.com> In-Reply-To: <20200607203411.70913-2-rikard.falkeborn@gmail.com> From: Andy Shevchenko Date: Mon, 8 Jun 2020 11:08:04 +0300 Message-ID: Subject: Re: [PATCH v2 2/2] bits: Add tests of GENMASK To: Rikard Falkeborn Cc: Andrew Morton , Arnd Bergmann , Emil Velikov , Kees Cook , Linus Walleij , Linux-Arch , Linux Kernel Mailing List , kbuild test robot , Syed Nayyar Waris , William Breathitt Gray , Masahiro Yamada 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 Sun, Jun 7, 2020 at 11:34 PM Rikard Falkeborn wrote: > > Add tests of GENMASK and GENMASK_ULL. > > A few test cases that should fail compilation are provided under ifdef. > Thank you very much! > * New patch. First time I wrote a KUnittest so may be room for > improvements... Have you considered to unify them with existing test_bitops.h? -- With Best Regards, Andy Shevchenko