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 1DA60C433FE for ; Fri, 4 Nov 2022 12:10:29 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230381AbiKDMK1 (ORCPT ); Fri, 4 Nov 2022 08:10:27 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40060 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231673AbiKDMKO (ORCPT ); Fri, 4 Nov 2022 08:10:14 -0400 Received: from out4-smtp.messagingengine.com (out4-smtp.messagingengine.com [66.111.4.28]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2CC942D1F9 for ; Fri, 4 Nov 2022 05:10:13 -0700 (PDT) Received: from compute2.internal (compute2.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id BCA335C008C; Fri, 4 Nov 2022 08:10:10 -0400 (EDT) Received: from imap47 ([10.202.2.97]) by compute2.internal (MEProxy); Fri, 04 Nov 2022 08:10:10 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=svenpeter.dev; h=cc:cc:content-type:date:date:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:sender :subject:subject:to:to; s=fm3; t=1667563810; x=1667650210; bh=+3 H8CB5/oNHvAN43qyAMT/r+mH/dru8ma2r/u1N3f58=; b=ZG9EfUpw2g4jGXjve/ vy1f4qdM8qUrv1VxKoe0oVezqCFcmq05hcy2hZ2ohyaAB7bXovKMVinfw1xWG/cw r35ak/vFIb9LlxL8RMd4U2X7LVPDKInScp67i9nnJc70NTZ/PZ8xi6crY6b3nHzH 9VgYefd9KBOF4sUm7+59YTgZrzBqc2cRrakSC1IHqszQbsbOwOLW3lwu8EXYIFjB D8Iq6VQDTGNvt/aNRJvgfZoClJG21tiD+OeI+xNdA//9F2FkziipwM+ENsg7XiES sIZKi3pYKsmiK2+yuPYU1XKk3m1FL5anEOVtFD9oR8VVPQDM+BzB8Grj54WAzjDB 5laA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:date:date:feedback-id :feedback-id:from:from:in-reply-to:in-reply-to:message-id :mime-version:references:reply-to:sender:subject:subject:to:to :x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm3; t=1667563810; x=1667650210; bh=+3H8CB5/oNHvAN43qyAMT/r+mH/d ru8ma2r/u1N3f58=; b=VurGaKbDx7cap4xf5/hZbhD0tZEJQw00/bqsPAUJSepz Np9NBEsMEpNMnwY5GVkfPCrvtDRNP6VnaCVoqBcGnaygLf3XAg06ce1DviWHBwzI opkTM2VFsKd/L/gyARXsuj/eyFKrd8SEuAPkklzgOnt6Z6ITnIyDl0JEY9KIEPex z6p8MHLd74cctO5nG//lmdXH9v+17J0u/3lY+UXk5KR6fHoPmsbmbgvR5D+UqjIf XHKyXs9TsSPrbctKBk4a3+ARWMcWMV5YTiunCfRLBeAssnu3LGKO4qOnYUOa/PxX tWk2VGaCtlu2HgiCXb8viR8QVFBvxPcbW/DxDqjtwg== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvgedrvddugdefgecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefofgggkfgjfhffhffvvefutgesthdtredtreertdenucfhrhhomhepfdfuvhgv nhcurfgvthgvrhdfuceoshhvvghnsehsvhgvnhhpvghtvghrrdguvghvqeenucggtffrrg htthgvrhhnpeelvefggeffheevtdeivefhkeehfeettdejteduveeiheevveeilefghfei veeiueenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpe hsvhgvnhesshhvvghnphgvthgvrhdruggvvh X-ME-Proxy: Feedback-ID: i51094778:Fastmail Received: by mailuser.nyi.internal (Postfix, from userid 501) id CC854A6007C; Fri, 4 Nov 2022 08:10:09 -0400 (EDT) X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.7.0-alpha0-1087-g968661d8e1-fm-20221021.001-g968661d8 Mime-Version: 1.0 Message-Id: <9690ec57-4d7e-4a36-8ae3-953de05d3613@app.fastmail.com> In-Reply-To: <26ce1ec2-effc-435f-8349-a12667973d92@app.fastmail.com> References: <202211041544.R0jV58vk-lkp@intel.com> <26ce1ec2-effc-435f-8349-a12667973d92@app.fastmail.com> Date: Fri, 04 Nov 2022 13:09:49 +0100 From: "Sven Peter" To: "Arnd Bergmann" , "kernel test robot" Cc: clang-built-linux , oe-kbuild-all@lists.linux.dev, linux-kernel@vger.kernel.org, "Hector Martin" Subject: Re: drivers/soc/apple/sart.c:190:38: warning: cast from 'void (*)(struct device *)' to 'void (*)(void *)' converts to incompatible function type Content-Type: text/plain Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Nov 4, 2022, at 09:14, Arnd Bergmann wrote: > On Fri, Nov 4, 2022, at 09:01, kernel test robot wrote: >> >> If you fix the issue, kindly add following tag where applicable >> | Reported-by: kernel test robot > > Thanks for the report! > >>>> drivers/soc/apple/sart.c:190:38: warning: cast from 'void (*)(struct device *)' to 'void (*)(void *)' converts to incompatible function type [-Wcast-function-type-strict] >> >> ret = devm_add_action_or_reset(dev, (void (*)(void *))put_device, >> ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > Sven, can you send a patch to add the missing helper function that calls > put_device? Sure, I'll send a patch tonight. Sven