Received: by 2002:a05:6a10:2726:0:0:0:0 with SMTP id ib38csp2216533pxb; Wed, 30 Mar 2022 19:37:43 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy/NgSYO6YqP5rVne8+DnupQmehCjLjnJ5pbke0lJzP4+257EIZUuruEZcujZNkob5Mrxtu X-Received: by 2002:a05:6a00:2408:b0:4f7:a8cb:9b63 with SMTP id z8-20020a056a00240800b004f7a8cb9b63mr2958220pfh.33.1648694263486; Wed, 30 Mar 2022 19:37:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1648694263; cv=none; d=google.com; s=arc-20160816; b=CXl9Z3NHMrce635r0k6Z4ftezeBP2DhLbIN2+okmc2k0f1aQq+Q3A8isEmPEvtKMVe 5mCXM5t1ENIjPyFqmddhFs3jP40257Nvams+0XvFTckXPykv6hQ+A+LCp01fcLCqKXvM 31eBGnU+25KG3LTBvZyQpODDirKfzsVzlO1UL82jGxqwJbULf66Wb+Y4O85Q4yd5RQA5 eiSQOYQXRSFctL5RpgwHAMHQkdtP6Lsb7AvEBs+iD6rQZuu8O9pRXQzOFLjNX/rSV+c2 EV7T4mgvITf+oChw5lHWOu7dmEk16mZoZ7Ze+TvRYIz7QVs5VHTtYhNAEf+aruE4uq48 QHGw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:subject:user-agent:mime-version:date:message-id; bh=jn0OBMAUglq2xuYoS65+EC8m++M6KGoLZvdJeIPNamM=; b=rIxZcnwxaU5c+B6s+eXTLbS+8FTLJC4d7bKoEzhMsNI1Bn/J/Epe9m+IHDwC0GIUIv fKeYZJQYr7nntWQEdhGPVnAp7ubUAPifHrB9kkhzShCby4O7ZzeCY6JbmvpmxXENw10R TVGQj9SJwsyqSfEuQH/O6TG4mM/XezwG0ANxtbmBt0AJJ0x6Kf91HZdwEMm3tU6Jez3p BcxGzWG+VVMTIcQEsdcryL4CVAvEbC3R9ZfpXHAX2Hp2/VB9xTA/x7euoFAQdQvIZsqV BTkGbF6c/tm1HXDQ+SuU0hhoBqlnJPyiqM8z96G7m9X5k+NbbFddJ0O2+3fe50Evd3ai tSxA== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id b63-20020a636742000000b003816043efe9si22038481pgc.478.2022.03.30.19.37.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 30 Mar 2022 19:37:43 -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; 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=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id CE1249A9BA; Wed, 30 Mar 2022 19:32:33 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1344544AbiC3L7M (ORCPT + 99 others); Wed, 30 Mar 2022 07:59:12 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57834 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1344583AbiC3LxS (ORCPT ); Wed, 30 Mar 2022 07:53:18 -0400 Received: from frasgout.his.huawei.com (frasgout.his.huawei.com [185.176.79.56]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 92CF6264811 for ; Wed, 30 Mar 2022 04:49:11 -0700 (PDT) Received: from fraeml740-chm.china.huawei.com (unknown [172.18.147.206]) by frasgout.his.huawei.com (SkyGuard) with ESMTP id 4KT4Rq6Qgxz6802Q; Wed, 30 Mar 2022 19:47:35 +0800 (CST) Received: from lhreml724-chm.china.huawei.com (10.201.108.75) by fraeml740-chm.china.huawei.com (10.206.15.221) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.24; Wed, 30 Mar 2022 13:49:02 +0200 Received: from [10.47.83.59] (10.47.83.59) by lhreml724-chm.china.huawei.com (10.201.108.75) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.24; Wed, 30 Mar 2022 12:49:02 +0100 Message-ID: Date: Wed, 30 Mar 2022 12:49:00 +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: drivers/scsi/hisi_sas/hisi_sas_main.c:445 hisi_sas_task_deliver() warn: inconsistent indenting To: kernel test robot CC: , , "Martin K. Petersen" References: <202203301533.b4Hty4C7-lkp@intel.com> From: John Garry In-Reply-To: <202203301533.b4Hty4C7-lkp@intel.com> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit X-Originating-IP: [10.47.83.59] X-ClientProxiedBy: lhreml745-chm.china.huawei.com (10.201.108.195) To lhreml724-chm.china.huawei.com (10.201.108.75) X-CFilter-Loop: Reflected X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,NICE_REPLY_A, 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 On 30/03/2022 08:23, kernel test robot wrote: > tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master > head: 1c24a186398f59c80adb9a967486b65c1423a59d > commit: 095478a6e5bf590f2bbf341569eb25173c9c5f32 scsi: hisi_sas: Use libsas internal abort support > date: 2 weeks ago > config: powerpc64-randconfig-m031-20220330 (https://download.01.org/0day-ci/archive/20220330/202203301533.b4Hty4C7-lkp@intel.com/config) > compiler: powerpc64-linux-gcc (GCC) 11.2.0 > > If you fix the issue, kindly add following tag as appropriate > Reported-by: kernel test robot > > smatch warnings: > drivers/scsi/hisi_sas/hisi_sas_main.c:445 hisi_sas_task_deliver() warn: inconsistent indenting > > vim +445 drivers/scsi/hisi_sas/hisi_sas_main.c > ... > 42e7a69368a585 John Garry 2015-11-18 437 case SAS_PROTOCOL_SATA: > 42e7a69368a585 John Garry 2015-11-18 438 case SAS_PROTOCOL_STP: > 095478a6e5bf59 John Garry 2022-03-11 439 case SAS_PROTOCOL_STP_ALL: > a2b3820bddfbff Xiang Chen 2018-05-09 440 hisi_sas_task_prep_ata(hisi_hba, slot); > 6f2ff1a1311e61 John Garry 2016-01-26 441 break; > 095478a6e5bf59 John Garry 2022-03-11 442 case SAS_PROTOCOL_INTERNAL_ABORT: > 095478a6e5bf59 John Garry 2022-03-11 443 hisi_sas_task_prep_abort(hisi_hba, slot); > dc313f6b125b09 John Garry 2021-12-15 444 break; > dc313f6b125b09 John Garry 2021-12-15 @445 fallthrough; This is already queued for removal. > 42e7a69368a585 John Garry 2015-11-18 446 default: > 095478a6e5bf59 John Garry 2022-03-11 447 return; > 42e7a69368a585 John Garry 2015-11-18 448 } > 42e7a69368a585 John Garry 2015-11-18 449 > 1c09b663168bb5 Xiaofei Tan 2018-07-18 450 WRITE_ONCE(slot->ready, 1); > 42e7a69368a585 John Garry 2015-11-18 451 > 0e4620856b8933 John Garry 2021-12-15 452 spin_lock(&dq->lock); > 0e4620856b8933 John Garry 2021-12-15 453 hisi_hba->hw->start_delivery(dq); > 0e4620856b8933 John Garry 2021-12-15 454 spin_unlock(&dq->lock); > 42e7a69368a585 John Garry 2015-11-18 455 } > 42e7a69368a585 John Garry 2015-11-18 456 > > :::::: The code at line 445 was first introduced by commit > :::::: dc313f6b125b095d3d2683d94d5f69c8dc9bdc36 scsi: hisi_sas: Factor out task prep and delivery code > > :::::: TO: John Garry > :::::: CC: Martin K. Petersen >