On 06/13/2016 10:41 PM, Arnd Bergmann wrote:
The CLOCKSOURCE_OF_DECLARE macro ensures that the type of the init
function matches the caller. In case of the new timer-nps driver,
it doesn't match, so we get a warning:
../drivers/clocksource/timer-nps.c:97:208: error: comparison of distinct
On 06/13/2016 10:41 PM, Arnd Bergmann wrote:
The CLOCKSOURCE_OF_DECLARE macro ensures that the type of the init
function matches the caller. In case of the new timer-nps driver,
it doesn't match, so we get a warning:
../drivers/clocksource/timer-nps.c:97:208: error: comparison of distinct
The CLOCKSOURCE_OF_DECLARE macro ensures that the type of the init
function matches the caller. In case of the new timer-nps driver,
it doesn't match, so we get a warning:
../drivers/clocksource/timer-nps.c:97:208: error: comparison of distinct
pointer types lacks a cast [-Werror]
The CLOCKSOURCE_OF_DECLARE macro ensures that the type of the init
function matches the caller. In case of the new timer-nps driver,
it doesn't match, so we get a warning:
../drivers/clocksource/timer-nps.c:97:208: error: comparison of distinct
pointer types lacks a cast [-Werror]
4 matches
Mail list logo