From patchwork Tue Sep 4 17:13:18 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: babu moger X-Patchwork-Id: 1403481 Return-Path: X-Original-To: patchwork-dm-devel@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork1.kernel.org Received: from mx3-phx2.redhat.com (mx3-phx2.redhat.com [209.132.183.24]) by patchwork1.kernel.org (Postfix) with ESMTP id 3BE344025E for ; Tue, 4 Sep 2012 17:16:31 +0000 (UTC) Received: from lists01.pubmisc.prod.ext.phx2.redhat.com (lists01.pubmisc.prod.ext.phx2.redhat.com [10.5.19.33]) by mx3-phx2.redhat.com (8.13.8/8.13.8) with ESMTP id q84HDkwB028114; Tue, 4 Sep 2012 13:13:46 -0400 Received: from int-mx12.intmail.prod.int.phx2.redhat.com (int-mx12.intmail.prod.int.phx2.redhat.com [10.5.11.25]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id q84HDjso002695 for ; Tue, 4 Sep 2012 13:13:45 -0400 Received: from mx1.redhat.com (ext-mx15.extmail.prod.ext.phx2.redhat.com [10.5.110.20]) by int-mx12.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id q84HDeoZ005643 for ; Tue, 4 Sep 2012 13:13:40 -0400 Received: from mx2.netapp.com (mx2.netapp.com [216.240.18.37]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id q84HDdM3025829 for ; Tue, 4 Sep 2012 13:13:39 -0400 X-IronPort-AV: E=Sophos;i="4.80,367,1344236400"; d="scan'208";a="685623726" Received: from smtp2.corp.netapp.com ([10.57.159.114]) by mx2-out.netapp.com with ESMTP; 04 Sep 2012 10:13:39 -0700 Received: from vmwexceht05-prd.hq.netapp.com (vmwexceht05-prd.hq.netapp.com [10.106.77.35]) by smtp2.corp.netapp.com (8.13.1/8.13.1/NTAP-1.6) with ESMTP id q84HDc6I000675; Tue, 4 Sep 2012 10:13:38 -0700 (PDT) Received: from SACEXCMBX02-PRD.hq.netapp.com ([169.254.1.114]) by vmwexceht05-prd.hq.netapp.com ([10.106.77.35]) with mapi id 14.02.0309.002; Tue, 4 Sep 2012 10:12:38 -0700 From: "Moger, Babu" To: linux-scsi Thread-Topic: [PATCH] scsi_dh_rdac : minor return fix for rdac Thread-Index: Ac2KwBZXpoDvgIVUQ7ePt4Oqh6X9gg== Date: Tue, 4 Sep 2012 17:13:18 +0000 Message-ID: <77471C95FAFD844C8CA02DD4F4C5FE2B0BCCAF3F@SACEXCMBX02-PRD.hq.netapp.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.106.53.53] MIME-Version: 1.0 X-RedHat-Spam-Score: -7.109 (BAYES_00, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, SPF_HELO_PASS, SPF_PASS) X-Scanned-By: MIMEDefang 2.68 on 10.5.11.25 X-Scanned-By: MIMEDefang 2.68 on 10.5.110.20 X-MIME-Autoconverted: from quoted-printable to 8bit by lists01.pubmisc.prod.ext.phx2.redhat.com id q84HDjso002695 X-loop: dm-devel@redhat.com Cc: "device-mapper development \(dm-devel@redhat.com\)" Subject: [dm-devel] [PATCH] scsi_dh_rdac : minor return fix for rdac X-BeenThere: dm-devel@redhat.com X-Mailman-Version: 2.1.12 Precedence: junk Reply-To: device-mapper development List-Id: device-mapper development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: dm-devel-bounces@redhat.com Errors-To: dm-devel-bounces@redhat.com Resending with correct subject line. This is patch 1/1. Minor return fix. Signed-off-by: Babu Moger --- -- dm-devel mailing list dm-devel@redhat.com https://www.redhat.com/mailman/listinfo/dm-devel --- linux-3.6-rc1/drivers/scsi/device_handler/scsi_dh_rdac.c.orig 2012-09-04 12:13:40.000000000 -0500 +++ linux-3.6-rc1/drivers/scsi/device_handler/scsi_dh_rdac.c 2012-09-04 12:15:26.000000000 -0500 @@ -863,7 +863,7 @@ static int rdac_bus_attach(struct scsi_d if (!scsi_dh_data) { sdev_printk(KERN_ERR, sdev, "%s: Attach failed\n", RDAC_NAME); - return 0; + return -ENOMEM; } scsi_dh_data->scsi_dh = &rdac_dh;