Re: 2.3.27 PATCH fixing unbalanced #endif in drivers/scsi/ini9100u.h

Alexander Viro (viro@math.psu.edu)
Fri, 12 Nov 1999 06:37:30 -0500 (EST)


On Fri, 12 Nov 1999, Adam J. Richter wrote:

>
> The subject line says it all. drivers/scsi/init9100u.h has an
> unbalanced #endif. Here is a patch to make it compile.

Wrong fix, actually. Correct one: remove extern and #endif (and don't
include config.h, indeed).

> +#include <linux/config.h> /* for CONFIG_PROC_FS */
>
> #include "sd.h"
>
> @@ -84,6 +85,7 @@
> extern int i91u_reset(Scsi_Cmnd *, unsigned int);
>
> extern int i91u_biosparam(Scsi_Disk *, kdev_t, int *); /*for linux v2.0 */
> +#ifdef CONFIG_PROC_FS
> extern struct proc_dir_entry proc_scsi_ini9100u;
> #endif

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