Re: [PATCH] Fix section mismatch in the Adaptec DPT SCSI Raiddriver

From: Andrew Morton
Date: Fri Aug 17 2007 - 17:19:22 EST


On Fri, 17 Aug 2007 16:51:15 -0400
Joe Korty <joe.korty@xxxxxxxx> wrote:

> Fix section mismatch in the Adaptec DPT SCSI Raid driver.
>
> Signed-off-by: Joe Korty <joe.korty@xxxxxxxx>
>
> Index: 2.6.23-rc3-git1/drivers/scsi/dpt_i2o.c
> ===================================================================
> --- 2.6.23-rc3-git1.orig/drivers/scsi/dpt_i2o.c 2007-08-17 16:36:05.000000000 -0400
> +++ 2.6.23-rc3-git1/drivers/scsi/dpt_i2o.c 2007-08-17 16:50:13.000000000 -0400
> @@ -3351,7 +3351,7 @@
> return count > 0 ? 0 : -ENODEV;
> }
>
> -static void __exit adpt_exit(void)
> +static void adpt_exit(void)
> {
> while (hba_chain)
> adpt_release(hba_chain);

Please always provide at least a copy of the error message when providing
patches which fix warnings, or build errors, or section mismatches.

For section mismatches, an analysis of what caused the problem would help,
too. It saves others from having to do the same thing.

In this case, I'd need to see what error is being fixed so that I can judge
the seriousness of the problem. In this case I don't _think_ it'll be
terribly serious because iirc most architectures don't free exitcall memory.

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