lkml.org 
[lkml]   [2005]   [Jul]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectCompiler warning when building 2.6.13-rc2
This report describes a trivial warning that arises when compiling 
kernel 2.6.13-rc2. In routine yenta_allocate_res of yenta_socket.c,
the void function tries to return a 0. The following patch removes the problem:

--- linux-2.6.13-rc2/drivers/pcmcia/yenta_socket.c_old 2005-07-06
15:41:41.000000000 -0500
+++ linux-2.6.13-rc2/drivers/pcmcia/yenta_socket.c 2005-07-06
15:42:04.000000000 -0500
@@ -552,7 +552,7 @@
res = socket->dev->resource + PCI_BRIDGE_RESOURCES + nr;
/* Already allocated? */
if (res->parent)
- return 0;
+ return;

/* The granularity of the memory limit is 4kB, on IO it's 4 bytes */
mask = ~0xfff;
Thanks, Larry

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-07-07 19:11    [W:0.022 / U:0.404 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site