Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp35411745rwd; Mon, 10 Jul 2023 07:08:22 -0700 (PDT) X-Google-Smtp-Source: APBJJlG5h14woUbDJv3CaT0MSzbIJFo5hgeem3HUqOaSci6/hLZ/6yrOJozDwQDdX+kqp0lDrsKd X-Received: by 2002:a05:6a00:21d5:b0:668:94a2:2ec7 with SMTP id t21-20020a056a0021d500b0066894a22ec7mr12300898pfj.25.1688998102588; Mon, 10 Jul 2023 07:08:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1688998102; cv=none; d=google.com; s=arc-20160816; b=rXgg6+bsY+l2Q5EXuYKFTHyJftq20tkCDySIhSmMexZec9+91nj4GVyWt7qGDK6W/p aq9ZOmLxHNr9pufSuJVzVpuB2f6fRVpQ7h3bqDzUNSVnh0E7GcJenhV22Dwqbu9XQu7Y 9n3DBaZBf4+g566ccf2wUtQthzSlNS+4q31P/J06P6W8TpdZW5FCQZYoLUNVPnVKve97 6HB0QNSR/E/5og9Ua6t7u73CedOcjv3NpKmdjh0nWwCdwPncEa0a5K0yf/lUalpJZeku LOnBl+rvcNayHdDY4h73DCA/7ZLslN0OEzuObCAOw2t8jR+SSUVy5blxNWmTdtVhS6aH ik3A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:user-agent :content-transfer-encoding:references:in-reply-to:date:cc:to:from :subject:message-id; bh=lU2dl0wQqNAgVP3yV5zgsjCF3lp9SMPb/TzFTb917n0=; fh=LPCo7Pzseh1L9UlYRdmTor/c+E+Xh7CDPr3Kjbea9MU=; b=u7ntZcQX2ZqWLJUiWdLda0M3wh0nvICSmRgGOp0lOGEC74YZ68ag9uemPaUWu+JRA6 aRBlWXTv+OegJz/oA7QrZpm5O2MKHInyPl/OjKtRjBEr+lI1MyhVxtgzZXDTmDJgor1c pAoAeUe/eClw4aCsO4jbtq9Hg11LWLtqLg1yT9BAXqYSTsCJXowZJ+89UsM95UrgHvtH 0joMbFO8ENM1x0ybZNp5XnUy2na6mXOM9W7pP7O9Kxt3M3DfJFkab4rSk4ClYyoPps3l cAeqF5tDBaKrUXMvqhxBuak+SJFZIrLK2aj3h2FUZUKrw1VzGa8l8tIObXJQuBm7DHLr K/+w== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id c29-20020a630d1d000000b0055bc1aaa7d9si9340042pgl.413.2023.07.10.07.08.10; Mon, 10 Jul 2023 07:08:22 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232191AbjGJN7m convert rfc822-to-8bit (ORCPT + 99 others); Mon, 10 Jul 2023 09:59:42 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57384 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229702AbjGJN7k (ORCPT ); Mon, 10 Jul 2023 09:59:40 -0400 Received: from outpost1.zedat.fu-berlin.de (outpost1.zedat.fu-berlin.de [130.133.4.66]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 72176F9; Mon, 10 Jul 2023 06:59:39 -0700 (PDT) Received: from inpost2.zedat.fu-berlin.de ([130.133.4.69]) by outpost.zedat.fu-berlin.de (Exim 4.95) with esmtps (TLS1.3) tls TLS_AES_256_GCM_SHA384 (envelope-from ) id 1qIrQO-0015b5-SK; Mon, 10 Jul 2023 15:59:36 +0200 Received: from p57bd95f7.dip0.t-ipconnect.de ([87.189.149.247] helo=[192.168.178.81]) by inpost2.zedat.fu-berlin.de (Exim 4.95) with esmtpsa (TLS1.3) tls TLS_AES_256_GCM_SHA384 (envelope-from ) id 1qIrQO-001lZK-KC; Mon, 10 Jul 2023 15:59:36 +0200 Message-ID: <536cc8c679cc68829c8662176ff02a9052249a46.camel@physik.fu-berlin.de> Subject: Re: [PATCH 08/17] arch/sh: Do not assign FBINFO_FLAG_DEFAULT to fb_videomode.flag From: John Paul Adrian Glaubitz To: Thomas Zimmermann , deller@gmx.de, javierm@redhat.com Cc: linux-sh@vger.kernel.org, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, amd-gfx@lists.freedesktop.org, linux-input@vger.kernel.org, linux-media@vger.kernel.org, linux-fbdev@vger.kernel.org, linux-staging@lists.linux.dev, linux-arm-kernel@lists.infradead.org, linux-geode@lists.infradead.org, linux-nvidia@lists.surfsouth.com, linux-hyperv@vger.kernel.org, linux-omap@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, kvm@vger.kernel.org, Yoshinori Sato , Rich Felker Date: Mon, 10 Jul 2023 15:59:35 +0200 In-Reply-To: <54e3e070-52fb-9ccb-bc47-0f41690f6bfa@suse.de> References: <20230710130113.14563-1-tzimmermann@suse.de> <20230710130113.14563-9-tzimmermann@suse.de> <0a47ed93fe90a77180533f8c2e42e402827e8f1c.camel@physik.fu-berlin.de> <54e3e070-52fb-9ccb-bc47-0f41690f6bfa@suse.de> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8BIT User-Agent: Evolution 3.48.4 MIME-Version: 1.0 X-Original-Sender: glaubitz@physik.fu-berlin.de X-Originating-IP: 87.189.149.247 X-ZEDAT-Hint: PO X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_BLOCKED,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL, 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 Thomas! On Mon, 2023-07-10 at 15:52 +0200, Thomas Zimmermann wrote: > > I would argue that the current code is more readable that your proposed change. > > > > I agree that it's a no-op, but code is not just about functionality but also > > readability, isn't it? > > I won't argue with that, but the flag itself is wrong. > FBINFO_FLAG_DEFAULT is/was for struct fb_info.flags. You have struct > fb_videomode.flag. The valid flags for this field are at [1]. If > anything, the field could be initialized to FB_MODE_IS_UNKNOWN, which > has the same value. > > [1] https://elixir.bootlin.com/linux/latest/source/include/linux/fb.h#L681 FB_MODE_IS_UNKNOWN sounds very reasonable to me. Would you agree using that instead? > > > > Also, I prefer "sh:" as the architecture prefix, not "arch/sh:". > > Ok. Thanks. Adrian -- .''`. John Paul Adrian Glaubitz : :' : Debian Developer `. `' Physicist `- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913