Received: by 2002:ac0:e34a:0:0:0:0:0 with SMTP id g10csp585520imn; Thu, 28 Jul 2022 09:38:02 -0700 (PDT) X-Google-Smtp-Source: AGRyM1vtwTQe8xQnWcK9AbNJQGjFbQMZ2piX0TeXRdbsrp0GGjwJactH//l8ZGGIsjS+vMG/RUU8 X-Received: by 2002:a05:6a00:1a56:b0:52b:f5ad:3741 with SMTP id h22-20020a056a001a5600b0052bf5ad3741mr20464667pfv.64.1659026281845; Thu, 28 Jul 2022 09:38:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1659026281; cv=none; d=google.com; s=arc-20160816; b=ugR+HoKuPjcou3eFUrYQWwZDyF+nf5SUhDkbK54RYFE4lrHbHmVRTh5cLyg/WZ20D7 Lr0hvKPtCTWNje5vvVAvcRF3U/guPd8MjkkHCMWNjMyUpiFFHGOBeDojNEGSZ4D7+afF WdmjqUD0p83LpHn3WgddsHqNa5x+NfCxOqxBNAsG6egLzjoq/T90D8+hB7rRTci8XdcA J6B9GmxAvcSR/FO2vnuBZ7POrQSjzUmlmc8C3AwqFDmIKevt569dHWFF+pRoGQlSqBc3 xpELH9dAzLOY0htqB4/3cU3BaxxfUuCKPjZ8vtQTp/YDQtHOfZsZ6MyIDJM/J32D6LtO hM8g== 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=WuvoJ90b2lCyCsNl1uoWkwZZ34W9Zu4j6EvkcDdXVwQ=; b=Embt8Nu3BBm3nZfcS95bZ1jNWo/+35Lz6s5v/6aMvcxj8vhmq24lh3cRQTgkSCV7Oh S4aT6pwDgPFp/NfG/phtnSGq+sl91RXvCvQ84+le2nCXg7ogHwXDS+5HVmaABM/DH3iL McZVpndk32nIOc4VHxyst/YGN+bLDrwcRqF2ZQ7wQZFNBgrvaJvqfUBD5Dt1z9xg83j4 944UFDoSXT1JEt/KfjHkj0VRhf3Fcs5RLidf6f7O+V4bmMTuvPildWSn+QH4cmeXObCh kA5gASXwxFU+xmYrco3qPyOnUctj5bmhaUrygAvx6qLenmzuXo/OmeeAxGfwp5wW0ZJm yWeg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=jvQqyGbQ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id m11-20020a170902bb8b00b0016db43e520esi1315932pls.190.2022.07.28.09.37.46; Thu, 28 Jul 2022 09:38:01 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=jvQqyGbQ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231191AbiG1Qfc (ORCPT + 99 others); Thu, 28 Jul 2022 12:35:32 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49760 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231928AbiG1QfT (ORCPT ); Thu, 28 Jul 2022 12:35:19 -0400 Received: from mail-ed1-x52f.google.com (mail-ed1-x52f.google.com [IPv6:2a00:1450:4864:20::52f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F08EC26C4 for ; Thu, 28 Jul 2022 09:35:14 -0700 (PDT) Received: by mail-ed1-x52f.google.com with SMTP id z22so2857082edd.6 for ; Thu, 28 Jul 2022 09:35:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc; bh=WuvoJ90b2lCyCsNl1uoWkwZZ34W9Zu4j6EvkcDdXVwQ=; b=jvQqyGbQc9RYesbut9vgjY0VzhqNEBnF3cfsQbiO2p4n6Mzc2nJb2+y8eY2mMiOcZD VltXGjkq3ui1UvSrfncIGFRJviK9WRplIBZ9tT/01bLoKwiNfLtrSoIEFs/XyOyS7JmS n+tGv2wwMpCYk7ehwo72EG/nqoP044Oca6p2o= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc; bh=WuvoJ90b2lCyCsNl1uoWkwZZ34W9Zu4j6EvkcDdXVwQ=; b=Z16bTWJ3QaXIJTkCgrNGJIbUhDlydHNkrwmBZywIhtTbYGuOwqw9B3Eeve05ZC/7JY VrcgcD78CZm1ERJavCEnimzz+65kaz679e13JJXLdCQsP4fOgz7fLrbtXGjwyIACGB93 /uNs/Ulv5WNnKe1tJufv2PoMqoM8X4OncqhgE/blXPDTdyc+Z2hjSvAhKpGeD8jz8/3M dnbBulRZvh18unNWbToCxjJqhnqALzAjREn0REJ/6DUL5yEI/ic2HWkyk9gBieQ/oihm LPaIKpaSO0N0XuMoY+Qb2aW5CgmdZctUd225AXe5ZB5YqTiI9E4lOfLz376tB5Bo5+iR mk1Q== X-Gm-Message-State: AJIora+/Qz2mZLrq8oNFvOXK6OIaWYh0PBfpi9yZnUPkssVRBcNcJkkE HFUf7pZ2yubN5J07A5pG+KyCBCuaLYJXvApy X-Received: by 2002:a05:6402:4255:b0:43c:3af9:9653 with SMTP id g21-20020a056402425500b0043c3af99653mr15683984edb.222.1659026113033; Thu, 28 Jul 2022 09:35:13 -0700 (PDT) Received: from mail-wr1-f44.google.com (mail-wr1-f44.google.com. [209.85.221.44]) by smtp.gmail.com with ESMTPSA id b12-20020aa7df8c000000b0043ba0cf5dbasm974330edy.2.2022.07.28.09.35.10 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 28 Jul 2022 09:35:10 -0700 (PDT) Received: by mail-wr1-f44.google.com with SMTP id v17so2898660wrr.10 for ; Thu, 28 Jul 2022 09:35:10 -0700 (PDT) X-Received: by 2002:adf:ead2:0:b0:21d:8b49:6138 with SMTP id o18-20020adfead2000000b0021d8b496138mr18613494wrn.138.1659026109819; Thu, 28 Jul 2022 09:35:09 -0700 (PDT) MIME-Version: 1.0 References: <20220728085412.1.I242d21b378410eb6f9897a3160efb56e5608c59d@changeid> In-Reply-To: <20220728085412.1.I242d21b378410eb6f9897a3160efb56e5608c59d@changeid> From: Doug Anderson Date: Thu, 28 Jul 2022 09:34:56 -0700 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH] dm: verity-loadpin: Drop use of dm_table_get_num_targets() To: Matthias Kaehlcke Cc: Alasdair Kergon , Mike Snitzer , Kees Cook , James Morris , "Serge E . Hallyn" , dm-devel@redhat.com, Song Liu , LKML , Milan Broz , linux-raid@vger.kernel.org, linux-security-module , Stephen Rothwell Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, On Thu, Jul 28, 2022 at 8:54 AM Matthias Kaehlcke wrote: > > Commit 2aec377a2925 ("dm table: remove dm_table_get_num_targets() > wrapper") in linux-dm/for-next removed the function > dm_table_get_num_targets() which is used by verity-loadpin. Access > table->num_targets directly instead of using the defunct wrapper. > > Fixes: b6c1c5745ccc ("dm: Add verity helpers for LoadPin") > Reported-by: Stephen Rothwell > Signed-off-by: Matthias Kaehlcke > --- > > drivers/md/dm-verity-loadpin.c | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) FWIW: Reviewed-by: Douglas Anderson