On 2011년 08월 30일 19:46, Donggeun Kim wrote: > On 2011년 08월 29일 21:22, R, Durgadoss wrote: > The read function returns error code (-ENODATA) for abnormal case. > So, the return type should be 'int'. >>> +static irqreturn_t exynos4_tmu_irq(int irq, void *id) >>> +{ >>> + struct exynos4_tmu_data *data = id; >> >> I am not sure whether we _must_ cast 'id', as (struct exynos4_tmu_data *).. >> > In exynos4_tmu_irq function, 'irq_work' field in 'exynos4_tmu_data' is > accessed. Thus, it should be casted. The last sentence is 'Thus, it should not be casted'. It was my mistake. _______________________________________________ lm-sensors mailing list lm-sensors@xxxxxxxxxxxxxx http://lists.lm-sensors.org/mailman/listinfo/lm-sensors