Re: [PATCH] dp83640: reverse arguments to list_add_tail

2020-04-30 Thread David Miller
From: Julia Lawall Date: Thu, 30 Apr 2020 21:51:32 +0200 > In this code, it appears that phyter_clocks is a list head, based on > the previous list_for_each, and that clock->list is intended to be a > list element, given that it has just been initialized in > dp83640_clock_init. Accordingly, swi

[PATCH] dp83640: reverse arguments to list_add_tail

2020-04-30 Thread Julia Lawall
In this code, it appears that phyter_clocks is a list head, based on the previous list_for_each, and that clock->list is intended to be a list element, given that it has just been initialized in dp83640_clock_init. Accordingly, switch the arguments to list_add_tail, which takes the list head as th