From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751902AbcGXFci (ORCPT ); Sun, 24 Jul 2016 01:32:38 -0400 Received: from ozlabs.org ([103.22.144.67]:53194 "EHLO ozlabs.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750918AbcGXFcg (ORCPT ); Sun, 24 Jul 2016 01:32:36 -0400 Date: Sun, 24 Jul 2016 15:32:33 +1000 From: Stephen Rothwell To: Thomas Gleixner , Ingo Molnar , "H. Peter Anvin" , Peter Zijlstra , Rich Felker Cc: linux-next@vger.kernel.org, linux-kernel@vger.kernel.org, Daniel Lezcano Subject: linux-next: build warning after merge of the tip tree Message-ID: <20160724153233.49f1574d@canb.auug.org.au> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi all, After merging the tip tree, today's linux-next build (x86_64 allmodconfig) produced this warning: In file included from include/linux/clocksource.h:18:0, from include/linux/clockchips.h:13, from drivers/clocksource/jcore-pit.c:14: include/linux/of.h:1004:20: warning: comparison of distinct pointer types lacks a cast .data = (fn == (fn_type)NULL) ? fn : fn } ^ include/linux/of.h:1020:3: note: in expansion of macro '_OF_DECLARE' _OF_DECLARE(table, name, compat, fn, of_init_fn_1_ret) ^ include/linux/clocksource.h:247:2: note: in expansion of macro 'OF_DECLARE_1_RET' OF_DECLARE_1_RET(clksrc, name, compat, fn) ^ drivers/clocksource/jcore-pit.c:277:1: note: in expansion of macro 'CLOCKSOURCE_OF_DECLARE' CLOCKSOURCE_OF_DECLARE(jcore_pit, "jcore,pit", jcore_pit_init); ^ Introduced by commits b7c4db861683 ("clocksource/drivers/clksrc-probe: Introduce init functions with return code") 177cf6e52b0a ("clocksources: Switch back to the clksrc table") interacting with commit e0aa0655c60b ("clocksource: add J-Core timer/clocksource driver") from the sh tree. -- Cheers, Stephen Rothwell