Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 0E550C636D4 for ; Fri, 10 Feb 2023 14:02:19 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232380AbjBJOCR (ORCPT ); Fri, 10 Feb 2023 09:02:17 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44458 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232369AbjBJOCQ (ORCPT ); Fri, 10 Feb 2023 09:02:16 -0500 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D1BF66A707 for ; Fri, 10 Feb 2023 06:01:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1676037688; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=MzeORwJPvkQ2Gq2J93A9ERHfB47SEtRCtLFDmd4aEM4=; b=BgIlPfRiGob6Vh1biw5THOzVeE7F9zh/Y5UBolfhQoKghQZo6Bn1i3mQGFD6ZJb+xGCyr0 uYSC3/CiKpI/Ju/z1ngX1cURnpySyAcW1HD4wUUnaLhAI91E3ViGx3r+UlOVCYPK9NL+3q nnlcr+pyuhZQI14d9lLK8hv5w3x1bcg= Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-64-dEpdtMfCOUiKAs-ik_IDbQ-1; Fri, 10 Feb 2023 09:01:25 -0500 X-MC-Unique: dEpdtMfCOUiKAs-ik_IDbQ-1 Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.rdu2.redhat.com [10.11.54.1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id B3FCF88B776; Fri, 10 Feb 2023 14:01:24 +0000 (UTC) Received: from mail.corp.redhat.com (ovpn-195-1.brq.redhat.com [10.40.195.1]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 88AEE40CF8F0; Fri, 10 Feb 2023 14:01:20 +0000 (UTC) Date: Fri, 10 Feb 2023 15:01:16 +0100 From: Benjamin Tissoires To: Aditya Garg Cc: Orlando Chamberlain , Thomas =?utf-8?Q?Wei=C3=9Fschuh?= , Jiri Kosina , "jkosina@suse.cz" , Andy Shevchenko , "andy.shevchenko@gmail.com" , LKML , "linux-input@vger.kernel.org" , "ronald@innovation.ch" , "kekrby@gmail.com" Subject: Re: [PATCH 1/3] HID: apple-ibridge: Add Apple iBridge HID driver for T1 chip. Message-ID: <20230210140100.z3of7kzj6lpnugu7@mail.corp.redhat.com> References: <40274C3D-4F4F-479C-944C-EEBDC78F959C@live.com> <20230210045624.cjxroikmmvm3liij@t-8ch.de> <20230210232043.18483401@redecorated-mbp> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-Scanned-By: MIMEDefang 3.1 on 10.11.54.1 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Feb 10 2023, Aditya Garg wrote: > > > Were the changes needed for these structs to be const in the > > linux-input tree for 6.3? If so then if you're applying the patches > > onto linus' tree that might be why there are errors about consts. > > I’d want the maintainers comment on this. Imo, these 2 structures needn’t be constantified. The struct hid_ll_driver has to be constified, because otherwise it will introduce an error/warning when this patch is merged in the hid tree. For the struct hid_driver, as mentioned previously I don't think we have the hid-core changes for that, and so you can't really constify them. Cheers, Benjamin > > Also, it would be nice if we could get a review on the other 2 patches, so that a v2 can be prepared.