From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 9509DC19F2C for ; Mon, 1 Aug 2022 22:36:43 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235434AbiHAWgm (ORCPT ); Mon, 1 Aug 2022 18:36:42 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47390 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232527AbiHAWgm (ORCPT ); Mon, 1 Aug 2022 18:36:42 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 82A72474C2; Mon, 1 Aug 2022 15:36:41 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 1D36360E74; Mon, 1 Aug 2022 22:36:41 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id B4BA4C433D6; Mon, 1 Aug 2022 22:36:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1659393400; bh=9JcV2Q8bWTkqF5wLFIVQqKEZQK5g+SQKeAUa9wTSna4=; h=From:To:Cc:Subject:Date:From; b=aaMkcyp8Z3oMKRU20Cx4NyvY1XiEb1rsN5sSHyAWp+FU4zCHgIuJm4gKB0pu1nwim sBse/O8TqWuavA5cppkOgj3824ZhTEumiVSrDrcBPqLttK/v33kXEWDCE0s1m9LaRl AvnmWSO7I97YcfdEGIYwdREwav5AdcOqkqgV1oGytk8HGKw99fYJX9hXPDnTsck0Uv jkZs4rggg/4/QIPLi059giGYjKH/lU92MHBL0IlKoLWzf5IVmUWQikE7CNl/FAzJQb /aeFWQlOmYECJ37qMt3B/DQI5+KaKhpDi1dR70Egih9TcNcqEBBq+s9F9fpbKMXGvy 776nnQ2jS0fGQ== From: broonie@kernel.org To: Daniel Lezcano , Zhang Rui Cc: Linux Kernel Mailing List , Linux Next Mailing List , Amit Kucheria , Bartlomiej Zolnierkiewicz , Krzysztof Kozlowski , linux-samsung-soc@vger.kernel.org Subject: linux-next: build failure after merge of the thermal tree Date: Mon, 1 Aug 2022 23:35:09 +0100 Message-Id: <20220801223509.3613888-1-broonie@kernel.org> X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-next@vger.kernel.org Hi all, After merging the thermal tree, today's linux-next build (x86 allmodconfig) failed like this: /tmp/next/build/drivers/thermal/samsung/exynos_tmu.c:753:44: warning: 'struct thermal_zone' declared inside parameter list will not be visible outside of this definition or declaration 753 | static int exynos_tmu_set_emulation(struct thermal_zone *tz, int temp) | ^~~~~~~~~~~~ /tmp/next/build/drivers/thermal/samsung/exynos_tmu.c:1002:19: error: initialization of 'int (*)(struct thermal_zone_device *, int)' from incompatible pointer type 'int (*)(struct thermal_zone *, int)' [-Werror=incompatible-pointer-types] 1002 | .set_emul_temp = exynos_tmu_set_emulation, | ^~~~~~~~~~~~~~~~~~~~~~~~ /tmp/next/build/drivers/thermal/samsung/exynos_tmu.c:1002:19: note: (near initialization for 'exynos_sensor_ops.set_emul_temp') cc1: some warnings being treated as errors Caused by commit a5e9a144258bf898 ("thermal/drivers/samsung: Switch to new of thermal API") which looks like it missed some conversions. I'll figure out how to handle this tomorrow since I don't expect to release today, I'm just droping the tree for now.