Received: by 2002:a5d:9c59:0:0:0:0:0 with SMTP id 25csp2477534iof; Wed, 8 Jun 2022 05:55:23 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxbh4FMEAj6NF4cz3bgdnp6HVVDya+C9lYXi4l1aQF7lJ6d4PoeU/zdVsotqaX/zh+DyvI9 X-Received: by 2002:a17:902:a9c4:b0:15f:90c:12f6 with SMTP id b4-20020a170902a9c400b0015f090c12f6mr33749606plr.115.1654692923794; Wed, 08 Jun 2022 05:55:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1654692923; cv=none; d=google.com; s=arc-20160816; b=zQCqm0Ak4HHFAkFYZcO7T8hapfipPdX+z3VB8kTfBAsmNNEigCWoBUBdvBO2ucJXy+ pU6FGLj2czMm4kQDA38rQV4+hSHYl9h/cVeRD3eGK0bIXTHmJ7pVEiO2l7dbehHPaZSH ZH8hql4Uhes/3mFrL8/HgfKZ44+AeAT3lX+5p9+t/Uj1X6AMJZeNJ4kdO7ZJ8yXzlQuJ PAtxKESdBPlU6LsoopJQO3mhcpNcc3i4oxbe02Cjq1u8VVG5GDk33yflw9fkShgl5SmN iKlttbCQErDkBtfFvWROUJXioD0U1MPc8RaMyLuji1ub+vVLuvxGtY2RwJYG0EKnvj66 PdbA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=xAmnRJ7onCqz/NfiJfHXfehZg2FcRlICmca8tphz6PQ=; b=qwkHlsrjR33ztFRA1hcI9X9AFNC719ZkB0TbGjfFX630f9f4Hb83L3TBXWKkPEFnPJ LvTsIgJSEOqtIsyxdFevaLRkrk3M3WGXDLAdJvy9iQqwLEmogTgcaziJZCiOq0oymX/7 94U4YZOB8cT/MxzbIixUbAekRgLSDTDifg5VIMy49AohNrCIP6rXdLlzXRUh1gFFnQS5 WmEP9rcrJpJjSPRb8iZfiMOqjYlfXyEnuaLE9y/iuA24ivWqPdLAEwikszuLoGl/zAbO LYB3sV3ckA1N+jOa/Iwgc2KpuFBEsKxb/w01gxRBZb3IOb7sqPitfka7wFgFNYPLYYve IeYg== 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:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id g19-20020a056a0023d300b0050de72cfdcesi8798451pfc.74.2022.06.08.05.55.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 08 Jun 2022 05:55:23 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 3E42224EC64; Wed, 8 Jun 2022 05:28:49 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238774AbiFHM2j (ORCPT + 99 others); Wed, 8 Jun 2022 08:28:39 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52464 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239380AbiFHM2i (ORCPT ); Wed, 8 Jun 2022 08:28:38 -0400 Received: from mail-wr1-f46.google.com (mail-wr1-f46.google.com [209.85.221.46]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6EA1F1AD583; Wed, 8 Jun 2022 05:28:35 -0700 (PDT) Received: by mail-wr1-f46.google.com with SMTP id d14so19164037wra.10; Wed, 08 Jun 2022 05:28:35 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=xAmnRJ7onCqz/NfiJfHXfehZg2FcRlICmca8tphz6PQ=; b=yZNCxutMOqQFCtoKM53fKAeSfgx1b+icr3CoMeMemtwdDCz8EEKkzu7rEwNQNJC4DN pFDObeNBKTqU70i+vzylgchxMIYTaeMco2tGkcQzYJhYOeBzLlJLOOeNHrzXvPfBEYPg fvpR1/yo6cW7FGd5GuXI4Ar4hlRo+JvQPZK7wYxnH1jy8gDnWsabLifkoIb7NtphCKIU Gjltrf+9gAPSj5JkbnxbUyyLXpY4dvmlhcwL2JDDCpuzGvv2fP6HiDv7QDAzyiIh1jcN 9zH2zF75GVPPgLHRaPodnBrTuDuGxudcgAhQkT2m1CDhm12nkThhgIwKPbuET28MI/OV R6+Q== X-Gm-Message-State: AOAM533D6RIRgvPGzQfAFsjRErh0T6s70LalpW+Emwmnzx/PNdrTkCA5 LNZKGpWi94w5mzBFWh8sT5w= X-Received: by 2002:a5d:58ed:0:b0:217:dd5:7508 with SMTP id f13-20020a5d58ed000000b002170dd57508mr20119509wrd.606.1654691314007; Wed, 08 Jun 2022 05:28:34 -0700 (PDT) Received: from liuwe-devbox-debian-v2 ([51.145.34.42]) by smtp.gmail.com with ESMTPSA id o12-20020a5d58cc000000b0020c6b78eb5asm21447656wrf.68.2022.06.08.05.28.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 08 Jun 2022 05:28:33 -0700 (PDT) Date: Wed, 8 Jun 2022 12:28:31 +0000 From: Wei Liu To: Michael Kelley Cc: sthemmin@microsoft.com, kys@microsoft.com, wei.liu@kernel.org, decui@microsoft.com, haiyangz@microsoft.com, jikos@kernel.org, benjamin.tissoires@redhat.com, linux-kernel@vger.kernel.org, linux-hyperv@vger.kernel.org, linux-input@vger.kernel.org Subject: Re: [PATCH 1/1] HID: hyperv: Correctly access fields declared as __le16 Message-ID: <20220608122831.e3yxjl2qlyumnm2j@liuwe-devbox-debian-v2> References: <1654660177-115463-1-git-send-email-mikelley@microsoft.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1654660177-115463-1-git-send-email-mikelley@microsoft.com> X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,MAILING_LIST_MULTI, RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no 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 Tue, Jun 07, 2022 at 08:49:37PM -0700, Michael Kelley wrote: > Add the use of le16_to_cpu() for fields declared as __le16. Because > Hyper-V only runs in Little Endian mode, there's no actual bug. > The change is made in the interest of general correctness in > addition to making sparse happy. No functional change. > > Reported-by: kernel test robot > Signed-off-by: Michael Kelley Applied to hyperv-fixes. Thanks.