lkml.org 
[lkml]   [1996]   [Nov]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subjecta few warnings while compiling 2.1.8
I get these from gcc 2.7.2.1:

loop.c:434: warning: unused variable `err'
BusLogic.c:1188: warning: comparison between pointer and integer
BusLogic.c:1201: warning: comparison between pointer and integer
ufs_super.c:163: warning: unsigned int format, long unsigned int arg (arg 2)
softdog.c:111: warning: initialization from incompatible pointer type

Here's a tiny patch to silence the first one:

--- linux/drivers/block/loop.c.orig Mon Nov 11 10:52:35 1996
+++ linux/drivers/block/loop.c Mon Nov 11 12:37:45 1996
@@ -431,7 +431,7 @@
unsigned int cmd, unsigned long arg)
{
struct loop_device *lo;
- int dev, err;
+ int dev;

if (!inode)
return -EINVAL;
___
Trevor Johnson <trevor@csudh.edu>

\
 
 \ /
  Last update: 2005-03-22 13:38    [W:0.025 / U:1.660 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site