Received: by 10.223.185.116 with SMTP id b49csp1130932wrg; Fri, 23 Feb 2018 12:28:47 -0800 (PST) X-Google-Smtp-Source: AH8x227M13Pnvb0m0JpEUFcfGo3z3oHSNRLsF+1oKeKGGaDZNNNawU7KyP+KYk+IMJGMu94h448I X-Received: by 10.99.117.76 with SMTP id f12mr2402622pgn.410.1519417727101; Fri, 23 Feb 2018 12:28:47 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519417727; cv=none; d=google.com; s=arc-20160816; b=fCq9gekMWEOnETnDXnrRwRNaxH4RkWvdf1BW6H9e88fhvYTFLrc2EFqsn1SIkEfQFX qTw2YfE6oMqWDIOD6GqCZw5ZnD90/093fV9Mt5Aj54mveS2ov7gO6Rl+vZidCTaZg7H+ jW7uHPhXlYBDPSw92ejI0Y8HKekqgpO2p0sFRNzP12G/ywG5bHUoUiiA1J9abOudrK+U pVPwoVOaTOVgXbncpYrsZV8VxHJ+nh03HPpfPx3s5eDFwyy53mwEXUiIZtdh0WiTFA2R +xmeI50eZIHGJ6eAuVjkYLuOgCdXBEjhBSplEwvzvByI5a6qgjIr7EMPQpi6/Ks/1p0P chqQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :in-reply-to:message-id:date:subject:cc:to:from :arc-authentication-results; bh=v39AaBdXlaf9V4fXlc+/OcGklOeT1waAxf3K9S/lc5k=; b=R5kOygTg+jShoNfy+NVSlEjOfUEbySsmv4RsS/TnDfyBbcs0L0uY/YA2xk3XPklqfn AEfjke3kz9j34Is7RoWq0Hmr7Wulsl9RK/b70snEDx2oqEUgEf9zW9IWAtIW0RJ+IVdD BkUVUd/tWHef4Eu6KTMl88bCJiDO2q0IKDkKsafTT7cVsRGL6K80LZ0thU4DQJlehuUs eRBkF+sqiPPMIHLqnYPlAbAsvx0fSbvoTJCZ4pa2D/bB9vz9X8KvoqjWVKDQ6VuWt9nY Gk7yanvMkMRx2zmtcDw3LdV4UrYA0D4yvXktDNUyzNNwmQAqrB99H1giFEAd+Lo5zy9r 9huQ== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id bc11-v6si2240271plb.43.2018.02.23.12.28.32; Fri, 23 Feb 2018 12:28:47 -0800 (PST) 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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754183AbeBWShH (ORCPT + 99 others); Fri, 23 Feb 2018 13:37:07 -0500 Received: from mail.linuxfoundation.org ([140.211.169.12]:38450 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753303AbeBWShF (ORCPT ); Fri, 23 Feb 2018 13:37:05 -0500 Received: from localhost (LFbn-1-12258-90.w90-92.abo.wanadoo.fr [90.92.71.90]) by mail.linuxfoundation.org (Postfix) with ESMTPSA id 72DED8F5; Fri, 23 Feb 2018 18:37:04 +0000 (UTC) From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Arnd Bergmann , Tomi Valkeinen Subject: [PATCH 4.4 095/193] fbdev: sis: enforce selection of at least one backend Date: Fri, 23 Feb 2018 19:25:28 +0100 Message-Id: <20180223170340.887101881@linuxfoundation.org> X-Mailer: git-send-email 2.16.2 In-Reply-To: <20180223170325.997716448@linuxfoundation.org> References: <20180223170325.997716448@linuxfoundation.org> User-Agent: quilt/0.65 X-stable: review MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 4.4-stable review patch. If anyone has any objections, please let me know. ------------------ From: Arnd Bergmann commit 5b833fea4377577eafecb888141a05470922ef25 upstream. The sis framebuffer driver complains with a compile-time warning if neither the FB_SIS_300 nor FB_SIS_315 symbols are selected: drivers/video/fbdev/sis/sis_main.c:61:2: warning: #warning Neither CONFIG_FB_SIS_300 nor CONFIG_FB_SIS_315 is se This is reasonable because it doesn't work in that case, but it's also annoying for randconfig builds and is one of the most common warnings I'm seeing on ARM now. This changes the Kconfig logic to prevent the silly configuration, by always selecting the FB_SIS_300 variant if the other one is not set. Signed-off-by: Arnd Bergmann Signed-off-by: Tomi Valkeinen Signed-off-by: Greg Kroah-Hartman --- drivers/video/fbdev/Kconfig | 1 + 1 file changed, 1 insertion(+) --- a/drivers/video/fbdev/Kconfig +++ b/drivers/video/fbdev/Kconfig @@ -1506,6 +1506,7 @@ config FB_SIS select FB_CFB_COPYAREA select FB_CFB_IMAGEBLIT select FB_BOOT_VESA_SUPPORT if FB_SIS = y + select FB_SIS_300 if !FB_SIS_315 help This is the frame buffer device driver for the SiS 300, 315, 330 and 340 series as well as XGI V3XT, V5, V8, Z7 graphics chipsets.