Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp950218ybt; Wed, 17 Jun 2020 18:49:32 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxYKy4VRgQA3BwoXBONWkFSn6oyzAe05kCa0jPWdW0iJUp2FbaZQJYaQ6jJruDAMSyM8hse X-Received: by 2002:a50:9b16:: with SMTP id o22mr1879358edi.130.1592444971895; Wed, 17 Jun 2020 18:49:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1592444971; cv=none; d=google.com; s=arc-20160816; b=AzR4OEaWYVn/GjphGXVRH1awmKxeOP3K6PxEZi+qa2qRN+W26DGB7tFUOUNzH2gvAT +KSKlRMROwfF8/9HI77qiODdJojFJZlkmwnvX8qpP0Nt/bY4t/bmC0fHaKHpqQpU7JS9 YU9qS6uMFMKqIv/HOc1m0sB136NY4D/wv7svezFmxDlPXyxlKA6qHGMDnIzrCyQWb7a5 VAMn0bETwQdue/f1qC4HSRsFNllXKOXh2LzDHVajBkm1ettl3Tt63D8LpW/NHG2p11BI I+GsIkXsW80fVY07QkZTEHD4W9KVzTfWhPc6WYfG28nDERmDhUk+kut6tccdDULMOWM3 DLiA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:content-transfer-encoding:date :message-id:in-reply-to:cc:to:from:reply-to:subject:mime-version :dkim-signature:dkim-filter; bh=twolrlHaZZVZpdlkPRS2+xEnnvzq2S5IOwmKy67vMX4=; b=lUZadQViYj+xCxIqcSyJnHw+gqI0XnuRudOaDjMLR5Nl9tlueqvJ+PVu+jvfIDgPyW saHb8GNfk0pDOu/XNXJ3jvv69WWoupdwEADuYNv94Ld8ZxLIT4nOxNIXaelqVlWeKwq3 RcC+wvPC7VZaZzzbOk46zUVwb7ts7t1quLTcdAVHH2rp+8VgNvL4o/sP4ScsUIExpO9S m8xq9EevYNCI5pBFFN62cGL3B8U/+CqK3oAuNcDq6k0VeLfOAsItqvC1AOTL0R78M9my DVr1Y9gfUS1YDgswv95oCqVSj5bzlYO+C3T8ygagxgHhX9V5aRroNED2l6OcZ8rZebBI BAGw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b=uDsBhGjr; 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=NONE dis=NONE) header.from=samsung.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id a13si934112ejb.241.2020.06.17.18.49.09; Wed, 17 Jun 2020 18:49:31 -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=@samsung.com header.s=mail20170921 header.b=uDsBhGjr; 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=NONE dis=NONE) header.from=samsung.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732273AbgFRBpI (ORCPT + 99 others); Wed, 17 Jun 2020 21:45:08 -0400 Received: from mailout1.samsung.com ([203.254.224.24]:27859 "EHLO mailout1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732468AbgFRBpF (ORCPT ); Wed, 17 Jun 2020 21:45:05 -0400 Received: from epcas1p4.samsung.com (unknown [182.195.41.48]) by mailout1.samsung.com (KnoxPortal) with ESMTP id 20200618014502epoutp01cdaf9c9ddfe01932f4de2603565b2758~ZgAUQAnUC1369813698epoutp01I for ; Thu, 18 Jun 2020 01:45:02 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout1.samsung.com 20200618014502epoutp01cdaf9c9ddfe01932f4de2603565b2758~ZgAUQAnUC1369813698epoutp01I DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1592444702; bh=twolrlHaZZVZpdlkPRS2+xEnnvzq2S5IOwmKy67vMX4=; h=Subject:Reply-To:From:To:CC:In-Reply-To:Date:References:From; b=uDsBhGjrRXcjR4JP5mreRbiUTAIHbmetXQVUyxbABdCZoVN2pS1504A7XnEDvfRNp mVEgxHecrMRIl6QFvDdqk9NH0vYPdzq4qnfoh1oxLG2+IxFHz69HBPrm+0bDa/Cmpq HL2Rc3/wdobv8Ow9b37LF1/7U5HyLeMW48w84ujc= Received: from epcpadp1 (unknown [182.195.40.11]) by epcas1p4.samsung.com (KnoxPortal) with ESMTP id 20200618014501epcas1p41a295123d2f95e6df8415d2e04975748~ZgATuq7Dp1323913239epcas1p4q; Thu, 18 Jun 2020 01:45:01 +0000 (GMT) Mime-Version: 1.0 Subject: RE: [RFC PATCH v2 3/5] scsi: ufs: Introduce HPB module Reply-To: daejun7.park@samsung.com From: Daejun Park To: Avri Altman , Daejun Park , ALIM AKHTAR , "jejb@linux.ibm.com" , "martin.petersen@oracle.com" , "asutoshd@codeaurora.org" , "beanhuo@micron.com" , "stanley.chu@mediatek.com" , "cang@codeaurora.org" , "bvanassche@acm.org" , "tomas.winkler@intel.com" CC: "linux-scsi@vger.kernel.org" , "linux-kernel@vger.kernel.org" , Sang-yoon Oh , Sung-Jun Park , yongmyung lee , Jinyoung CHOI , Adel Choi , BoRam Shin X-Priority: 3 X-Content-Kind-Code: NORMAL In-Reply-To: X-CPGS-Detection: blocking_info_exchange X-Drm-Type: N,general X-Msg-Generator: Mail X-Msg-Type: PERSONAL X-Reply-Demand: N Message-ID: <231786897.01592444701916.JavaMail.epsvc@epcpadp1> Date: Thu, 18 Jun 2020 09:53:44 +0900 X-CMS-MailID: 20200618005344epcms2p506001ce6c5958d65980bc9414d411695 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="utf-8" X-Sendblock-Type: AUTO_CONFIDENTIAL X-CPGSPASS: Y X-CPGSPASS: Y X-Hop-Count: 3 X-CMS-RootMailID: 20200615062708epcms2p19a7fbc051bcd5e843c29dcd58fff4210 References: <231786897.01592212081335.JavaMail.epsvc@epcpadp2> <336371513.41592205783606.JavaMail.epsvc@epcpadp2> <231786897.01592205482200.JavaMail.epsvc@epcpadp2> <231786897.01592213402355.JavaMail.epsvc@epcpadp1> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > +static int ufshpb_lu_hpb_init(struct ufs_hba *hba, struct ufshpb_lu *hpb, > > + struct ufshpb_dev_info *hpb_dev_info) > > +{ > > + int ret; > > + > > + spin_lock_init(&hpb->hpb_state_lock); > > + > > + ret = ufshpb_alloc_region_tbl(hba, hpb); > > + if (ret) > > + goto release_m_page_cache; > This label is added only on 4/5 > > > +static int __init ufshpb_init(void) > > +{ > > + unsigned int pool_size; > Unused variable > > > + int ret; > > + > > + ret = driver_register(&ufshpb_drv.drv); > > + if (ret) > > + pr_err("ufshpb: driver register failed\n"); > > + > > + return ret; > > +} OK, I will fix it.