From patchwork Fri Apr 16 14:37:08 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 422518 Delivered-To: patch@linaro.org Received: by 2002:a02:6a6f:0:0:0:0:0 with SMTP id m47csp447703jaf; Fri, 16 Apr 2021 07:38:10 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxVopMMAHCJKA57PLuL+jChege4rPP80BlpzmI226od4rj/bgu8zYsuIqV5CmgegVepWICl X-Received: by 2002:a62:52c7:0:b029:255:e78e:5069 with SMTP id g190-20020a6252c70000b0290255e78e5069mr7965267pfb.45.1618583890066; Fri, 16 Apr 2021 07:38:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1618583890; cv=none; d=google.com; s=arc-20160816; b=YCVMKRVa3L0QYsjoGPU+WJ8LjGTqns2pCsdaybb4Q6w0MB3xR4T91TFCKrh0eTSI2L VTF4YYKzQ3cbNldb/J1OANCtxpuNPgl6WysEtumGvv19op9cdZFN0gSpCTyY9J21J6dk YTdlDGZGlp2zp7Qdzp44SbXyCqWA5MiGlIOjtVizScxzHV+S4y5+JW1RHDHZLsqVyk3o 7lqmfU10Uglqm5jnkmlLXXgoTIJEbKCPC0fYk1Odlrh7SEyeinxYtfDMpTnEhCY2+nHv UUwzT0qC+ZPWZ9Pn89+DUtWQ6Zpf6MeUwU/tAfDr9rFZokpF1IWnJJryT1q616ol9R8M 2+BA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=H6lJM5vDlPCigZaMaZ137qXfyZxXCNgpbaNiX62r2Ss=; b=LuOd+kYJNR4SWUN3jbAtJjgvWWQv4MVy0gyYiSuFco9WWVMB8nYxbEy5AXhP0NG0HV NRDvdJJ/npP+WFwCMyMCzMMXbULfYWZCzTsSft7lt56vel5zgJrECCY6A6dV3HVa565T Z4sHQ4q4YHzdSfdhWKp2gimizx0qkVHpbATZ/3GjA+CzS1csyzDvXVwSB8E8BYvJOOBY rX6Y7wExhZWtOXWv6vcTHybhypR/+XRm2/VQw4+o9t6Drs2KaK0gO2GU1hJkKAEUJnDA SpktA0Xe03MbelNuqoGW+1AaqMulgtPUF5g8ezYxXRm5O48rdf+FTReiX9C10MN99hv4 KGCQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=flSVCO6b; spf=pass (google.com: domain of linux-media-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-media-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id i7si1993525pla.31.2021.04.16.07.38.09; Fri, 16 Apr 2021 07:38:10 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-media-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=flSVCO6b; spf=pass (google.com: domain of linux-media-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-media-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S244594AbhDPOi3 (ORCPT + 3 others); Fri, 16 Apr 2021 10:38:29 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45260 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S244425AbhDPOiV (ORCPT ); Fri, 16 Apr 2021 10:38:21 -0400 Received: from mail-ed1-x535.google.com (mail-ed1-x535.google.com [IPv6:2a00:1450:4864:20::535]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 92715C061763 for ; Fri, 16 Apr 2021 07:37:55 -0700 (PDT) Received: by mail-ed1-x535.google.com with SMTP id j12so7533373edy.3 for ; Fri, 16 Apr 2021 07:37:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=H6lJM5vDlPCigZaMaZ137qXfyZxXCNgpbaNiX62r2Ss=; b=flSVCO6bULmEgKESUIhxGFuVTNcmVsqnwVrbn6m72srwUAYXKxBZS5Q/oDRhGv11DB v2a+c3zWguVvSFBphtnT73j9vAYOvHTNhi79odq04gfZLHYc8P+C4KTSZfBLdj8PyqNi BysQPAg5pgN8mANchtugw5z6tOHIVzKAx7bDEr8rmeH8ZQ8wjCv2lHbOIbX9jNKGxnLM ha5i5bwbGCMi3MrzIg5/rf/uHde9U+WFKoCGDBgH6kOx9yXAPH+LqQIFyTVIgV/dHEsc SyIsLANSeD5YaFr6F/3jY5GkhhiKLkX0scp2o5vzC6FMlIjMpnzTMnNQ3SCT8WDCRs+9 AjbQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=H6lJM5vDlPCigZaMaZ137qXfyZxXCNgpbaNiX62r2Ss=; b=Btwu3FtDJPi/PRpOXUBoyfMSsazLcairsaS+ExKq3EzSrqJBKrkrrz8igLsR5xirZn uFfjD7yV7028nHjw0aBpV665aRN8IfUm5q3qnXPFNTQCdq5K6/bOVZwOk1ndgMV6ZLyr rJ1wS0wafbEloaSP84444TsL674ImK9eCspG72jaBECfN5DsvZHTy9v56sixgnIfwV21 //BsEK3IEjdiAuaVMpsCkms5zb++FKrOWbNx4WlROwttZZDutyRI4aRI+wnGGJ+umyHZ kV9x+GsbZNk0lFucBShhwQX0AX0x/ns2B4hPZXEuSdztDOqVrzi2UrvSGRhDTAVUGOY6 eHnw== X-Gm-Message-State: AOAM53203aPa71VTtEfAXX4zArrriyXZCtnc2fvuEaoWCyTdtF3Xa5+k 0ViulSBdmjbRrzDTwpxeRWEWcg== X-Received: by 2002:a50:9b12:: with SMTP id o18mr10607699edi.376.1618583874356; Fri, 16 Apr 2021 07:37:54 -0700 (PDT) Received: from dell.default ([91.110.221.215]) by smtp.gmail.com with ESMTPSA id j10sm1326523ejk.93.2021.04.16.07.37.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 16 Apr 2021 07:37:53 -0700 (PDT) From: Lee Jones To: lee.jones@linaro.org Cc: linux-kernel@vger.kernel.org, Christian Koenig , Huang Rui , David Airlie , Daniel Vetter , Sumit Semwal , dri-devel@lists.freedesktop.org, linux-media@vger.kernel.org, linaro-mm-sig@lists.linaro.org Subject: [PATCH 23/40] drm/ttm/ttm_bo: Fix incorrectly documented function 'ttm_bo_cleanup_refs' Date: Fri, 16 Apr 2021 15:37:08 +0100 Message-Id: <20210416143725.2769053-24-lee.jones@linaro.org> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20210416143725.2769053-1-lee.jones@linaro.org> References: <20210416143725.2769053-1-lee.jones@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/ttm/ttm_bo.c:293: warning: expecting prototype for function ttm_bo_cleanup_refs(). Prototype was for ttm_bo_cleanup_refs() instead Cc: Christian Koenig Cc: Huang Rui Cc: David Airlie Cc: Daniel Vetter Cc: Sumit Semwal Cc: dri-devel@lists.freedesktop.org Cc: linux-media@vger.kernel.org Cc: linaro-mm-sig@lists.linaro.org Signed-off-by: Lee Jones --- drivers/gpu/drm/ttm/ttm_bo.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.27.0 Reviewed-by: Christian König diff --git a/drivers/gpu/drm/ttm/ttm_bo.c b/drivers/gpu/drm/ttm/ttm_bo.c index cfd0b92923973..defec9487e1de 100644 --- a/drivers/gpu/drm/ttm/ttm_bo.c +++ b/drivers/gpu/drm/ttm/ttm_bo.c @@ -274,7 +274,7 @@ static void ttm_bo_flush_all_fences(struct ttm_buffer_object *bo) } /** - * function ttm_bo_cleanup_refs + * ttm_bo_cleanup_refs * If bo idle, remove from lru lists, and unref. * If not idle, block if possible. *