Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp2590524rwd; Fri, 19 May 2023 07:43:18 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6BPa7akNLl2yGyuG0XzxUftTrEQy3G8mxlZJ18WMN7Le7bg/54jErFb7mM6Rxw8c7nC3Au X-Received: by 2002:a05:6a21:985:b0:106:57b9:6da1 with SMTP id li5-20020a056a21098500b0010657b96da1mr1894540pzb.20.1684507398239; Fri, 19 May 2023 07:43:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684507398; cv=none; d=google.com; s=arc-20160816; b=w5qHF4H5MWxTFiX58e14M9cZaw7j7fpYoBVeFMpwi5Qy2/UbwQh6bk/f3ercW7EVJO QW8tgpmojF8bfC413LRxIvwgJU54V7T791C2c6+fjH4QllqhmA2WlTAZgZNYody2vu3a EcOog9nFOG3T+TlyziXmbndBAZFAoFmcuepvbx+wu1ilJfKFR7amOrrCSAnupMKyNDUQ eL5EXsQ9ErJTWhViERpnuzh69yyaXBl+6tUbCNBAGbxJkLvOjrHgp2ItgHK7dVyfXq4P hixWyHJpl5hUksAIG/WCtLKMDS5Ski3gCMtd44AnEuoTyFo0vnim4JGSkPrR1zyVe9Fv 6WdA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:ui-outboundreport:content-transfer-encoding :in-reply-to:from:references:cc:to:content-language:subject :user-agent:mime-version:date:message-id:dkim-signature; bh=w7YcoaOaP2N+PmbApERP+wrQNejz5mO0AaxhtqBD/Ao=; b=KmUt8bnF4iTB82ffR15ye+7pVSr6fzG0t/jVK9/c2x5JOArPk7Aq6/jFrIfIyymWCd IdQlObcMFPjPmc9Qy1tM2FSUQcNBfutUXg75SKzedxbO4gUVvbGlY2ldLFf6XmiQ88r4 fwlkUwpKe9dfN+uGgEbF3xSI42FEbkyijlK373uklEF1ZCX3Fl30uJt8otrVjGajBJYw muDGDSic23wjNOATkHZ6M9Im1MEYHWgdAJq6+KB93e/dnd2yrpoz71y93arAXdiWxHt0 vt3xIUIfLLGqi+R9gNAOHlWTKetrL9hMOlhRIMpGswbwT7oM40TfbuhBQpziLatoOnGO 2j4g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmx.de header.s=s31663417 header.b=gmWgCQof; 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=NONE dis=NONE) header.from=gmx.de Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id bj6-20020a17090b088600b0024e562f9f73si1703319pjb.147.2023.05.19.07.43.03; Fri, 19 May 2023 07:43:18 -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=@gmx.de header.s=s31663417 header.b=gmWgCQof; 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=NONE dis=NONE) header.from=gmx.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232116AbjESOec (ORCPT + 99 others); Fri, 19 May 2023 10:34:32 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55284 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231867AbjESOea (ORCPT ); Fri, 19 May 2023 10:34:30 -0400 Received: from mout.gmx.net (mout.gmx.net [212.227.17.21]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 92C251B3; Fri, 19 May 2023 07:34:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.de; s=s31663417; t=1684506838; i=deller@gmx.de; bh=w7YcoaOaP2N+PmbApERP+wrQNejz5mO0AaxhtqBD/Ao=; h=X-UI-Sender-Class:Date:Subject:To:Cc:References:From:In-Reply-To; b=gmWgCQofgv7RF/MilB/+J+UCAJBKwzF8rtN/15cMbENhIQWIXE8SDt0WkZ9p3HIz4 0EAYWrorwtchZcDiGkL+pvqTsKbB/iKCxnFh9XuN558DFAk/leoe061aBsJpPCjwAB Comrgpy5l0NqhPEP17kwLH9nAdFa19MAc968hxaGzBa4uRynqMT5GLFzuu/3ikBDj4 l2XNg/Z9LNpXszquS4bwoVdeh1gww3WxUXf8lYCUJhoJVAnNfHfI2lyvKCR7s+k8eX q3oyWBcaykGguRlkqjlaiPH6ChQzwmifspt9FAENZ0wye8NX9MNJsYH48apfI/5HT/ QOcutxVNRhshw== X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a Received: from [192.168.20.60] ([94.134.152.232]) by mail.gmx.net (mrgmx105 [212.227.17.168]) with ESMTPSA (Nemesis) id 1Mw9UK-1qGS4A0EVA-00s8ic; Fri, 19 May 2023 16:33:58 +0200 Message-ID: <76a47786-f1e5-80d8-807d-1ab6fa02ebf3@gmx.de> Date: Fri, 19 May 2023 16:33:54 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.10.0 Subject: Re: [PATCH] fbdev: i810: include i810_main.h in i810_dvt.c Content-Language: en-US To: Jani Nikula , Arnd Bergmann , Antonino Daplas Cc: linux-fbdev@vger.kernel.org, dri-devel@lists.freedesktop.org, Arnd Bergmann , linux-kernel@vger.kernel.org References: <20230516202814.561262-1-arnd@kernel.org> <87lehngxbr.fsf@intel.com> From: Helge Deller In-Reply-To: <87lehngxbr.fsf@intel.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable X-Provags-ID: V03:K1:sMvSrVoGkC+EFAh0XcLJmR+jt1VRufyMEAEA8KP+Z4hYvqiNNjW c1Rz3EhgDf607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S5l1Ozsc D3U2O2NfsNmdsJFzuFbEKvICAbMHicRgXrk8geIVzG6NbPYOM0cLwscWtEVGoo6+/jnYJQbZO m7jQNWJuBtYTlDIQMz3oXLcUV0s= X-Spam-Status: No, score=-4.3 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,NICE_REPLY_A, RCVD_IN_DNSWL_LOW,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED 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 On 5/17/23 10:46, Jani Nikula wrote: > On Tue, 16 May 2023, Arnd Bergmann wrote: >> From: Arnd Bergmann >> >> Building with W=3D1 shows that a header needs to be included to >> make the prototypes visible: >> >> drivers/video/fbdev/i810/i810_dvt.c:194:6: error: no previous prototype= for 'round_off_xres' [-Werror=3Dmissing-prototypes] >> drivers/video/fbdev/i810/i810_dvt.c:233:6: error: no previous prototype= for 'i810fb_encode_registers' [-Werror=3Dmissing-prototypes] >> drivers/video/fbdev/i810/i810_dvt.c:245:6: error: no previous prototype= for 'i810fb_fill_var_timings' [-Werror=3Dmissing-prototypes] >> drivers/video/fbdev/i810/i810_dvt.c:279:5: error: no previous prototype= for 'i810_get_watermark' [-Werror=3Dmissing-prototypes] >> >> Adding the header leads to another warning from a mismatched >> prototype, so fix this as well: >> >> drivers/video/fbdev/i810/i810_dvt.c:280:5: error: conflicting types for= 'i810_get_watermark'; have 'u32(struct fb_var_screeninfo *, > > Changes here look fine, > > Reviewed-by: Jani Nikula applied to fbdev tree. Thanks! Helge