Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp610780ybt; Fri, 19 Jun 2020 09:17:45 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxPoxxMESmLqANRmgCI7R5wFs9libG0y2gC3eAy51C2wvlGv0MbFLpM/2euGZj/ZUgy4I6L X-Received: by 2002:a17:906:84a:: with SMTP id f10mr4649618ejd.102.1592583465075; Fri, 19 Jun 2020 09:17:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1592583465; cv=none; d=google.com; s=arc-20160816; b=Bs+To0w5TjChPa01EkPXr6cvFxa35uPwGuas+0upqpLZgrj2kw5LjlWy+7fTUE3akk HKAxG8DoFaKNtELwXR8N7eTlQ/1DbNHjY3IAR/sfrBop9MKfsl5K8ALpwI+len/2sdS7 SudDJQkYjtKrVJehfqs57yw/C4q8zPdfo4/BA/923As8EmN2QdD9Nq/+3B5jwkplj5QO Y6qmb1l7c1LXMSAxaMytSMaDjodAeGE6XFoUzToDdt1HgYwSLl8KnMyMTJEYlTiywHQn Xjk6fAJxpiy0DQ7dyLrFy+mk9IVT3TbHAH7p1J0gk9IKmz/WE+BgrKk/7rLZx/3mzPS5 ITiA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:date:cc:to:from:subject:message-id :dkim-signature; bh=5ADrT7jFFeW309LoBL3RGIrTXmJjwCmJqXAIhYbchGM=; b=ecZU1recuOEXpbNcyDYUoa9Xt5HtLgk3/MWJleGvBRYcING0RvMEXpfF8Ls89eIKG6 4bd2eOlhIzl8YKrN2B81XoAVV/RljbpuIXz4KcUWV53uZRbhRZQnurMqF/GXws1jbozA guR/LGHx7DkjakXz7L9iuOEjo5KqA1FfyJ/JVpoCjZFx07+dh9+8SG2RsWk+meXs0L7o gEXR/ljjxvyxlCHeXvqCcf+llKQwo2MeECgHMpuUyoW0ZARQxs6iBVtnSuB4QXOXnZMD /5wQ9iVe0yMw5YoIxD/dMYCZ9UTQJbi1OamsRJNe8aQx/fwp5jyhG00ABcVtYiN//x3X C19Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=MnrHb+bh; 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 b14si4359490eju.419.2020.06.19.09.17.23; Fri, 19 Jun 2020 09:17:45 -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=MnrHb+bh; 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 S2394441AbgFSQOm (ORCPT + 99 others); Fri, 19 Jun 2020 12:14:42 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56168 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2390422AbgFSPDy (ORCPT ); Fri, 19 Jun 2020 11:03:54 -0400 Received: from mail-ed1-x543.google.com (mail-ed1-x543.google.com [IPv6:2a00:1450:4864:20::543]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 90BD2C06174E; Fri, 19 Jun 2020 08:03:54 -0700 (PDT) Received: by mail-ed1-x543.google.com with SMTP id o26so7901835edq.0; Fri, 19 Jun 2020 08:03:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=message-id:subject:from:to:cc:date:in-reply-to:references :mime-version:content-transfer-encoding; bh=5ADrT7jFFeW309LoBL3RGIrTXmJjwCmJqXAIhYbchGM=; b=MnrHb+bhJPIiNHeaCS8a/fPwOI6wld7b4KlPZ/oOMUF1zVfizNxUckSlCB9snRURSK XzbrQM04uoK4hVMgFJuCq6xAqaGH9he+9+BmJvbRtPy7JD90CBG0/Ut8Kgszpie4M5fT RZJDv+1XgM+fTfk67GkWVuvYpc84l7+E2xupZasgfuHwokTqnMpTmdNGDIMaxaiOhzRq xwhEGmNzE8AMGlUD/gDuw8YkDsoFXC8nBY4G62nHezapFTsIECYROvYVuQW2yXWcNpgt vsDouCqgOkmOLyP21fqBslVrlg9EJyrRAH9gUt9EXeo13gSdim3xku8UW9kfb4qMPyxH 8azg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:message-id:subject:from:to:cc:date:in-reply-to :references:mime-version:content-transfer-encoding; bh=5ADrT7jFFeW309LoBL3RGIrTXmJjwCmJqXAIhYbchGM=; b=BVJfp3D5J9H/q5IGUPrkbKsWNtN0qV72NjrqHOYjN6BqgSu/dZ+uz+AxPGoc0W64/n DOQtvziWBmopQroSxXa1XnhMZ087tiKtt5qlAIAWs1Y3G5wy/YOErFH2M8NDvli4mxBg 8vSWJ+SZKMZ0p5f+7THyDA/MFJrYrRjP0+xWtv0VZfGUiHTzLip+sZZftf7VtZUQz0wb SPfcG1mTVEUVNTAD5VSrlzvDWtqbgOWFhNeoFs3eLmJvIZ4mhYUQIILsVZRkyQJ3Fxzq GlQT2ss9gLPtDcIFVDkbhgJ74GNiX3Y5sJAcWSik+upbeP9Bp87TfQ1l2aTp17ttcy3J Gprg== X-Gm-Message-State: AOAM531H25o0KRHyUuvavk2zjtjL4j96F1rHkeRJkrVML2p31gzEfIKL h0Ls5T7ESKtmpYdfAm+sPeg= X-Received: by 2002:a50:f289:: with SMTP id f9mr3714154edm.188.1592579033304; Fri, 19 Jun 2020 08:03:53 -0700 (PDT) Received: from ubuntu-laptop ([2a01:598:9900:aeb5:e489:2676:2097:fdba]) by smtp.googlemail.com with ESMTPSA id h9sm4929016ejc.96.2020.06.19.08.03.51 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Fri, 19 Jun 2020 08:03:52 -0700 (PDT) Message-ID: Subject: Re: [RFC PATCH ] scsi: remove scsi_sdb_cache From: Bean Huo To: Bart Van Assche , jejb@linux.ibm.com, martin.petersen@oracle.com, linux-scsi@vger.kernel.org, linux-kernel@vger.kernel.org Cc: beanhuo@micron.com Date: Fri, 19 Jun 2020 17:03:47 +0200 In-Reply-To: References: <20200619131042.10759-1-huobean@gmail.com> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.28.5-0ubuntu0.18.04.2 Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Bart Thanks. On Fri, 2020-06-19 at 07:31 -0700, Bart Van Assche wrote: > On 2020-06-19 06:10, Bean Huo wrote: > > @@ -2039,7 +2024,6 @@ scsi_mode_select(struct scsi_device *sdev, > > int pf, int sp, int modepage, > > real_buffer[1] = data->medium_type; > > real_buffer[2] = data->device_specific; > > real_buffer[3] = data->block_descriptor_length; > > - Here delete a blank line since there are multiple blank lines. > > > > > > cmd[0] = MODE_SELECT; > > cmd[4] = len; > > @@ -2227,7 +2211,7 @@ scsi_device_set_state(struct scsi_device > > *sdev, enum scsi_device_state state) > > goto illegal; > > } > > break; > > - > > + Here has trailing whitespace, delete it. > > case SDEV_RUNNING: > > switch (oldstate) { > > case SDEV_CREATED: > > If these whitespace changes are left out, feel free to add: > > Reviewed-by: Bart Van Assche Bean