Received: by 2002:a05:6a10:a852:0:0:0:0 with SMTP id d18csp3858555pxy; Tue, 4 May 2021 11:28:45 -0700 (PDT) X-Google-Smtp-Source: ABdhPJypO/etVvZKdAghL4ITpTu4OuuJAxqt4H16Kjq5FXdVGu5FPNG6qyqFZQLwoAPhj2mbTDtL X-Received: by 2002:a17:902:67:b029:ee:f5bc:6e81 with SMTP id 94-20020a1709020067b02900eef5bc6e81mr232358pla.9.1620152925488; Tue, 04 May 2021 11:28:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1620152925; cv=none; d=google.com; s=arc-20160816; b=zHcK7a/nAIsUxAbuMz6ZSEKiCyz31Hqx7DcuyN2yTcDe1ve1DceZZ7NRR3ttkWk3wm t5Y1lk0zhzUDnMSGngrKm8AP9wUGW0d83aHQtYkZli2DBk2GkI69Y6etJJ3dwQla58ry vo9TFjGpKOEgj+aX+6RJLESNSciBydhSqjVQLn7GZ2Ls4yV5qpWPCGL4kxVAUjZtTj1Q Hq1qkzmP7n+1+k+kFNAYofD3nAQjy+lC/SNFEq084QUis8SCKVNz8lZNThN3KypciGKK ekaeorXHFPYs/qe8d73/eJPv2UsPbBVoplEajSXjcW5lD+A9CbmAMamjiJWDZtbXrCSi Ty8A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=DYF7uUe0NSSJCsH19h2K0ONCXMFGfdoSakxploOCV0I=; b=E8fyWaP+javv/KoR4+7debWQQOZCLz15JtIHf0jL6xT4sZXm3opjqxlySPIn6GqBFI e6m6ZxEV2pGUHJ77/2yRkXH9g6JYFvi+9iO4wz6ttzjtRF59ZGQ2Dy/cymX/Lj4pg5Ae OMXNGP40y9YBhp5AJgR0L6aNRJWANVGYdaUCVqPl8dw4Uy8AgtqHU90pHLZk0zDG+Knr UGdxlv3X0fmAh3JgVKUHW+Js/wJHc7w7U8gvptTdjBdOtOinziQ4h9/rqpO5lq6sP3m3 qBLBJYah2kykeMlMAKbZ7RRixjEs0JKXk3L9bYXFuSXyFIHJ11WP0WEHl/F9TGONXtwo fm/Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ffwll.ch header.s=google header.b=FfAikBWH; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id u22si18377180pjr.135.2021.05.04.11.28.33; Tue, 04 May 2021 11:28:45 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-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=@ffwll.ch header.s=google header.b=FfAikBWH; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231612AbhEDQ2l (ORCPT + 99 others); Tue, 4 May 2021 12:28:41 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56536 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231651AbhEDQ2k (ORCPT ); Tue, 4 May 2021 12:28:40 -0400 Received: from mail-oi1-x232.google.com (mail-oi1-x232.google.com [IPv6:2607:f8b0:4864:20::232]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8397EC06174A for ; Tue, 4 May 2021 09:27:44 -0700 (PDT) Received: by mail-oi1-x232.google.com with SMTP id m13so9293783oiw.13 for ; Tue, 04 May 2021 09:27:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ffwll.ch; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=DYF7uUe0NSSJCsH19h2K0ONCXMFGfdoSakxploOCV0I=; b=FfAikBWHjfuKkAeTPxwjl/w800FhqUT9u9QL2i2sOIzQ2uPv2fE9oUb/mDJSo6Ty+S oFL9pETzB/3ytHSJhV8ZcLDnRe5IUwtpTzOvPryHm4NzwxuebeQsBxxnvquIfA53MHqb 9WeSY8YoyNqwsOZ6mpywqQOzm5RnM4Q704264= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=DYF7uUe0NSSJCsH19h2K0ONCXMFGfdoSakxploOCV0I=; b=pU4OinzrTxjRFNNTBKM9xqWKTjdMeDBuMGHvQKS8R6TZ9tMhqYq8WdBB+ttEwwMrCG B2DoHXAq3IMQQoxuDyx7H8IMp8GOsFx49pstLwr3pgDiupHqwxyhOn222T+V5F6pb0gz mdqna4zOsECiQxNwokpGpPScu55TaacSwL9EcfV1uLdnfNeNihOqkqI6Cr/q0BOpae/M c1gS7mlMqYFeRICcoJM2gB+GFXzlQlS9fAcMNibcO+zvK1rq6YWypmnKc77FVpKJtVjk oFDW8b3MVqh8Bdo2Ome8JhRm2A5HoDkc+RiLD2eYUP4h5ijHbNKv6x2CWMXJyGd+BsPe HUsg== X-Gm-Message-State: AOAM533DA341UltNmD+IfcFWDrfmQ835KO7XMfXp4L/7KWfxJV4cYVFQ eixTSr/p0OHxisan3VLAlkli9nuyF+vT5RK7ygHq5A== X-Received: by 2002:aca:2219:: with SMTP id b25mr3525216oic.14.1620145663881; Tue, 04 May 2021 09:27:43 -0700 (PDT) MIME-Version: 1.0 References: <20210504142910.2084722-1-linux@roeck-us.net> In-Reply-To: <20210504142910.2084722-1-linux@roeck-us.net> From: Daniel Vetter Date: Tue, 4 May 2021 18:27:32 +0200 Message-ID: Subject: Re: [PATCH] fbmem: Mark proc_fb_seq_ops as __maybe_unused To: Guenter Roeck Cc: dri-devel , Linux Fbdev development list , Linux Kernel Mailing List , kernel test robot Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, May 4, 2021 at 4:29 PM Guenter Roeck wrote: > > With CONFIG_PROC_FS=n and -Werror, 0-day reports: > > drivers/video/fbdev/core/fbmem.c:736:36: error: > 'proc_fb_seq_ops' defined but not used > > Mark it as __maybe_unused. > > Reported-by: kernel test robot > Signed-off-by: Guenter Roeck Queued up for -rc1 in drm-misc-next-fixes, thanks for the patch. -Daniel > --- > drivers/video/fbdev/core/fbmem.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/video/fbdev/core/fbmem.c b/drivers/video/fbdev/core/fbmem.c > index 372b52a2befa..52c606c0f8a2 100644 > --- a/drivers/video/fbdev/core/fbmem.c > +++ b/drivers/video/fbdev/core/fbmem.c > @@ -733,7 +733,7 @@ static int fb_seq_show(struct seq_file *m, void *v) > return 0; > } > > -static const struct seq_operations proc_fb_seq_ops = { > +static const struct __maybe_unused seq_operations proc_fb_seq_ops = { > .start = fb_seq_start, > .next = fb_seq_next, > .stop = fb_seq_stop, > -- > 2.25.1 > > _______________________________________________ > dri-devel mailing list > dri-devel@lists.freedesktop.org > https://lists.freedesktop.org/mailman/listinfo/dri-devel -- Daniel Vetter Software Engineer, Intel Corporation http://blog.ffwll.ch