On Mon, Jul 30, 2012 at 07:47:13AM +0800, Axel Lin wrote:

>               _notifier_call_chain(rdev, REGULATOR_EVENT_VOLTAGE_CHANGE,
> -                                  (void *)best_val);
> +                                  (void *)(uintptr_t)best_val);

This also looks problematic, you should never need to cast a pointer to
or from void.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to