Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp36591ybi; Wed, 29 May 2019 16:11:21 -0700 (PDT) X-Google-Smtp-Source: APXvYqwhETjFzE/G5pPC997vfTeGvZNSVo1c65YQH6JHIrcapatpFIGCj7ZtBOvvtBEA82CsZX/s X-Received: by 2002:a17:902:4181:: with SMTP id f1mr562252pld.22.1559171481343; Wed, 29 May 2019 16:11:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1559171481; cv=none; d=google.com; s=arc-20160816; b=vstf3mv5OLzejqzoTnCNlbWW3pBcbbdFit2OXAplpz5MCSSpyxXv9qFnknPEcDAxpg Kvnpru+agXbxnF2SRhkdYvYNY0dXYzQ/OIQB+Lu9qZ6EqgE+7bWCZUKhcN8+g/Z00ULp kI0PwT98CrsRsqP9cYFIFm1mT5JLCYP+d0CZuYGFlmYAJqsJS1e8unukOpObyf+JFIq9 r7UF24/1TDv+DoLxc/Rt2QQaUKM17e1un0CxIOl81zi5x/TB0jueQM0NCxQCOTuCgsjK IhrgpN48T86j7xUb/wlFdA9yfYhu6zP8sNT6eYKs6JRLoFaU8r85WAbSznXEd9Y4NHlm ccUA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=QvOd/fJjXFPdnBle2fe0Q+QGkQ9sPITwaJ/QwVHAAQc=; b=F5F7RqX2EtY/j0iaPyfjnV/kKrG5ALBFah2SWr0lxaz12kE8zTCFzspI7evsym5LLt uuH/eQ1Kc+iG6GzR4Cy3EkBflBnoXyb69tGnJTDUHpm+kH119jtAvqVdwPGtCgvNLgDg 3pXozq+h7Hbx0e22GVnrDBipltrE3I6im23NARTauJyj0+AUK9EYYTCWtXee3Fpab4Tp 7aziAN8VbsUOSrn+nU43E37YjXYkq4RpqWeWQe82zEg+mdCXB0qEY0LfpTN7ulKXBu6d k2/kzpPRBoa0IesZu4saR5OmJZLIGuyl9XtQEk6BRzQ0s6GUY0Ng7fi1zzNjL6n17HzE Y0dQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=WksbaBwu; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id z18si1072108plo.175.2019.05.29.16.11.06; Wed, 29 May 2019 16:11:21 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=WksbaBwu; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726840AbfE2XJq (ORCPT + 99 others); Wed, 29 May 2019 19:09:46 -0400 Received: from bombadil.infradead.org ([198.137.202.133]:47602 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726501AbfE2XJh (ORCPT ); Wed, 29 May 2019 19:09:37 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20170209; h=Sender:Content-Transfer-Encoding: MIME-Version:References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From: Reply-To:Content-Type:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=QvOd/fJjXFPdnBle2fe0Q+QGkQ9sPITwaJ/QwVHAAQc=; b=WksbaBwu69Iezy6VPCiymd55jZ +TvYlekSzZB4iSkKoITMCtttcQtFW4S9oJQ3wP/H2wfzEeV4FuP7SCy7PPpiX1CQ6tFeNa3xwoIoH H5G7sBZcy5hdcbjuyXBYUt9Gf0qLtS1pmayqhnaLFhfqK4/ml3T8/UAAkKez5Tqj9UTIi3pQ9RDiL NWTBVMewLnG+AOHh9Os1zqV5pibDKKjZ8xmBCAku/gV9j0oPzGZbP5KOtibLwf+0BKd5FvnKgGtxC 1f3BY/gkhmEPGRKyq8aN7mxjUIE2ANiPztzlwUU+XL3zbsGxSvgpVMlHuTT6LG5dXmCRW/BEpBwDQ PnOOuP/Q==; Received: from 177.132.232.81.dynamic.adsl.gvt.net.br ([177.132.232.81] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtpsa (Exim 4.90_1 #2 (Red Hat Linux)) id 1hW7hQ-0000lE-JD; Wed, 29 May 2019 23:09:36 +0000 Received: from mchehab by bombadil.infradead.org with local (Exim 4.92) (envelope-from ) id 1hW7hN-0007TJ-HK; Wed, 29 May 2019 20:09:33 -0300 From: Mauro Carvalho Chehab To: Linux Doc Mailing List Cc: Mauro Carvalho Chehab , Mauro Carvalho Chehab , linux-kernel@vger.kernel.org, Jonathan Corbet Subject: [PATCH 01/10] docs: cdomain.py: get rid of a warning since version 1.8 Date: Wed, 29 May 2019 20:09:23 -0300 Message-Id: <034b0371907a003c67b3d974ba0c5df5ed89a663.1559170790.git.mchehab+samsung@kernel.org> X-Mailer: git-send-email 2.21.0 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org There's a new warning about a deprecation function. Add a logic at cdomain.py to avoid that. Signed-off-by: Mauro Carvalho Chehab --- Documentation/sphinx/cdomain.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Documentation/sphinx/cdomain.py b/Documentation/sphinx/cdomain.py index cf13ff3a656c..cbac8e608dc4 100644 --- a/Documentation/sphinx/cdomain.py +++ b/Documentation/sphinx/cdomain.py @@ -48,7 +48,10 @@ major, minor, patch = sphinx.version_info[:3] def setup(app): - app.override_domain(CDomain) + if (major == 1 and minor < 8): + app.override_domain(CDomain) + else: + app.add_domain(CDomain, override=True) return dict( version = __version__, -- 2.21.0