Received: by 2002:ab2:6857:0:b0:1ef:ffd0:ce49 with SMTP id l23csp1808613lqp; Sat, 23 Mar 2024 09:32:05 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUgFtXgbMW1HhJzRCNGJca4zEgpWw9qZnW4qZUF/4JO5D/jDl/sNnsdcytiYlW7W4b+t/LVI9nzvC/1GMCA2J2MF4gGyX2dWO29c5iyMQ== X-Google-Smtp-Source: AGHT+IHQO/R+tYxZL/3qUZOCn2QAkbJY3Xr7bYW4JQhL25f9hMlJq3cFb8czl3EW4AsXOpFfIH+G X-Received: by 2002:a17:907:6d04:b0:a47:4ae0:3bb9 with SMTP id sa4-20020a1709076d0400b00a474ae03bb9mr736236ejc.23.1711211525647; Sat, 23 Mar 2024 09:32:05 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711211525; cv=pass; d=google.com; s=arc-20160816; b=APTpNO8kdWvljMxf5blopGDyyKD/r7ql7nhqNDFIUabiw4xLMxI4zYHAush7riSF8+ aTlC9y6RmkH2JtUApbmGhZEkjVJgxXZ/qkiJgVio/maakF7/DYtyZ0uSDpdKu4UQhRWH oBnbazbVumxwjjil3WwzAt/i9sjr0C77hKZvRdX5a3+qkcAMthD8hPUcKtF9TLNEQ/tG kx/HyVcy5OU9i4HpQlMfNaROiuCc9O9GRT3OlIqXVNDaiCeuA/aA08stfCR1VrcqqxPN aquazAVUzHAMV1UjuzHGaf/ajdQjOeSGAmMoKrb4PNhUkOhuN0Cg3gZejRdwov/SB8vp u/Xw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from:dkim-signature; bh=+gNAzOlZksAWrrk/Sn0MY4Ibq+h1gY4sUBMqWqGyMMg=; fh=EGO72rLAfV+BI5/8WvMLM95QeVy0wIZDLQrxGM+gWWw=; b=iykgqXTzbF8t1y4dchPYDwNi1nONC9/TmxAjQG7Dmjc30T9duekSU3n95B4R5AvncA Vb5hD3+bWVUM0MmIpC+Ahku2owBXuJlFChG8q+GNltHHuwy6KhqhosmmF9A22azun0Mf aagmXVQKYGvn+g84eHN21p95aO06Z4Rd7eT7km8SJSqIWXfRsLGdMGx8jqQKLpsEw220 D2aGG8ciTJWyZDjxgSI6RBy19ZQC5r2HIn/m1Y0+JxJnuCqhNd3QtPQ0lx3TVDyR+HNL Asrl8zm1RGZ1NFRJpAQH5Iq+zaHa2KCB955OOWK0UfPW/pGThKsYcBxTLdHcYTKE0ZJz O1Og==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=A5ucRF8H; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-112408-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-112408-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id o11-20020a17090611cb00b00a466f0ddcc0si992420eja.834.2024.03.23.09.32.05 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 23 Mar 2024 09:32:05 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-112408-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=A5ucRF8H; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-112408-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-112408-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 628781F21A72 for ; Sat, 23 Mar 2024 16:32:05 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 8FDD2446D6; Sat, 23 Mar 2024 16:31:59 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="A5ucRF8H" Received: from mail-il1-f182.google.com (mail-il1-f182.google.com [209.85.166.182]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 64CAB3E470; Sat, 23 Mar 2024 16:31:57 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.166.182 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711211518; cv=none; b=NdiIZoTRBsHH5BiTfmGw0NCoA37lBtZVYJ0AINPe4Ulw+VmVsz3gfaIJgio2PPEp1qKEI5Ocoirdj2Ctw5/o/EjikqOdyfOrWLCI1jUyYkad722AL4Pex+KCGSvYEhR6ZB4vSK1544w4ixn1XXh9gB1Df44sVinnpegrMQ1SMqM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711211518; c=relaxed/simple; bh=hYR21Vffkaz1yzdbwEsh41c3XSN5q8lBLdIhHpY99Ss=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=KakV96U6JB1pqKyoaGq6YyGl1Dt34Af0h1rFjTVJesbGLTDAa9f/LB9rdEj2AwE0lQo8NyfB/1NtNlC42XepVK9L65VKza5VcmJgUkPtvY1mAy22XBbbIr0bhCbeNU/XJxzJVviQyDq0NzAEPMSLMQiLx3wBtTs41DjbjskvRFA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=A5ucRF8H; arc=none smtp.client-ip=209.85.166.182 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-il1-f182.google.com with SMTP id e9e14a558f8ab-368480eb81bso13734645ab.0; Sat, 23 Mar 2024 09:31:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1711211516; x=1711816316; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=+gNAzOlZksAWrrk/Sn0MY4Ibq+h1gY4sUBMqWqGyMMg=; b=A5ucRF8HbpjyIkTPwA2YN9ldHLORC4hoS+iSAFQ1pg2bsqejFOV1egxWYii87BOChF DhEwWmuw9Dxs6rB+rBrdZ4slxxNdCQ91vPd3SNUlIUFvXdKNgpKQefFrNvjY4Z+5LD+G yKu6u47T4Y79k0Ln3oreWqsWWxAOiNW8WxrKlZ1kLKUb1gutjt1vzmSkbPdCMrIcfiyN /ws0/mRV/A/ZoWhm7FjqdymCCRDkN9I/La38BanswyRyxGSa7WI1rB0hJEijcAe6qvWJ 4JNiAtE3AjpeONmF+NPTv8NvkFri/gmvDWJx+TVCo+x2S/4JK96lbFu89nXSDjAnAaUR 3e/Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1711211516; x=1711816316; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=+gNAzOlZksAWrrk/Sn0MY4Ibq+h1gY4sUBMqWqGyMMg=; b=dwRheZDqhraCrEjJcZGyOTc9UDfsQ128DXLxINL6vZiS8fcb11gt25lay9UG03rnVM OKH9H8BFEpJkYt69nZNoXBrDxOaBKJUVjYbGn6TU/MF5zwv2jBtSK5MpE5a2/levaGM7 qbZhhIwcnOpWYAzWreSJOn4bo/9y9m2p6wytdWTIg+6hYUNV2DtcwSHPUlcfc3q7aEcg IyIZT1jnTGAKylHy0QQYvHwwkS6WazaL2WefkG8s5ENz4kqKl7U54SaR0reOzc219C1L nygekpgd62yfADP4SdzoYTaNGN50JqptEAfVFAdU6TNz55cj9y3dsP0fIVDhZt19JV2+ /owg== X-Forwarded-Encrypted: i=1; AJvYcCXaslDdahoLDJIzD8c5/oWlh5TBM/ZzKG1ZUkSg+TrGdgww/GvkLGAIG0VR2izMCMhgmWEoRxWSjBFPpabX5qgmZAXsOCrKFHGmCOr7Fxdxv59meYZCo0QTyOLpRpm3bkFqlKJzgeez X-Gm-Message-State: AOJu0Yxmv5EbVfksG4L7gBasG6SS1hGp7oBrVWoCbFZUZP6+CNKrc5JP YQ5eXxaNBzUOJzY3gX+BOws+T0F4xZFdEdjPZua9ipUywu1eNqZL X-Received: by 2002:a92:ca8d:0:b0:368:85c6:6bd1 with SMTP id t13-20020a92ca8d000000b0036885c66bd1mr832046ilo.10.1711211516495; Sat, 23 Mar 2024 09:31:56 -0700 (PDT) Received: from amogh-desk-mint.Dlink ([119.82.122.244]) by smtp.gmail.com with ESMTPSA id v62-20020a632f41000000b005cf450e91d2sm2970106pgv.52.2024.03.23.09.31.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 23 Mar 2024 09:31:56 -0700 (PDT) From: Amogh Cheluvaraj To: airlied@gmail.com, daniel@ffwll.ch, maarten.lankhorst@linux.intel.com, mripard@kernel.org, tzimmermann@suse.de, corbet@lwn.net, javier.carrasco.cruz@gmail.com, skhan@linuxfoundation.org Cc: Amogh Cheluvaraj , dri-devel@lists.freedesktop.org, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v2] Fix duplicate C declaration warnings Date: Sat, 23 Mar 2024 22:01:47 +0530 Message-ID: <20240323163148.23497-1-amogh.linux.kernel.dev@gmail.com> X-Mailer: git-send-email 2.44.0 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Fix duplicate C declaration warnings at Documentation/gpu/drm-kms.rst that was found by compiling htmldocs /home/amogh/Linux_Kernel_Workspace/linux-next/Documentation/gpu/drm- kms:360: ./drivers/gpu/drm/drm_fourcc.c:344: WARNING: Duplicate C declaration, also defined at gpu/drm-kms:39. Declaration is '.. c:function:: const struct drm_format_info * drm_format_info (u32 format)'. /home/amogh/Linux_Kernel_Workspace/linux-next/Documentation/gpu/drm- kms:461: ./drivers/gpu/drm/drm_modeset_lock.c:392: WARNING: Duplicate C declaration, also defined at gpu/drm-kms:49. Declaration is '.. c:function:: int drm_modeset_lock (struct drm_modeset_lock *lock, struct drm_modeset_acquire_ctx *ctx)'. Signed-off-by: Amogh Cheluvaraj --- changes in v2 - add warnings found after compilation - fix grammar in commit description --- Documentation/gpu/drm-kms.rst | 6 ------ 1 file changed, 6 deletions(-) diff --git a/Documentation/gpu/drm-kms.rst b/Documentation/gpu/drm-kms.rst index 13d3627d8bc0..a4145f391e43 100644 --- a/Documentation/gpu/drm-kms.rst +++ b/Documentation/gpu/drm-kms.rst @@ -357,9 +357,6 @@ Format Functions Reference .. kernel-doc:: include/drm/drm_fourcc.h :internal: -.. kernel-doc:: drivers/gpu/drm/drm_fourcc.c - :export: - .. _kms_dumb_buffer_objects: Dumb Buffer Objects @@ -458,9 +455,6 @@ KMS Locking .. kernel-doc:: include/drm/drm_modeset_lock.h :internal: -.. kernel-doc:: drivers/gpu/drm/drm_modeset_lock.c - :export: - KMS Properties ============== -- 2.44.0