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 5C18CC636CD for ; Mon, 30 Jan 2023 13:26:29 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236274AbjA3N02 (ORCPT ); Mon, 30 Jan 2023 08:26:28 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41524 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236340AbjA3N00 (ORCPT ); Mon, 30 Jan 2023 08:26:26 -0500 Received: from todd.t-8ch.de (todd.t-8ch.de [159.69.126.157]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1ADA636FC1; Mon, 30 Jan 2023 05:26:25 -0800 (PST) Date: Mon, 30 Jan 2023 13:26:20 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=weissschuh.net; s=mail; t=1675085182; bh=ptL42kkxlabkwB6ja2m2x9/4R6IOCc41SdJfgo/zr4E=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=NTlAkaqtUq9fYNH9hnK/XxoQR3ZGZD5BYnrj76N+NU9l/sbpSPHh6FXiR4bcJBG1L MDnkq30tcdgNQ/GL1rIu0KlzJ/PqALKrvMIF2idkSKWrPm/SSVaxz52kUoCoEEZuo0 yKdXq7Hcjckys2QB4YIb26wFsLG4qhH7kLMX5adc= From: Thomas =?utf-8?Q?Wei=C3=9Fschuh?= To: Hans de Goede Cc: Basavaraj Natikar , Jiri Kosina , Benjamin Tissoires , "K. Y. Srinivasan" , Haiyang Zhang , Wei Liu , Dexuan Cui , Filipe =?utf-8?B?TGHDrW5z?= , Srinivas Pandruvada , Maximilian Luz , Corentin Chary , Mark Gross , Viresh Kumar , Johan Hovold , Alex Elder , Greg Kroah-Hartman , linux-input@vger.kernel.org, linux-kernel@vger.kernel.org, linux-hyperv@vger.kernel.org, platform-driver-x86@vger.kernel.org, acpi4asus-user@lists.sourceforge.net, greybus-dev@lists.linaro.org, linux-staging@lists.linux.dev Subject: Re: [PATCH 0/9] HID: Constify lowlevel HID drivers Message-ID: <20230130132620.3cmmq5ga3uebazwf@t-8ch.de> References: <20230130-hid-const-ll-driver-v1-0-3fc282b3b1d0@weissschuh.net> <0937b9a5-0caa-2a73-33c4-82e6cab02ef0@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <0937b9a5-0caa-2a73-33c4-82e6cab02ef0@redhat.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Hans, On Mon, Jan 30, 2023 at 09:36:32AM +0100, Hans de Goede wrote: > Hi, > > On 1/30/23 04:59, Thomas Wei?schuh wrote: > > Since 52d225346904 ("HID: Make lowlevel driver structs const") the > > lowlevel HID drivers are only exposed as const. > > > > Take advantage of this to constify the underlying structures, too. > > > > Signed-off-by: Thomas Wei?schuh > > Thanks, series looks good to me: > > Reviewed-by: Hans de Goede > > I'll also pick up / merge patches 7 + 8 into pdx86/for-next > sometime this week. Please note that patch 7 depends on commit 52d225346904 ("HID: Make lowlevel driver structs const") which is not yet in Linus' tree, only in the HID tree (branch for-6.3/hid-core). Maybe it's better to take it via the HID tree or I can resend when the prerequisites are in Linus' tree. > Regards, > > Hans > > > > > --- > > Thomas Wei?schuh (9): > > HID: amd_sfh: Constify lowlevel HID driver > > HID: hyperv: Constify lowlevel HID driver > > HID: logitech-dj: Constify lowlevel HID driver > > HID: steam: Constify lowlevel HID driver > > HID: intel-ish-hid: Constify lowlevel HID driver > > HID: surface-hid: Constify lowlevel HID driver > > platform/x86: asus-tf103c-dock: Constify lowlevel HID driver > > platform/x86: asus-tf103c-dock: Constify toprow keymap > > staging: greybus: hid: Constify lowlevel HID driver > > > > drivers/hid/amd-sfh-hid/amd_sfh_hid.c | 2 +- > > drivers/hid/hid-hyperv.c | 2 +- > > drivers/hid/hid-logitech-dj.c | 4 ++-- > > drivers/hid/hid-steam.c | 2 +- > > drivers/hid/intel-ish-hid/ishtp-hid.c | 2 +- > > drivers/hid/surface-hid/surface_hid_core.c | 2 +- > > drivers/platform/x86/asus-tf103c-dock.c | 4 ++-- > > drivers/staging/greybus/hid.c | 2 +- > > 8 files changed, 10 insertions(+), 10 deletions(-) > > --- > > base-commit: e04955db6a7c3fc4a1e6978649b61a6f5f8028e3 > > change-id: 20230130-hid-const-ll-driver-fcfdd3af11b8 > > > > Best regards, >