From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-17.5 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 2D3ADC4338F for ; Mon, 23 Aug 2021 08:36:39 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id E76C161262 for ; Mon, 23 Aug 2021 08:36:38 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org E76C161262 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=bootlin.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=APojUATu8m7hyquUBYW/eWf0K6qe8uFsTAOUL1iuMu4=; b=kz+Qc1pedFPU85 HvGWqkDRWg6S8ZmlM614lIVG1uBd3WoLWjVCf+tZgTTbGsZPhMmu7e9k8xdvrzfvOq1OUoGqlJMJY QuUctD7RP5rMcpSn/q+zYG/MbFepYYR9t9JhmNcC24Qd1J6CBzal2vCLMWvbw4TwQHGAGmArI+ptS Z+hWx9e11J2cNWfJkffLWxLBo9yUmz4JVfeay9zNqJ0e4sEwjJXi8nYMjg2uZXTMI7ricRPLlHA2W wyEMU2vNVofk3IJNoQqQNZu5vHloTV0s+7DyjXvo8OslHL6XaZgIRKf003caMXMvQ7HQzTCuq1DLu PKdIGRDcH7nDzRg6Dtgw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mI5Qz-00FwxL-ES; Mon, 23 Aug 2021 08:35:57 +0000 Received: from relay10.mail.gandi.net ([217.70.178.230]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mI5Op-00Fw3m-SF for linux-mtd@lists.infradead.org; Mon, 23 Aug 2021 08:33:45 +0000 Received: (Authenticated sender: miquel.raynal@bootlin.com) by relay10.mail.gandi.net (Postfix) with ESMTPSA id 4D11E240013; Mon, 23 Aug 2021 08:33:41 +0000 (UTC) From: Miquel Raynal To: Christoph Hellwig , Miquel Raynal , Richard Weinberger , Vignesh Raghavendra Cc: Guenter Roeck , linux-mtd@lists.infradead.org Subject: Re: [PATCH 2/8] mtd_blkdevs: use lockdep_assert_held Date: Mon, 23 Aug 2021 10:33:41 +0200 Message-Id: <20210823083341.9447-1-miquel.raynal@bootlin.com> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20210823073359.705281-3-hch@lst.de> References: MIME-Version: 1.0 X-linux-mtd-patch-notification: thanks X-linux-mtd-patch-commit: b'f214eebf8de4d2e412a35ff140687d88f056143a' X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210823_013344_094163_AF973808 X-CRM114-Status: UNSURE ( 6.78 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-mtd@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-mtd" Errors-To: linux-mtd-bounces+linux-mtd=archiver.kernel.org@lists.infradead.org On Mon, 2021-08-23 at 07:33:53 UTC, Christoph Hellwig wrote: > Use lockdep_assert_held to ensure mtd_table_mutex is held instead of > mutex_trylock games. > > Signed-off-by: Christoph Hellwig Applied to https://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux.git mtd/next, thanks. Miquel ______________________________________________________ Linux MTD discussion mailing list http://lists.infradead.org/mailman/listinfo/linux-mtd/