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 4F079C4338F for ; Mon, 23 Aug 2021 08:34:49 +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 153D361248 for ; Mon, 23 Aug 2021 08:34:49 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 153D361248 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=qFCh1AyB3AwR5KZVp42aO40nV6mRB0a9fQQxanw2LBM=; b=SBdmq5mshEzYFr JhB76H9x8CyCa1fdKHBHm3YXOSwNhfH2WJPpVIReYMutIWxkjbPEuCojWjeS7zvUzDl+PIL1cXHrt fvFjSIRrYs0d9RBsUTE1Oy0hBwiJUWQ6dRiFeUXrYZj9moJPRD8nxpLNuq0dqJ3w03PofxE5b50m9 VyaAxF6dQ7LLMhMlW3c0xaxc4cRfaDvY8FPR2cJsU43qhfpDtg6uQ4ceO6rfjkpXxulZLdauYrJaU 1nBIzsgR/D7eqPxsYNIQbu6uIGPieWsjK9aitW0rxT3Hm9XGfBifuWYUHNgEoshjEKB0tegLMbrFu YjoV4Ox5wlOHlsHM7Q6g==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mI5PL-00FwGZ-NQ; Mon, 23 Aug 2021 08:34:15 +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 1mI5Of-00Fw0I-8O for linux-mtd@lists.infradead.org; Mon, 23 Aug 2021 08:33:34 +0000 Received: (Authenticated sender: miquel.raynal@bootlin.com) by relay10.mail.gandi.net (Postfix) with ESMTPSA id F176E24000E; Mon, 23 Aug 2021 08:33:28 +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 5/8] mtd_blkdevs: simplify blktrans_dev_get Date: Mon, 23 Aug 2021 10:33:28 +0200 Message-Id: <20210823083328.9255-1-miquel.raynal@bootlin.com> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20210823073359.705281-6-hch@lst.de> References: MIME-Version: 1.0 X-linux-mtd-patch-notification: thanks X-linux-mtd-patch-commit: b'89843828399ec825f8ec3e614634a428a951a2b3' X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210823_013333_474773_D52DACBD X-CRM114-Status: UNSURE ( 6.87 ) 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:56 UTC, Christoph Hellwig wrote: > ->private_data is set before the disk is added and never cleared, so don't > bother trying to handle a NULL pointer there. > > 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/