Messages in this thread | | | Date | Sun, 8 May 2005 14:49:04 +0200 | From | Domen Puncer <> | Subject | Re: [patch 21/21] CKRM: Fix for compiler warnings |
| |
On 05/05/05 11:07 -0700, gh@us.ibm.com wrote: > -static void cb_taskclass_newtask(struct task_struct *tsk) > +static void cb_taskclass_newtask(void *tsk1) > { > + struct task_struct *tsk = (struct task_struct *)tsk1; > +
I see this often in this code, so I'll mention it: There's no need to cast void pointers to other pointers.
Domen
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |