lkml.org 
[lkml]   [2008]   [Sep]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[patch 3/5] dmar: initialize the return value in dmar_parse_dev()
From: Yinghai Lu <yhlu.kernel@gmail.com>
Subject: dmar: initialize the return value in dmar_parse_dev()

initialize the return value in dmar_parse_dev()

Signed-off-by: Yinghai Lu <yhlu.kernel@gmail.com>
Signed-off-by: Suresh Siddha <suresh.b.siddha@intel.com>
---

Index: tip/drivers/pci/dmar.c
===================================================================
--- tip.orig/drivers/pci/dmar.c 2008-09-03 11:48:21.000000000 -0700
+++ tip/drivers/pci/dmar.c 2008-09-03 11:49:34.000000000 -0700
@@ -193,7 +193,7 @@
{
struct acpi_dmar_hardware_unit *drhd;
static int include_all;
- int ret;
+ int ret = 0;

drhd = (struct acpi_dmar_hardware_unit *) dmaru->hdr;

--



\
 
 \ /
  Last update: 2008-09-04 02:13    [W:0.055 / U:0.676 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site