Re: [PATCH] sh_eth: move inline functions to the header file

2015-12-12 Thread Sergei Shtylyov
Hello. On 04/07/2015 10:33 PM, David Miller wrote: The explicitly inline functions belong to the header files, so move cpu_to_edmac() and edmac_to_cpu() into the driver header. While at it, make these functions return 'u32' instead of '__u32'. Signed-off-by: Sergei Shtylyov Then... um

Re: [PATCH] sh_eth: move inline functions to the header file

2015-10-30 Thread Sergei Shtylyov
Hello. On 04/07/2015 10:33 PM, David Miller wrote: The explicitly inline functions belong to the header files, so move cpu_to_edmac() and edmac_to_cpu() into the driver header. While at it, make these functions return 'u32' instead of '__u32'. Signed-off-by: Sergei Shtylyov Then... um