Received: by 2002:a05:6a10:2726:0:0:0:0 with SMTP id ib38csp917814pxb; Wed, 6 Apr 2022 04:14:23 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxpB4B5tyrXWEdgzUYbHazA2FzyA/49v/ulyi4u9JX4mD0otNiXrYFq9ln/VFvGJ5nGwb7G X-Received: by 2002:a65:568b:0:b0:378:86b8:9426 with SMTP id v11-20020a65568b000000b0037886b89426mr6556344pgs.70.1649243663507; Wed, 06 Apr 2022 04:14:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1649243663; cv=none; d=google.com; s=arc-20160816; b=oAET8HIqD/xY7/8un67yRcRl3Z5AXE7fQQzY1sAajNgFEu9T3F60Gj5DXW6l5ILdpC pBv6PTQKVPE0TBc1Oq6CaKCGZwr+sJdnoJLchBd2tJ76ddKSBKfYzIupbf3ly+cxmoHd NUmyWLyDnJiGPTit1HzVkmoHqaQiEB2+rT1rLdQngsh//pC4p2DKD5OMyZ2tZHZx4fSc 3ywrlt5v+dxhe1iKzlMoR0IiNWP4JTeMMitixF5cFcqVye7zngQRwvvF3mRtG8taVdCQ mIFza4maSNrTaWWZaTL1ie37eUPXkxg7i+vmm7/w/7Fq7MpuPVplUpbCLrHLV5LPCyD2 ZbEA== 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 :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=VxnjPk1VDOzJp9FHBLZZwz1ZqBp+sYFAVRAB5ZltT/A=; b=kNbjf+KDQQdH25XzZXwgf/5oEcRqIn5dNZmpBltSplat3/Cv7qfNXmnn4SeD5yKkH7 zhXPMJ+O83BPc8efS6rU40Pw1PAeX5C7YCLtK8T9v3teZXRJtW2g1vjcMXCso6nNI2Ig 2eRYmWHAsYohVOXepSk4FaDToAQkZgh5xLDeWmSC5sBmUgU3y3kNVltOVWzD/qAGtyoZ nu5SbkB/t13+cWz14XRP3CDVVTcCobUwpWFLct5GnbFQ+I5WPJv51BE9QKJU3qU6ONYf oCezZ1CAQuIVzBj1ZeLokkEfIXgjSHkf9lipJBpxP8SFu7gHAM5zLTYCYtJ8YqlxSGNZ +9VQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=Q+K9qyVe; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id e12-20020a170903240c00b00153b2d165f5si14127317plo.509.2022.04.06.04.14.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 06 Apr 2022 04:14:23 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=Q+K9qyVe; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id D19705D8166; Wed, 6 Apr 2022 02:39:17 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1377385AbiDEV20 (ORCPT + 99 others); Tue, 5 Apr 2022 17:28:26 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56012 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1354389AbiDEKOA (ORCPT ); Tue, 5 Apr 2022 06:14:00 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0C82278FFE; Tue, 5 Apr 2022 02:59:47 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 9DB09616E7; Tue, 5 Apr 2022 09:59:46 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id B3E4EC385A1; Tue, 5 Apr 2022 09:59:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1649152786; bh=0PIyyKmOrWUB83FqO0O88Etrn0R80ubZkYe33g16qUY=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Q+K9qyVe+FvEtSiXHY+rlP0hLIwCieYCoAv12iZG0Fpa8MebPQPjtODZLnhrFNgo0 U11XrDURPW4xilfkmmr1MWJwkIwZ1d/SJZqkS/kOMO+xmmo44AkQEP/TYFkCPuLhIK 5ZOPVhXPDf7cRSxmqt2yA2ATCYQiLzVNuKEoGAmI= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, k2ci , Jackie Liu , Chaitanya Kulkarni , Jens Axboe Subject: [PATCH 5.15 901/913] n64cart: convert bi_disk to bi_bdev->bd_disk fix build Date: Tue, 5 Apr 2022 09:32:43 +0200 Message-Id: <20220405070406.826756849@linuxfoundation.org> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220405070339.801210740@linuxfoundation.org> References: <20220405070339.801210740@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no 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 From: Jackie Liu commit b2479de38d8fc7ef13d5c78ff5ded6e5a1a4eac0 upstream. My kernel robot report below: drivers/block/n64cart.c: In function ‘n64cart_submit_bio’: drivers/block/n64cart.c:91:26: error: ‘struct bio’ has no member named ‘bi_disk’ 91 | struct device *dev = bio->bi_disk->private_data; | ^~ CC drivers/slimbus/qcom-ctrl.o CC drivers/auxdisplay/hd44780.o CC drivers/watchdog/watchdog_core.o CC drivers/nvme/host/fault_inject.o AR drivers/accessibility/braille/built-in.a make[2]: *** [scripts/Makefile.build:288: drivers/block/n64cart.o] Error 1 Fixes: 309dca309fc3 ("block: store a block_device pointer in struct bio"); Reported-by: k2ci Signed-off-by: Jackie Liu Reviewed-by: Chaitanya Kulkarni Link: https://lore.kernel.org/r/20220321071216.1549596-1-liu.yun@linux.dev Signed-off-by: Jens Axboe Signed-off-by: Greg Kroah-Hartman --- drivers/block/n64cart.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/drivers/block/n64cart.c +++ b/drivers/block/n64cart.c @@ -88,7 +88,7 @@ static blk_qc_t n64cart_submit_bio(struc { struct bio_vec bvec; struct bvec_iter iter; - struct device *dev = bio->bi_disk->private_data; + struct device *dev = bio->bi_bdev->bd_disk->private_data; u32 pos = bio->bi_iter.bi_sector << SECTOR_SHIFT; bio_for_each_segment(bvec, bio, iter) {