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 X-Spam-Level: X-Spam-Status: No, score=-5.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id C9E12C4332E for ; Mon, 1 Mar 2021 17:49:16 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id AFD1464F0B for ; Mon, 1 Mar 2021 17:49:16 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238761AbhCARsM (ORCPT ); Mon, 1 Mar 2021 12:48:12 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52600 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238486AbhCARmq (ORCPT ); Mon, 1 Mar 2021 12:42:46 -0500 Received: from mail-ej1-x636.google.com (mail-ej1-x636.google.com [IPv6:2a00:1450:4864:20::636]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DA3D3C061797 for ; Mon, 1 Mar 2021 09:41:38 -0800 (PST) Received: by mail-ej1-x636.google.com with SMTP id ci14so10796535ejc.7 for ; Mon, 01 Mar 2021 09:41:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:from:date:message-id:subject:to:cc; bh=fmHYggjF6Jt5DNFcsFSXOplHqC900eWwjViJfxnrUOQ=; b=Ph1JJjuOqS4RxbqS5YT9VFHcNI4IsMz6yueacxoRJOBEhFCZmrQlo4o8hTpMGQg0g8 yGfirBtjYWTm3xk6zvuiwfoOQigcl0HGdhkD+nmMAvEfzfgd5dLF83Og2lb1imAVxogv y4mNixTDxFJLhVO8tR+3vw0+RzC1RDcW/pYxE4QKHiFdKAyEoWaFxG2NMf+5gnPeuWst bHxUSUFHOmTB0v8nmtUQiSZJ4vk9G2nvuKdV54l8KbFHM1iiOABIWrG2cG04IMNDBMvp dETm8q8Ir5t+J6IDRu7GCrqLOC+ULWe9Tcxxuw0N9VNu9P2Ma9JZgR2SVhVZJsi3oLWp OB6A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to:cc; bh=fmHYggjF6Jt5DNFcsFSXOplHqC900eWwjViJfxnrUOQ=; b=NEiXTbQym40/yfvhiCPHDtctLHM5FAWKWTqy6g+qgDqSzs161y3yw2M2f4P+Yohg8G DnN2Td+WRq56tZdDP11/2FP4HK16RV9tRYMAszDm9JqsRE+H2SEXEh1U8s1ted3TsyoG QXejf+b15G68byYgJRQ/t9rLTiR1Bq0Ihh73cq+E8KBSyjT7hXwFwHzcP6Cmrk0lG+Wu vzH0ZaSEvnjoiR2DM3ndcgE2hgvplg2Fuj4seVPLpV7zJxheLWZO9UtKPAeLos+sY1vk 8vWgHFh9crr/yiY7qikjegVmA7+zLFxFKk07wog4bgROk4+p4edlAialpX3ZUC/Mxk0r I79Q== X-Gm-Message-State: AOAM532Nl2SC0ARbPPghdF5bBhfxxS6puGSrcIUFHoNnJKrzVL+ZoXGG fiLi5Qvl0abrMfJ/fmJB+qjQdSFZC/dG2YZBCqulXGSkzUc+Bq3T X-Google-Smtp-Source: ABdhPJxoABcMaR5kEmZSB4acbSvWKHsyI5hA+pRpVuNgxn2ziEZdCLJsXUnLoSJMlehoTnOmuiGIuHuaGsNwmQBFxUQ= X-Received: by 2002:a17:906:4c85:: with SMTP id q5mr16916646eju.375.1614620497482; Mon, 01 Mar 2021 09:41:37 -0800 (PST) MIME-Version: 1.0 From: Naresh Kamboju Date: Mon, 1 Mar 2021 23:11:26 +0530 Message-ID: Subject: rcar_du_kms.c:781:24: error: passing argument 1 of '__drmm_add_action' from incompatible pointer type To: Greg Kroah-Hartman , Sasha Levin Cc: linux-stable , lkft-triage@lists.linaro.org, Laurent Pinchart , Jacopo Mondi , Linux-Renesas , dri-devel@lists.freedesktop.org, Daniel Vetter , David Airlie , kieran.bingham+renesas@ideasonboard.com Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: stable@vger.kernel.org On stable rc 5.11 the x86_64 build failed due to below errors/warnings. drivers/gpu/drm/rcar-du/rcar_du_kms.c: In function 'rcar_du_modeset_cleanup': drivers/gpu/drm/rcar-du/rcar_du_kms.c:754:32: error: implicit declaration of function 'to_rcar_du_device'; did you mean 'to_rtc_device'? [-Werror=implicit-function-declaration] struct rcar_du_device *rcdu = to_rcar_du_device(dev); ^~~~~~~~~~~~~~~~~ to_rtc_device drivers/gpu/drm/rcar-du/rcar_du_kms.c:754:32: warning: initialization makes pointer from integer without a cast [-Wint-conversion] In file included from drivers/gpu/drm/rcar-du/rcar_du_kms.c:17:0: drivers/gpu/drm/rcar-du/rcar_du_kms.c: In function 'rcar_du_modeset_init': drivers/gpu/drm/rcar-du/rcar_du_kms.c:781:24: error: passing argument 1 of '__drmm_add_action' from incompatible pointer type [-Werror=incompatible-pointer-types] ret = drmm_add_action(&rcdu->ddev, rcar_du_modeset_cleanup, NULL); ^ include/drm/drm_managed.h:25:20: note: in definition of macro 'drmm_add_action' __drmm_add_action(dev, action, data, #action) ^~~ include/drm/drm_managed.h:27:18: note: expected 'struct drm_device *' but argument is of type 'struct drm_device **' int __must_check __drmm_add_action(struct drm_device *dev, ^~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors Reported-by: Naresh Kamboju Build link, https://ci.linaro.org/job/openembedded-lkft-linux-stable-rc-5.11/DISTRO=lkft,MACHINE=ls2088ardb,label=docker-buster-lkft/8/consoleText -- Linaro LKFT https://lkft.linaro.org