Received: by 2002:a05:6a11:4021:0:0:0:0 with SMTP id ky33csp3910916pxb; Mon, 27 Sep 2021 05:32:09 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwnh0Cp64ZTcloypz+4emYOQ54CRYtsQqm0Q7KUfVGekTsjp4FHYFM/SN3Q/Mse1N2aXxYc X-Received: by 2002:a17:906:1945:: with SMTP id b5mr26276297eje.347.1632745929508; Mon, 27 Sep 2021 05:32:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1632745929; cv=none; d=google.com; s=arc-20160816; b=z9N2AmQrMz696GqXvwK+Vrct5JsO2rzrn5PA3HZZsOsDlKRn0DY0xJ1eFJFDpEPp2Z DUYAgFQXycTbXWbGK2huz0su8nkwtS7bdMpBqht++6ZJ7gN0abDA74Uq9iuI+2IZeX5u mpoIK79yx2N+LjyTwDseW4+mh73twHTFPRrDV1HrDBfXPYQNSJdAoVkh1iIp0Nbz+9NT ODyh5L/jwFJtGKrsn1uXkIeDptpfq9IZyxtCjRAhcQzAQj5tSONxi+fjQEMsXSHackWc V6gE+DzQYnQ2GFcHRxyMLuiyvKtH+7Yc9bxv+iZGn7RKThYzEaM5TAHfm+K1PFUNONh4 1OcQ== 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=elnv/dvTCghhthSbzUFQClfuNaZTFLaDjWJp6GbnFH4=; b=ES13CjCQoookFtFo0Zp+rjKZxwr7sqDnURB4y+KhLixYS+5Z4NO4j/1xuPBwwdGXx0 rv6VKtH8ykAVnmXMn3sliB48SKUe0ql/0NWHhsij4mHdtNiufmVAKwzsNc+SHxA2MG4m oW8jJacsML+knMZG0oR2H79CR7WLwevo0II0SFc19UhNgAE/tvaCr1sBC3jturov47do L+/+PVAcFJQQ+8Dr3ereQOUnxe/5mZEoDGkl+TVQRexNTh0lVxbzU96SXJcM9SqYJ/Gb q0/YtGWW8R8SHid8r+SmItS14LtXD8PbRZLh3QUVa0J51/wgJydkThdMiauhqiiXopyH nFzw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20210112 header.b=XwYTs8G9; 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 k18si9994423eje.257.2021.09.27.05.31.44; Mon, 27 Sep 2021 05:32:09 -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=20210112 header.b=XwYTs8G9; 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 S234292AbhI0M3b (ORCPT + 99 others); Mon, 27 Sep 2021 08:29:31 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57160 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234226AbhI0M33 (ORCPT ); Mon, 27 Sep 2021 08:29:29 -0400 Received: from mail-ot1-x336.google.com (mail-ot1-x336.google.com [IPv6:2607:f8b0:4864:20::336]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B0810C061604 for ; Mon, 27 Sep 2021 05:27:51 -0700 (PDT) Received: by mail-ot1-x336.google.com with SMTP id x33-20020a9d37a4000000b0054733a85462so24151876otb.10 for ; Mon, 27 Sep 2021 05:27:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=elnv/dvTCghhthSbzUFQClfuNaZTFLaDjWJp6GbnFH4=; b=XwYTs8G9luBiF4vsPYyk3cifUaOLLBwCUmzHsdH+fgZBRzy0bwqFSonEbSwuNs7R4S KLAi4gvWpA2aSixcCYQVH2wQPM/KEh8i7Uk9v1jfk+sjRPftQnJN8/wNxE1iN3QL0+oz rlTs5ka14QkhiIFFH/pdp04AmzLx+8oKn0TU7t3jLTnaOnT9AnwTD6xAVH0YfyWU2mUr McdEmwsypSuxPMb9qmMO2KhxLbqRF45Ve2Rm6wdZPtBao6Bwapd0OQiMuxVdR1e6BD2S 8tQnVPyqOK1g9EW1Kmnri1XipN9eLeXL93GpI/HrPX6Oz7hMtf1zYCTBwZBqYwMpUfTz fdag== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=elnv/dvTCghhthSbzUFQClfuNaZTFLaDjWJp6GbnFH4=; b=f0bqi/D1V0clEmLIfSKOQ8094wGDeZku+cOHbaNODMHN9XlqmYrmFx4YH2lmDVfZ5A CQCEU4kUwlxWuQO35R1wevnvAo+Sc+DJv9SnzwSlnMIIpSH02v75Ps8wRnzfAJ4jU64J GvWjzgltLGL/R6prwW12bGAc1GKbtOQ+4Imv4lwk5V5olAbUuPsXPNdyadt8r4sYVDLC zXxgGL6DmoUMeOW173d/jDQ1tAWj5XbP99eFILGEPGOnd8WUQHARFknQGQL69Ft/7rrV l+ywmvZt8DftC4wI+TSuvutQ9sH86X7na1oSHbG5dwmq3H2w39Sa02HApWyxwxxwJpzb txnw== X-Gm-Message-State: AOAM532QjS8x7+hgc1o9vtS6y1X1yJc4tjUBdHdsE09AVgliYnBzm0x1 H9VuhIq2moKxp1RHiYrEf0VccygG0t/T1n/5UwPZ3A== X-Received: by 2002:a9d:135:: with SMTP id 50mr16747038otu.295.1632745670769; Mon, 27 Sep 2021 05:27:50 -0700 (PDT) MIME-Version: 1.0 References: <20210926223322.848641-1-isabellabdoamaral@usp.br> <20210926223322.848641-4-isabellabdoamaral@usp.br> In-Reply-To: From: Marco Elver Date: Mon, 27 Sep 2021 14:27:39 +0200 Message-ID: Subject: Re: [PATCH v2 3/5] test_hash.c: split test_hash_init To: Isabella B do Amaral Cc: Geert Uytterhoeven , Enzo Ferreira , =?UTF-8?Q?Augusto_Dur=C3=A3es_Camargo?= , Brendan Higgins , Daniel Latypov , David Gow , "open list:KERNEL SELFTEST FRAMEWORK" , Linux Kernel Mailing List , KUnit Development , ~lkcamp/patches@lists.sr.ht, Rodrigo Siqueira Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 27 Sept 2021 at 14:03, Isabella B do Amaral wrote: > > Hi, Marco, > > On Mon, Sep 27, 2021 at 5:17 AM Marco Elver wrote: > > > > On Mon, 27 Sept 2021 at 00:33, 'Isabella Basso' via KUnit Development > > wrote: > > > > > > Split up test_hash_init so that it calls each test more explicitly > > > insofar it is possible without rewriting the entire file. This aims at > > > improving readability. > > > > > > Split tests performed on string_or as they don't interfere with those > > > performed in hash_or. Also separate pr_info calls about skipped tests as > > > they're not part of the tests themselves, but only warn about > > > (un)defined arch-specific hash functions. > > > > > > Changes since v1: > > > - As suggested by David Gow: > > > 1. Rename arch-specific test functions. > > > 2. Remove spare whitespace changes. > > > - As suggested by Marco Elver: > > > 1. Add struct for carrying test variables. > > > > Did the patches get mixed up? The struct doesn't appear to be introduced here. > > Yeah, thanks for the heads up! I must have mixed the messages when rebasing. > Sorry about that. The struct was actually introduced in patch 2/5. Do > you want to > have a look at it or should I send the v3 with the correct message before that? For review it's fine as-is, given it's a trivial change, but the final series should have it in the right place.