Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp3146023pxk; Mon, 7 Sep 2020 04:43:05 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxCj6qrLHJ1AiVLNh/LbN66WM83r1CfLeZJmQBLj8K0tYnKtgmLDnCabBq6zx6j6SuVz3KB X-Received: by 2002:a05:6402:1544:: with SMTP id p4mr20898560edx.346.1599478984988; Mon, 07 Sep 2020 04:43:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1599478984; cv=none; d=google.com; s=arc-20160816; b=ihEHP3fYbxdtCXmseetRGRiTi0RPa8pYQpQFN5KS76RHw2+JXOLWJ5SaUHBgUcle0C RTwkAxWhGqDk8J/1yhByUHs8gHHKIcqet2ljteqajUFQYAl4vSB+eT3VZI4awLdVRSVZ +NPPKFMKqdAAM1qR8z5bEScdty0vAnezFctRbzfZOGgAZ2pz3tGKi4mwpySzdh8nCkdZ VrJauW5PYUIp2DySe3KKnaM/9/nKFM5Skc1Of+9HKSoKytbBN5X1+GQF/xWDRUp3Qofi XiouSEw4mSuvjFcEeEuLapS73/B6QLle7GSJpY080d5b5JQ6nqGjpEMFRJN12vcqtmnG ETqA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature; bh=qC1Qe+Nb3BkoaUmyFCAr6TGZ4dkblgfNWZvGx4XV3VM=; b=ptzevlZBg8uTe28yRz//G2phxMlM24Tv+A3jD6yVBEOOr7Be4hOV0ZImMSrNMuAm4H ba+1xBdyS5+8d0GXObMTwOb5xmf78ZH/8cQ2Xyy+obr1eyFTE0NolFuGnDgZ6b/f2YUa WFUuzUFyfaq0PO5Sz0mAySNX+++fO6jArIGk8r/TrOnX8xkj2Rs5JNQVzHdM1kXBAPhf 8LJ8shLyS+3Wn5c7R1bdcz21mnX1ooGhOeEkj+xexB/22Qbwgwy4z5hJ5pjgtVlSvwvv 04MB5h9Qv1doWdm7gF/3VqPTbRG9WoE9Dxb450AJUFogrzG4meLv/92prpReEFVoWxCE fIrQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=ebJe3gca; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id b6si10663460eja.559.2020.09.07.04.42.41; Mon, 07 Sep 2020 04:43:04 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=ebJe3gca; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729053AbgIGLjw (ORCPT + 99 others); Mon, 7 Sep 2020 07:39:52 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43578 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728608AbgIGL3B (ORCPT ); Mon, 7 Sep 2020 07:29:01 -0400 Received: from mail-ej1-x642.google.com (mail-ej1-x642.google.com [IPv6:2a00:1450:4864:20::642]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 847FAC061574; Mon, 7 Sep 2020 04:29:00 -0700 (PDT) Received: by mail-ej1-x642.google.com with SMTP id z23so17710564ejr.13; Mon, 07 Sep 2020 04:29:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=qC1Qe+Nb3BkoaUmyFCAr6TGZ4dkblgfNWZvGx4XV3VM=; b=ebJe3gcanTI8bgBT9KmcEKFhA084BTDUWBn3DlAo3yjyMlhegql8JBciYuC5iQsWfJ sOXnmaHy3jCI+xWGouQsSjtY4qbLZpRYoLKqmFlwzbOn3D9+6koC50qpddl2vWKTQvgs NmT5ciVzX9Y8XCbxTAsNWqj53TOpRpcbVdRoIhESZZmswYavfQoq2zxNkcHqODYEKAVq SOIIDZCQVFmm5DEPt8JZQmF9zXbii0CW21zMS/P1vcc1Wie+q0xaxAjbJmmbgVJW0BWc jCKjEPfRAIf0BIO7AIuqcNI/sQmCape6lj1O+egrIp72xyBt6K88K9Z3wl3/u+IKmCWj yJ9A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=qC1Qe+Nb3BkoaUmyFCAr6TGZ4dkblgfNWZvGx4XV3VM=; b=bFPlqLdLuodcXSjcm6BFBHU/0vgGO1iVh1CXy8IzJIjvQOIZeqX6VMFDxfSNS3cSaj iTZEC/LPOW/4ErWC2vxKwxvntwgVj45QQa48PnEhemGJrFRcj1fmvec+8nSLsrYoADo4 dxf3bYKI1CYfrRyi6yPTjfqPtcCFgew6Z+2Sze31vKNRL7azyV2gnGdQ4SuWvjOcBENO qkToEYUQeRcf+2W2UOmr/QjLVQRmo+CdJH1OvH7Yto8tTWvWJhkv3VdjIu3zk724Wudu BeQUDeKQ0KSBwdrfKSXUBk2Hve3Lga4IHzgzMEdaIcST+R8xpOT+Vz9mLudEC8+KUmWY 28kQ== X-Gm-Message-State: AOAM530pT/qTAVKv52fOg9L0/9TRJp0GDk5K2ghB/nja2ys6/fG0AirI r9pEC9GqR7aUwK0fYAxXRsimsSkHOTWj2g== X-Received: by 2002:a17:906:a0c2:: with SMTP id bh2mr21274577ejb.493.1599478139211; Mon, 07 Sep 2020 04:28:59 -0700 (PDT) Received: from localhost.localdomain ([2a01:598:b902:e05f:7139:914b:4eed:99b3]) by smtp.gmail.com with ESMTPSA id k6sm13826528edj.93.2020.09.07.04.28.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 07 Sep 2020 04:28:58 -0700 (PDT) From: Bean Huo To: axboe@kernel.dk, linux-block@vger.kernel.org, linux-kernel@vger.kernel.org Cc: beanhuo@micron.com Subject: [PATCH v2 1/2] block: fix incorrect comment in vdc_port_probe() Date: Mon, 7 Sep 2020 13:28:44 +0200 Message-Id: <20200907112845.3420-2-huobean@gmail.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200907112845.3420-1-huobean@gmail.com> References: <20200907112845.3420-1-huobean@gmail.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Bean Huo do_generic_file_read() has been renamed to eneric_file_buffered_read() since commit 47c27bc46946 ("fs: pass iocb to do_generic_file_read"), so relpace it with generic_file_buffered_read() in the comment. Signed-off-by: Bean Huo --- drivers/block/sunvdc.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/block/sunvdc.c b/drivers/block/sunvdc.c index 39aeebc6837d..06262e990c9b 100644 --- a/drivers/block/sunvdc.c +++ b/drivers/block/sunvdc.c @@ -1017,9 +1017,9 @@ static int vdc_port_probe(struct vio_dev *vdev, const struct vio_device_id *id) VDCBLK_NAME "%c", 'a' + ((int)vdev->dev_no % 26)); port->vdisk_size = -1; - /* Actual wall time may be double due to do_generic_file_read() doing - * a readahead I/O first, and once that fails it will try to read a - * single page. + /* Actual wall time may be double due to generic_file_buffered_read() + * doing a readahead I/O first, and once that fails it will try to read + * a single page. */ ldc_timeout = mdesc_get_property(hp, vdev->mp, "vdc-timeout", NULL); port->ldc_timeout = ldc_timeout ? *ldc_timeout : 0; -- 2.17.1