Received: by 2002:a05:6a10:1d13:0:0:0:0 with SMTP id pp19csp1644865pxb; Fri, 20 Aug 2021 10:17:56 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw/tm350kGyoEieaHQorWXeDI/h3FyiiqDG+6IfJX1MXF9SczMKWp2DwwNt+5INgNA0zirz X-Received: by 2002:a05:6402:5208:: with SMTP id s8mr23822888edd.222.1629479876320; Fri, 20 Aug 2021 10:17:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1629479876; cv=none; d=google.com; s=arc-20160816; b=xL3ghViHjQuVhBxZnDqIXRnandn2lGQqxjEdsWuxHrYLMraSztp5V2CeEWU3+Rh6bN ksilEp/ROAO0s1dO7cpDGjUmFHRxV0R2FiyTw0c/n3lnCW1I/Z5+KqRCznbT7yWT5469 guEe1cLNuvF7HEen+c5BFs3LaJyI15mRdiiKQEvoZmWT1rNAsLGnCdrUHe3ngBSHAJNr dHB8m+SOAYHX4u9qXA8AQroG3kGUSeKQqcjdBWfVrQrpMu5FptGvXoLgUpMT7rs7L8UX QcrdroqptayKodsaaSv2Uq7XOvtWxBubGqys6DQQVrL8HhvjMi0sudlC6JPmoZ0q06kM 6Gbw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject:sender:dkim-signature; bh=FXSqbQkGwpmuS098nxMAvtEnVwMvIhc8mYNL176c7Gc=; b=t/f9NUyslPuvCwYQLxLQBqOE4HIKSYNlH2rjufUk3K/BEc+pRid7YXZilQnQ1oIL60 ZWqNrHfuueUlKMVjNX3ULQW5cn2zHjVDpkkGiQGa4VuP29x3mCVWM+D6qMiFc/YgYdYe 98M5MF5EMqlJNL/ZoC4Xxurzuycwb9ZajYioWJWlinBLHl+wuM1QfLdRl6Ekg0YrDdvS e6uOcKVYHncCV0TsPt7kWAijZGe1F0QzDIJlAWzqb48pAJFA+iLQaENH7bQNYto9ShOM SU8i9fvRbnyn5koQEvRanK3YxqoF7KZelyO98dFAdvg5fQC7dtU6XliHft4NXUT6jMii D0vg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=LhTpqsGU; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id y2si7130498ejr.90.2021.08.20.10.17.32; Fri, 20 Aug 2021 10:17:56 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=LhTpqsGU; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233041AbhHTRN5 (ORCPT + 99 others); Fri, 20 Aug 2021 13:13:57 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45458 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230052AbhHTRN4 (ORCPT ); Fri, 20 Aug 2021 13:13:56 -0400 Received: from mail-ot1-x32d.google.com (mail-ot1-x32d.google.com [IPv6:2607:f8b0:4864:20::32d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4D10FC061575 for ; Fri, 20 Aug 2021 10:13:18 -0700 (PDT) Received: by mail-ot1-x32d.google.com with SMTP id 61-20020a9d0d430000b02903eabfc221a9so15398271oti.0 for ; Fri, 20 Aug 2021 10:13:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=FXSqbQkGwpmuS098nxMAvtEnVwMvIhc8mYNL176c7Gc=; b=LhTpqsGUoUHR22mwvjEuKWTyIgpnlo0fudH8JszfBfl8vw/u7iDHObOKAlj5JCWo+r QfhXJVCPgtqftDEL4YbzXxc8zt+qPkORkpdzn7yXHvaBt0+yijNwLv1F/gHBx64AwmNA u4Ho1lWEZOyDFTApDW/XxNkr74fCgwT3oCOmHagk+CkeFakWC3AOrlrY04kBgovbkomz terQGzTTPjYGtRGesP//tqfvP6NfC4YZVKMrxkMHim2FeioiyXZQR8EuGTUc547J61Es 3IF2Ye8kLKDatrOpJnOCPyOgr3nDS5mQQ5lCIrdJ44Ge6o5ylltd+I+MyUk162HqNtkS YuaA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:subject:to:cc:references:from:message-id :date:user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=FXSqbQkGwpmuS098nxMAvtEnVwMvIhc8mYNL176c7Gc=; b=BngomULyskqVKuyhmrcjq+6dAmxkbLXj7HAde2yFgbcsYnfwclhwsCX+htLjZGZoHS Pr3XyafZCtwzdlE0lMQzbkAWpPoX+2g7RNKOqpWxY+Bi1j65hjR7bi+4z5QhHILv/oae U08ETsfX58gAXKxhHZmQmoSVask8fT9VXuc+TKF3qHY/tnxF5GaLyk8k8fevVLmi0L+1 sYVXy+w7Q5uwdkm/ZiKSI9NOOnclvWfSmlqQUiDMCjHvL5ajXlmT0DewmnCFkIL3hNhB LGHDUIbLBPN1nKq8h9AWDFakttJEDg4BGyJBumEo4qGmMr5uvVwlQ1+uaZvCmIFhmaid 24bQ== X-Gm-Message-State: AOAM530Nocu+xW1UdIGbqzE9h4ZDH90OlaeRN9QmifG15ya68KKYY1XS hg+0mCTwZ/fd91loz+JOWG0= X-Received: by 2002:aca:2206:: with SMTP id b6mr3687793oic.88.1629479597791; Fri, 20 Aug 2021 10:13:17 -0700 (PDT) Received: from 2603-8090-2005-39b3-0000-0000-0000-1023.res6.spectrum.com (2603-8090-2005-39b3-0000-0000-0000-1023.res6.spectrum.com. [2603:8090:2005:39b3::1023]) by smtp.gmail.com with ESMTPSA id 32sm1590953otr.2.2021.08.20.10.13.16 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 20 Aug 2021 10:13:17 -0700 (PDT) Sender: Larry Finger Subject: Re: [PATCH] staging: r8188eu: clean up endianness issues To: David Laight , 'Aakash Hemadri' , Phillip Potter , Greg Kroah-Hartman Cc: "linux-staging@lists.linux.dev" , "linux-kernel@vger.kernel.org" , Bjorn Helgaas , Shuah Khan References: <8a3fca82d9ec5dde9e42d40f0268a324cc87ebc6.1629301854.git.aakashhemadri123@gmail.com> <3dfde3cd06094e52b71b48a3a2524226@AcuMS.aculab.com> From: Larry Finger Message-ID: <8bd7047c-49d1-b93d-3ccb-96d9773f3f66@lwfinger.net> Date: Fri, 20 Aug 2021 12:13:15 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.13.0 MIME-Version: 1.0 In-Reply-To: <3dfde3cd06094e52b71b48a3a2524226@AcuMS.aculab.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 8/20/21 5:26 AM, David Laight wrote: > From: Aakash Hemadri >> Sent: 18 August 2021 16:53 >> >> Fix these sparse warnings: > > Did you test this code before and after the changes? > > I think you've changed the behaviour on LE systems which > are probably the ones it was actually tested on. > > Don't blindly change code to fix sparse warnings. I'm late getting into this conversation. Gmail thought the original patches were spam. First of all, we need to change the behavior as the original code is wrong; however, the code involves PPPoE, which I have never used, and never tested. I still need to check the correct endian values for one of the packet types. I hate reading IEEE official documents!!!! I should have a review of the patches later today. Larry