Received: by 2002:a05:6a10:9afc:0:0:0:0 with SMTP id t28csp3495682pxm; Mon, 28 Feb 2022 22:28:17 -0800 (PST) X-Google-Smtp-Source: ABdhPJyq85syhcKT6YJkVX2hxMoQ40HOCJuQ/AcfOM9AlHWjvBTdd16Zq8xQM3vROMkUXptgHlFS X-Received: by 2002:a17:906:c282:b0:6ce:369d:3d5 with SMTP id r2-20020a170906c28200b006ce369d03d5mr17787026ejz.425.1646116097208; Mon, 28 Feb 2022 22:28:17 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1646116097; cv=none; d=google.com; s=arc-20160816; b=mXzIVCkHdsXJ9XBpOjqy2YfTn7r/C7B2W8I6t+18zOBfYdyjhFc+fBJ57hcadQsXzl F9BJSC56RP+bXyi80Uo1BtzIe3C5Ee4V4wq7SZcS7RtKn6wvwtRmZvQ/QL9bvpJtL0CV iJXTjvQ0Xaou0bEvYmsoEIAV2ZxyuQhQ7EbXuebHiK25ejcmAlu3z18E+/GNqhCDavaO u3nM1WTm0XBeeHzj5cIdnnzJVkpXtDQdiaTQtBcJQQkmwZg1h6ZCaV2VFDYYbY9e3uiI 712yM4k6y6Y/D3x1545xiBmk9PjxgYxx8OHc/pMED0u5s00kYKJO8r7lnitEA/orCBBA 5UEw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=WIDIRWd5lprM1nq14xSroAHwSBuavxMVQkYNOePEUd0=; b=Ck/RQBVsON/itOXX7mZOVA1m1I9OSxmHWDEVyu6p9evv5UgtqX4ZjuvpB60Y5rpCe8 LdZf2oaFf3CyBuxijnKgUoAFSwI5J263HMlPG5YFhQGQ2WcL6HgMd5ZY+PsqZ8zD3wuG GoF7w+fg/nkW1WFplPHyYblmf+79BCDcQCd9CgBxKwdpchy7r4q0cfyVrVjztnTdgMUO zL3eqVK1VYZPmZejm0SPxlb1vQKShlqHA26EUKEu2OgkZqLBxfakIE92rOXc2Os/dssI I/pv2CGstYQysEcAsrYokNlUoqLTjWAKimDm+1weeAMa1jhDNd/tNiYbqqNyoyE6b97b Gk5w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmx.net header.s=badeba3b8450 header.b=iiBLurau; 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=fail (p=NONE sp=NONE dis=NONE) header.from=gmx.de Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id k24-20020aa7d2d8000000b004134f26020bsi8206833edr.237.2022.02.28.22.27.53; Mon, 28 Feb 2022 22:28:17 -0800 (PST) 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=@gmx.net header.s=badeba3b8450 header.b=iiBLurau; 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=fail (p=NONE sp=NONE dis=NONE) header.from=gmx.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229909AbiCACWc (ORCPT + 99 others); Mon, 28 Feb 2022 21:22:32 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47340 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229717AbiCACWb (ORCPT ); Mon, 28 Feb 2022 21:22:31 -0500 Received: from mout.gmx.net (mout.gmx.net [212.227.15.19]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E3BE9D5F; Mon, 28 Feb 2022 18:21:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1646101296; bh=WIDIRWd5lprM1nq14xSroAHwSBuavxMVQkYNOePEUd0=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date; b=iiBLurauw9vWCsX0laA0wqsiSWaxmnYYxHree2hESw7Rd1Ud1u5YGpvcmG0yLEYJl kKGbejRQsusSXN7umJyY70BCwPyNj5BSXiu55eIzOQjDArL/oCjggmdtq2ZPk7Zv7R 3257aiicd+qvFrjGdIj1ZZn0hnJMAnaz6SE790gY= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from Venus.fritz.box ([149.172.237.68]) by mail.gmx.net (mrgmx005 [212.227.17.190]) with ESMTPSA (Nemesis) id 1Mnps0-1o0jzG07Ew-00pK44; Tue, 01 Mar 2022 03:21:36 +0100 From: Lino Sanfilippo To: peterhuewe@gmx.de, jarkko@kernel.org, jgg@ziepe.ca Cc: stefanb@linux.vnet.ibm.com, James.Bottomley@hansenpartnership.com, David.Laight@ACULAB.COM, linux-integrity@vger.kernel.org, linux-kernel@vger.kernel.org, p.rosenberger@kunbus.com, LinoSanfilippo@gmx.de Subject: [PATCH v8 0/1] tpm: fix reference counting for struct tpm_chip Date: Tue, 1 Mar 2022 03:21:07 +0100 Message-Id: <20220301022108.30310-1-LinoSanfilippo@gmx.de> X-Mailer: git-send-email 2.35.1 MIME-Version: 1.0 Content-Transfer-Encoding: base64 X-Provags-ID: V03:K1:1hj6O9Xlmw9zRBFg2GpWl8Yo1MTILLKm+B4WAaXnwUa0rhHgdcw 8+eYTeCXSsAiFLtKxG5WgR+f6ZlaHvIj1r1/a44jTE+oFTpedd6ewweskyizd/fPolGSOrE u6viNfUFUYomd07/9w1AtIT1fAzHQb/wW2J+qmEg5h64bbseXLMzmxb/+wXhbOCtoF+y+Wm gsEZIk9A2UYqpWR0ahJ8g== X-UI-Out-Filterresults: notjunk:1;V03:K0:q5AYTQgSRrk=:XGrpTGL21sYEDAdUiC7NrF l+Bl/+N8JwJ65SgRvvIK3L++6O0mOQv0od1RSbuS7rdgq1xbEy9uF/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9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,FREEMAIL_FROM,MIME_BASE64_TEXT,RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H5,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=ham 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 VGhpcyBwYXRjaCBmaXhlcyBhIHJlZmVyZW5jZSBjb3VudCBpc3N1ZSBpbiB0aGUgVFBNIGNvcmUg Y29kZS4KCkNoYW5nZXMgaW4gdjg6Ci0gYWRqdXN0IG5hbWVzIG9mIGp1bXAgbGFiZWxzIGZvciBl cnJvciBjYXNlcwoKQ2hhbmdlcyBpbiB2NzoKLSBhZGp1c3QgbmFtaW5nIG9mIGp1bXAgbGFiZWxz IHRvIGZpdCBiZXR0ZXIgdGhlIHVzZWQgbGFiZWwgbmFtaW5nIHNjaGVtZQoKQ2hhbmdlcyBpbiB2 NjoKLSByZW5hbWUgZnVuY3Rpb24gdHBtMl9hZGRfZGV2aWNlKCkgdG8gdHBtX2RldnNfYWRkKCkg YXMgcmVxdWVzdGVkIGJ5IEphcmtvCi0gYWRkIGZ1bmN0aW9uIGRlc2NyaXB0aW9ucwotIGZpeCBz b3VyY2UgY29kZSBmb3JtYXR0aW5nCgpDaGFuZ2VzIGluIHY1OgotIG1vdmUgZnVuY3Rpb24gdHBt X2FkZF90cG0yX2NoYXJfZGV2aWNlKCkgdG8gdHBtMi1zcGFjZS5jIGFuZCByZW5hbWUKaXQgdG8g dHBtMl9hZGRfZGV2aWNlKCkgYXMgcmVxdWVzdGVkIGJ5IEphcmtvCi0gcHV0ICJjYyIgdGFnIGJl Zm9yZSBhbGwgb3RoZXIgdGFncyAKLSBlbnN1cmUgdGhhdCB0aGUgZXJyb3IgcGF0aCBpbiB0cG0y X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