Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp5336086imm; Tue, 12 Jun 2018 06:25:52 -0700 (PDT) X-Google-Smtp-Source: ADUXVKLGlwmPG3v2+/32loZwio3a69XhbppzU/cY8w0hRAzVrYxbb9w3XVy/fCeXsgWvHg5IBwni X-Received: by 2002:a63:be4f:: with SMTP id g15-v6mr319844pgo.115.1528809951741; Tue, 12 Jun 2018 06:25:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1528809951; cv=none; d=google.com; s=arc-20160816; b=Jf7eLC4/8VUCiu5+KBCGaxsbAGeYfGZY3Hwf5KU1CoL4Du4kflVApHUPGBd3reu5FT f/A7WLBnGhUax2dDowrMuke8lonDElU9ZO6w4G7iPIV3spr9FBC7og+DaZyneMwDX93p MXCo9tJB+q+iMYTbA7iNbU/OjytHwY2S+8i4xx4F4j3KEvXe/MD+TPhct10iLthWyofO e9d7ob0Y5waI2ULMB5k1+5ny2XacD9Rdg0TqIm90vK4J0UShqbA8XNo//Eh2/QRIIkBs rpZ3KLz9HCidlbh1CiSNnujgFTXNwUG2W5E8XHAwZ1wYDFsDKaBV4Ywym6/acPXxsYTO CgAA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :content-id:spamdiagnosticmetadata:spamdiagnosticoutput :wdcipoutbound:content-language:accept-language:in-reply-to :references:message-id:date:thread-index:thread-topic:subject:cc:to :from:dkim-signature:dkim-signature:arc-authentication-results; bh=ySdrgIOc5ZJgmqarJkyIZO+ig/Sm4Uf7EvCDAgE0WhM=; b=SBb2Ho/FTZQAlioMCMOZb/MJLTwDJNn83dK4GHaedGEfCybNWwIAEgIlmkXMA8CRE3 f8XUroNXIVd40oK+QK+BlW7fYSuFRZUI6EgRceIdjv/rX/ci5rajaCROnVOwc4DSsssa DxhMZpKd5GBVXPcis3miD4evMKhazt8e+P6WWDJKZSphiz5T9/Y+iDryOxPupnYLpnrt JaRQTqyATgcc0oCL2AAmsMADhQCb1Gbm47U6hjFB3ttFdHe/8Kckj/UvtFJIeCGTORHD wUqw2MBujtAabUCIsx6Wc+0Gw0ze7SsFm1iHoAyUX9qhdG/A3XGGTueF+LoO7tx4uVg8 2iZg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@wdc.com header.s=dkim.wdc.com header.b=Lu4+WAHa; dkim=pass header.i=@sharedspace.onmicrosoft.com header.s=selector1-wdc-com header.b=fV9RWxNp; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id a11-v6si112972pgt.205.2018.06.12.06.25.37; Tue, 12 Jun 2018 06:25:51 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@wdc.com header.s=dkim.wdc.com header.b=Lu4+WAHa; dkim=pass header.i=@sharedspace.onmicrosoft.com header.s=selector1-wdc-com header.b=fV9RWxNp; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933729AbeFLNZP (ORCPT + 99 others); Tue, 12 Jun 2018 09:25:15 -0400 Received: from esa3.hgst.iphmx.com ([216.71.153.141]:29461 "EHLO esa3.hgst.iphmx.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932905AbeFLNZM (ORCPT ); Tue, 12 Jun 2018 09:25:12 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=wdc.com; i=@wdc.com; q=dns/txt; s=dkim.wdc.com; t=1528809912; x=1560345912; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-id:content-transfer-encoding: mime-version; bh=ySdrgIOc5ZJgmqarJkyIZO+ig/Sm4Uf7EvCDAgE0WhM=; b=Lu4+WAHaUGGKyX2XAHJQB6JkV+iyn8V1mUOVSeECKGAUxkyEMiKPRhK+ b+Qesbq8dZCCj6cjsxnh5vbXrYN9757lKRUT9qN5ySVsknW0qUHeWKGpA ULtKYzSbqsfcnufQFcfoBcssSDQV0rI530aUYoQNrNCaDuEWr5G40blWy 2M7A5H722ivlG2YmEOSk0i96DZ8hAd+zWW3bLs+Cm2LZ8x2k6PWtMssrX QaqDbyThhGxXzLU0uYJG6wzrVq4wfjx55ioVzG68Y5n9LVaRtyM4g0NCZ CFymFcaB+XmAg8HaABp3/Z0y9dS1vjgUExTbFP8q1/aNo4Ea5VbazNa7m Q==; X-IronPort-AV: E=Sophos;i="5.51,214,1526313600"; d="scan'208";a="82276741" Received: from mail-sn1nam04lp0087.outbound.protection.outlook.com (HELO NAM04-SN1-obe.outbound.protection.outlook.com) ([216.32.180.87]) by ob1.hgst.iphmx.com with ESMTP; 12 Jun 2018 21:25:11 +0800 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sharedspace.onmicrosoft.com; s=selector1-wdc-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=ySdrgIOc5ZJgmqarJkyIZO+ig/Sm4Uf7EvCDAgE0WhM=; b=fV9RWxNpoPSriFAdcDtNUteH3ekuL6aEZZMt78ByYVencguAj6eu4G+PS2cwmbUgWbu9sQJAAsmrq73CjREy+VXwAbt+DoOAu/jrWrZf/RTJ+bfEDVYLCRP62WqeDjqZag4bX+p2+OgvjUdwM5eVOVaITuJPjeTvIH2FyzLq7s8= Received: from MWHPR04MB1198.namprd04.prod.outlook.com (10.173.48.151) by MWHPR04MB0737.namprd04.prod.outlook.com (10.172.168.7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.863.14; Tue, 12 Jun 2018 13:25:07 +0000 Received: from MWHPR04MB1198.namprd04.prod.outlook.com ([fe80::9de4:3c8d:39af:e4c5]) by MWHPR04MB1198.namprd04.prod.outlook.com ([fe80::9de4:3c8d:39af:e4c5%8]) with mapi id 15.20.0841.019; Tue, 12 Jun 2018 13:25:07 +0000 From: Bart Van Assche To: "jiazhouyang09@gmail.com" CC: "linux-scsi@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "target-devel@vger.kernel.org" , "nab@linux-iscsi.org" Subject: Re: [PATCH] target: add error handling for match_int Thread-Topic: [PATCH] target: add error handling for match_int Thread-Index: AQHUAgk4BpxYJjRnc0Ohad1ba92Ll6RcnXsA Date: Tue, 12 Jun 2018 13:25:07 +0000 Message-ID: <4f248c27409b49193193ca187cdd1a30f85ce547.camel@wdc.com> References: <1528779148-42485-1-git-send-email-jiazhouyang09@gmail.com> In-Reply-To: <1528779148-42485-1-git-send-email-jiazhouyang09@gmail.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=Bart.VanAssche@wdc.com; x-originating-ip: [76.103.130.147] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1;MWHPR04MB0737;7:P6TZxpdF0s+Iz0bBI/iw1sj50GNM2t7PVCm4R8XIqasYSwsSGWNjGMnlostgoGo50ValIvogdQ1o01aT1JK1iqHbUbdwCBS4OSj3peZtwmn5uGpdUOXnVgOHk3y9JyHdwtvjihtkM8pyCmgjE3VwRxiUtFEH8BvjTo5ipxcNWhhSk47mArRrL4GYA5wbB7hVWDc+zbhcdEP6jD417CJPHSwL+AziOzHFeVbQXMD1hkUV/6JPeYFt6JK1AYQEPTND;20:/QhWr+a8ZquvFci9TzmK6gDZYySjP8hij0sfsk/uq69vv81RgOrq59WCp6nkEcj1ONcG3kJs3rMy9H1a0vXVLGeh0WMV/hEMr5m6lxpe6KHui14LvGRDEWblEfjAVQNcxY/ujtoZrIeLSMi2WkW1SqdbpLZfQwxP2+8WmQeN0gk= x-ms-exchange-antispam-srfa-diagnostics: SOS; x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:(7020095)(4652020)(48565401081)(5600026)(4534165)(4627221)(201703031133081)(201702281549075)(2017052603328)(7153060)(7193020);SRVR:MWHPR04MB0737; x-ms-traffictypediagnostic: MWHPR04MB0737: wdcipoutbound: EOP-TRUE x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(85827821059158); x-ms-exchange-senderadcheck: 1 x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:(6040522)(2401047)(8121501046)(5005006)(10201501046)(93006095)(93001095)(3002001)(3231254)(944501410)(52105095)(6055026)(149027)(150027)(6041310)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123560045)(20161123562045)(20161123558120)(20161123564045)(6072148)(201708071742011)(7699016);SRVR:MWHPR04MB0737;BCL:0;PCL:0;RULEID:;SRVR:MWHPR04MB0737; x-forefront-prvs: 07013D7479 x-forefront-antispam-report: SFV:NSPM;SFS:(10019020)(39380400002)(366004)(346002)(376002)(39860400002)(396003)(189003)(199004)(486006)(476003)(97736004)(99286004)(6246003)(4326008)(81156014)(305945005)(186003)(25786009)(39060400002)(1361003)(2351001)(11346002)(2906002)(81166006)(316002)(2616005)(6506007)(86362001)(7736002)(76176011)(6916009)(54906003)(26005)(3660700001)(446003)(14454004)(2900100001)(6512007)(5640700003)(5250100002)(66066001)(6116002)(68736007)(3846002)(3280700002)(2501003)(5660300001)(106356001)(102836004)(105586002)(8676002)(6486002)(1411001)(72206003)(229853002)(6436002)(8936002)(478600001)(53936002)(118296001)(36756003);DIR:OUT;SFP:1102;SCL:1;SRVR:MWHPR04MB0737;H:MWHPR04MB1198.namprd04.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;MX:1;A:1; x-microsoft-antispam-message-info: HPy2jnifzCdQ5pB/GzeNIPgY9LKqJn4U9RZheZPp6Z3qSFH531cHAsM82uK0Du+zFoUS//HsbfRdLX7OfGSQp+G/yAcvyoqTR+X84SMcKr3Tfz1bTLyePTiZNZAcLbtN9pbX9yxaGT+AkHV0BhdLcb/FX/NsOEH0mpPN9b6iKX5jJbRLlQBLgQcnmVRx1MoL spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="utf-8" Content-ID: <98F12B659DD0244B9654A4FB4722AE9F@namprd04.prod.outlook.com> Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-MS-Office365-Filtering-Correlation-Id: a2823776-5466-40ce-3e17-08d5d067ea98 X-OriginatorOrg: wdc.com X-MS-Exchange-CrossTenant-Network-Message-Id: a2823776-5466-40ce-3e17-08d5d067ea98 X-MS-Exchange-CrossTenant-originalarrivaltime: 12 Jun 2018 13:25:07.7066 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: b61c8803-16f3-4c35-9b17-6f65f441df86 X-MS-Exchange-Transport-CrossTenantHeadersStamped: MWHPR04MB0737 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org T24gVHVlLCAyMDE4LTA2LTEyIGF0IDEyOjUyICswODAwLCBaaG91eWFuZyBKaWEgd3JvdGU6DQo+ IFdoZW4gbWF0Y2hfaW50IGZhaWxzLCB0aGUgbGFjayBvZiBlcnJvci1oYW5kbGluZyBjb2RlIG1h eQ0KPiBjYXVzZSB1bmV4cGVjdGVkIHJlc3VsdHMuDQo+IA0KPiBUaGlzIHBhdGNoIGFkZHMgZXJy b3ItaGFuZGxpbmcgY29kZSBhZnRlciBjYWxsaW5nIG1hdGNoX2ludC4NCj4gDQo+IFNpZ25lZC1v ZmYtYnk6IFpob3V5YW5nIEppYSA8amlhemhvdXlhbmcwOUBnbWFpbC5jb20+DQo+IC0tLQ0KPiAg ZHJpdmVycy90YXJ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