Re: [PATCH] IDE: typo in ide-io.c leads to faulty assignment

From: Jesper Juhl
Date: Mon Nov 27 2006 - 11:01:37 EST


On 27/11/06, Elias Oltmanns <eo@xxxxxxxxxxxxxx> wrote:
Due to a typo in ide_start_power_step, the result of a function rather
than its pointer is assigned to args->handler. The patch applies to
2.6.19-rc6 but the problem exists in the stable branch as well.


These two lines :

- args->handler = task_no_data_intr;
+ args->handler = &task_no_data_intr;

do the same thing.

--
Jesper Juhl <jesper.juhl@xxxxxxxxx>
Don't top-post http://www.catb.org/~esr/jargon/html/T/top-post.html
Plain text mails only, please http://www.expita.com/nomime.html
-
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/