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 Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 2A7BEC32771 for ; Wed, 21 Sep 2022 09:19:50 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231325AbiIUJTs (ORCPT ); Wed, 21 Sep 2022 05:19:48 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47728 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231404AbiIUJTI (ORCPT ); Wed, 21 Sep 2022 05:19:08 -0400 Received: from frasgout.his.huawei.com (frasgout.his.huawei.com [185.176.79.56]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D41D6901B6; Wed, 21 Sep 2022 02:18:28 -0700 (PDT) Received: from fraeml701-chm.china.huawei.com (unknown [172.18.147.200]) by frasgout.his.huawei.com (SkyGuard) with ESMTP id 4MXXq16XT9z67M3B; Wed, 21 Sep 2022 17:16:45 +0800 (CST) Received: from lhrpeml500003.china.huawei.com (7.191.162.67) by fraeml701-chm.china.huawei.com (10.206.15.50) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2375.31; Wed, 21 Sep 2022 11:17:49 +0200 Received: from [10.195.245.235] (10.195.245.235) by lhrpeml500003.china.huawei.com (7.191.162.67) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.31; Wed, 21 Sep 2022 10:17:49 +0100 Message-ID: <7d271ce3-b289-4ecb-3555-c31dfa6091de@huawei.com> Date: Wed, 21 Sep 2022 10:17:48 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.6.1 Subject: Re: [PATCH RFC 3/6] scsi: core: Add scsi_get_dev() To: Damien Le Moal , , , , CC: , , , References: <1663669630-21333-1-git-send-email-john.garry@huawei.com> <1663669630-21333-4-git-send-email-john.garry@huawei.com> From: John Garry In-Reply-To: Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 8bit X-Originating-IP: [10.195.245.235] X-ClientProxiedBy: lhrpeml500006.china.huawei.com (7.191.161.198) To lhrpeml500003.china.huawei.com (7.191.162.67) X-CFilter-Loop: Reflected Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 20/09/2022 22:58, Damien Le Moal wrote: >> +extern struct scsi_device *scsi_get_dev(struct device *parent, int >> channel, uint id, u64 lun); > > You should not need extern here, and long line... > >> + >>   /* >> + > > white line change. > >>    * DIF defines the exchange of protection information between >>    * initiator and SBC block device. ok, I'll tidy them. Thanks, John