From patchwork Tue Sep 4 17:03:59 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: babu moger X-Patchwork-Id: 1403451 Return-Path: X-Original-To: patchwork-dm-devel@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork1.kernel.org Received: from mx4-phx2.redhat.com (mx4-phx2.redhat.com [209.132.183.25]) by patchwork1.kernel.org (Postfix) with ESMTP id 59F9E4025E for ; Tue, 4 Sep 2012 17:07:24 +0000 (UTC) Received: from lists01.pubmisc.prod.ext.phx2.redhat.com (lists01.pubmisc.prod.ext.phx2.redhat.com [10.5.19.33]) by mx4-phx2.redhat.com (8.13.8/8.13.8) with ESMTP id q84H4W26020880; Tue, 4 Sep 2012 13:04:35 -0400 Received: from int-mx09.intmail.prod.int.phx2.redhat.com (int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.22]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id q84H4VL9001551 for ; Tue, 4 Sep 2012 13:04:31 -0400 Received: from mx1.redhat.com (ext-mx11.extmail.prod.ext.phx2.redhat.com [10.5.110.16]) by int-mx09.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id q84H4QBm020833 for ; Tue, 4 Sep 2012 13:04:26 -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 q84H4P84026424 for ; Tue, 4 Sep 2012 13:04:25 -0400 X-IronPort-AV: E=Sophos;i="4.80,367,1344236400"; d="scan'208";a="685619721" Received: from smtp2.corp.netapp.com ([10.57.159.114]) by mx2-out.netapp.com with ESMTP; 04 Sep 2012 10:04:24 -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 q84H4NXL016975; Tue, 4 Sep 2012 10:04:24 -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:03:23 -0700 From: "Moger, Babu" To: linux-scsi Thread-Topic: [PATCH 1/2] scsi_dh_rdac : minor return fix for rdac Thread-Index: Ac2Kvz/f3N6JJKvxTJmu4mloOYiHUQ== Date: Tue, 4 Sep 2012 17:03:59 +0000 Message-ID: <77471C95FAFD844C8CA02DD4F4C5FE2B0BCCAEFA@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.22 X-Scanned-By: MIMEDefang 2.68 on 10.5.110.16 X-MIME-Autoconverted: from quoted-printable to 8bit by lists01.pubmisc.prod.ext.phx2.redhat.com id q84H4VL9001551 X-loop: dm-devel@redhat.com Cc: "device-mapper development \(dm-devel@redhat.com\)" Subject: [dm-devel] [PATCH 1/2] 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 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;