Received: by 2002:a05:6358:700f:b0:131:369:b2a3 with SMTP id 15csp313912rwo; Tue, 1 Aug 2023 17:53:50 -0700 (PDT) X-Google-Smtp-Source: APBJJlEAiLR+1NfHrnYHykQnyyg0HmlBhW4y3LzI4WmMDSLNxGIKbQGuEN1idITgf6xCw3OCSawm X-Received: by 2002:a05:6512:792:b0:4fe:19ef:8794 with SMTP id x18-20020a056512079200b004fe19ef8794mr2998050lfr.28.1690937629980; Tue, 01 Aug 2023 17:53:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690937629; cv=none; d=google.com; s=arc-20160816; b=r6N5YjmikuHJ9Ez6o1vNyV9fNyXpeaK45Ff5Q7GSl72b33YZgglCGwOS6rXLlV3lh+ uNUY6/K7R0EgPgS7xtNhT70qa0S00folaolE9PGxD8ToAIPhhK7ki1RqNXCgawhFzKr6 srMOXMUSe97Qf18JjOAckKYu5/fDKxmC7BMqYOLDwT/oa3X9L1XgG0VyVUB5HTS40WTp R1DNWDfZO1yNOY8BCgZMp/94nrc091poLaopa7UELsLpHsT8ojgyZzQqQugqumGT++qE dxjCbI0tvHt+vYsniqZ/thMrqXwtkkuEXMgR0YS2GrD/F5FUkxFaLZEylb4MXqxHrzto 2VFw== 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=7zaHWiEW/Me3thxkNJ56r2Pyq80QApvWwI2tz1dQNoc=; fh=nP8eMHq5SJ8tkKngClJMYmAZBjozTCCx3GDxr0kV8BE=; b=D74JoxVRvhqPxXTbCzzOSB9UPBXDjud+Zq8YHd6GzfspvTPO6EUHnbZT75BreAzk0l YBHDzRGT4XIzqxaeSIt4llJmiMt6MgVITcHuBlm6LzcD2PsB/VB8osIKzVHtopxn/jxR cnD01ezTiCs0bL495spd902PNEFbIpL9aAd8RSsglM/+CZyccsLz99DaeYAYgyW29zJ+ Ryy5ed2ZQtJbt0t+4tzZn9yL3sKi8S9iy61F1+kagfXY5UBhqJthaXHhCTnqPoOIaB+S 3BkdEZv7TEobEsd/GDr8XG0Ze33R3dmhuBDQqdPLDSLSBQYI9LNW87cfMxetZ9dEREGP eCig== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=cBjXpxxw; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id i9-20020aa7c9c9000000b00522c1f3b1e1si4030967edt.259.2023.08.01.17.53.24; Tue, 01 Aug 2023 17:53:49 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=cBjXpxxw; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229974AbjHAXah (ORCPT + 99 others); Tue, 1 Aug 2023 19:30:37 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59434 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229510AbjHAXag (ORCPT ); Tue, 1 Aug 2023 19:30:36 -0400 Received: from mail-pf1-x42a.google.com (mail-pf1-x42a.google.com [IPv6:2607:f8b0:4864:20::42a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1E46D2134; Tue, 1 Aug 2023 16:30:36 -0700 (PDT) Received: by mail-pf1-x42a.google.com with SMTP id d2e1a72fcca58-6873a30d02eso2012460b3a.3; Tue, 01 Aug 2023 16:30:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1690932635; x=1691537435; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=7zaHWiEW/Me3thxkNJ56r2Pyq80QApvWwI2tz1dQNoc=; b=cBjXpxxw0AtY1hTOCWyN1k+FZrG74Ps+bAvg2BJm6iNewS4PeKBRBrSE9tQ8zSKkUS EWaCe+2nOIZYrvJiC9cNmI9GLrELxOM8bEcS9mQP4M8dnWz8DuP7/KcxFhg2ElPDJhAL /nXID6ZjRKSP4UlqUnogyZT9afGlN4YnMTQO9iz2Y3rFjB+CZKLstPje7XLn3qCe2Jt5 Xbq6SNZFaYXu8pGm7bbDyKzV8gQDDU/BWT/AisnJfg/M0KSmFcp3D9PzNtKpammQDDQT YvSCcv1GKEQ5ORnz/FFdE4HU2dKM/DUuXvfzOfxjpuRDnbrj4uMaoPZfOuWPqUBfBqwf p9OQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1690932635; x=1691537435; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=7zaHWiEW/Me3thxkNJ56r2Pyq80QApvWwI2tz1dQNoc=; b=jKiNyGmG3DncJDfDacXsBOwiFzZPmI9LNLLdbv0M/c2wwVntA1n5n7a40X4/r9OR73 wNq9E00zcR61VL1ysqy6GDr99Mvv4KHYKOD64Um1kpj2jPVe2ikvyXB4iSKoePoEQLJk V1kQjXWCH54i4w0teR4RCpsCcngj/wI4GUlkiTOECH7ZI6YLz6eJz00VJAiwhS2DbCIG nc/lGTxBEojMivD7fFBZb+f48RXXrWO85jhsRuBZfWfkXlEGin8a9jsBmhk1rPlvvrSU IXfLYJ7nFqV8z2mrtiKAMEV3lkkxjH5BjofwdtcMump6iPzJB35upSDyYQ8WYYy1ikLq TeIQ== X-Gm-Message-State: ABy/qLYwcjyRUc1VWxQC9aQzW3SwlrHmZakh4jlBGvpt4fx21hBrn4k1 4cpcaQmspQ8kjxGFBqvfRCw= X-Received: by 2002:a05:6a00:c95:b0:686:6fa8:2b0d with SMTP id a21-20020a056a000c9500b006866fa82b0dmr16652018pfv.4.1690932635454; Tue, 01 Aug 2023 16:30:35 -0700 (PDT) Received: from ubuntu777.domain.name (36-228-73-13.dynamic-ip.hinet.net. [36.228.73.13]) by smtp.gmail.com with ESMTPSA id y15-20020aa7804f000000b0066a4e561beesm10127615pfm.173.2023.08.01.16.30.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 01 Aug 2023 16:30:35 -0700 (PDT) From: Min-Hua Chen To: minhuadotchen@gmail.com Cc: daniel@ffwll.ch, deller@gmx.de, dri-devel@lists.freedesktop.org, linux-fbdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] fbdev: fbmem: mark registered_fb static Date: Wed, 2 Aug 2023 07:30:31 +0800 Message-Id: <20230801233031.72174-1-minhuadotchen@gmail.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230731162812.25518-1-minhuadotchen@gmail.com> References: <20230731162812.25518-1-minhuadotchen@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org >Hi Helge, > >>num_registered_fb is still used in: >>drivers/staging/olpc_dcon/olpc_dcon.c: if (num_registered_fb < 1) { >> >>Helge > >Thanks, you're right, num_registered_fb is still being used. >I'll check this patch and submit v2. Update: num_registered_fb and registered_fb are used by olpc_dcon.c, However, olpc_dcon.c has been marked as broken [1]. I do not have the knowledge to remove the dependency of fbdev from olpc_dcon.c, I'll leave num_registered_fb and registered_fb as-is. [1] https://lore.kernel.org/all/20220609223424.907174-1-javierm@redhat.com/ >thanks, >Min-Hua >