Received: by 2002:a05:6a10:1d13:0:0:0:0 with SMTP id pp19csp1904360pxb; Mon, 23 Aug 2021 07:22:19 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyClZgD6MN/ZXQgRjhpjrY8Gv40Nxind1RHumHbNYw6lzbC1V7y/Q8FUpEQoj//JkZf/Rwm X-Received: by 2002:a02:cd32:: with SMTP id h18mr29618948jaq.101.1629728539023; Mon, 23 Aug 2021 07:22:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1629728539; cv=none; d=google.com; s=arc-20160816; b=eWfYn+iq3SLkC6u/YYHtZf5G7yCvgDxUIPtYEpG8RqeLy3s0Em4Y1trwc1aNI+ZAB2 m2kitu7zV5KpwAoA/Lnwofazoew6+r3AkrqIdG5UM5aANvNHGgo7zpo8ltXeTkALUsr3 m9Xf2d7++IRhCV3rNPBAretgArKFxswifolzFKSxASxTSc/Tw4I1YEy5Etx1XFb0SAjo L0Wj9W0OjhK6uk644xjVwpCby0sUSbRYU3Wa9ymNR8KSeRsa0dLOuSzhvWPk6ooQOxmt 7xQ40pZUKR42+t0slHKVdVf1IT08mtYcjiWtVIVaqAy5LcQ78ZBlaieck6QEDmWaY6qj czmA== 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=0n0w4PDIyms1itbpc01zsz9eZtSGypxZCXnsam1uhvo=; b=amwNa47Gi/xVrwDRULeXd/qwJ4BuplEEfPW+wetZdsC+p8LybBIIzZMCx1MscC0wy7 U9B7cyhYWVuDSsPVuUxmGOIesdEJLBvWJSpklZxjcfjnVtAVn5gyjYHKFG9hRAYVWic/ ytgI04OPgB/jRp785sQIDmQ2jMGwgn3owadRzgvOVEWxf2x5b954OMlhjGJXnNKvRB0R SYx3i6bPQYfOk/CApDxJ4xVBZqy/IWLaGC3YdbQwrvxJuCfpuCYHQ51+BJQ5K2bQWOa+ B0mCIPV/Txvt0c4LTCeTanBWb+yH4VaRkBIl3HDN5gXrFqCtcHZ26uA9lhD+WPY5+9FQ 9vmg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=inkq1zZO; 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 u10si19158217jat.85.2021.08.23.07.22.07; Mon, 23 Aug 2021 07:22:19 -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=inkq1zZO; 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 S229941AbhHWOU1 (ORCPT + 99 others); Mon, 23 Aug 2021 10:20:27 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56352 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229725AbhHWOU0 (ORCPT ); Mon, 23 Aug 2021 10:20:26 -0400 Received: from mail-ot1-x32e.google.com (mail-ot1-x32e.google.com [IPv6:2607:f8b0:4864:20::32e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 51840C061575 for ; Mon, 23 Aug 2021 07:19:44 -0700 (PDT) Received: by mail-ot1-x32e.google.com with SMTP id l7-20020a0568302b0700b0051c0181deebso5012627otv.12 for ; Mon, 23 Aug 2021 07:19:44 -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=0n0w4PDIyms1itbpc01zsz9eZtSGypxZCXnsam1uhvo=; b=inkq1zZOzw077vCxOERqLDQsrUjy6Y3U12ZdSTf4H9iEsl96d0zdYecyLH6uCnK6t1 UFD5i0P8DgtKxcF/t2m/DOrttb/idq+BPUpoI44bqYx3nQ4CWKZ7F2AWooQ9CS0IeRX0 7CfrHKLmQnrPf2LS0opObELhoa5cmXKakytSYecljN/4SS+ET2OjvjEFfxha9TKHg9ZM 8LqKbHYQFJlao3HD0y9gQnNn+ay38sKTZkZIffeZXsqNFCZ48T80h6aSzttE5VJ8tRYP LOUFe5/gpNK9qn5hdedGjhqZrXL66WmXksYUcrO3gT3Mr5rUcsRUYcXHoTK+qqxCCPc8 R2rQ== 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=0n0w4PDIyms1itbpc01zsz9eZtSGypxZCXnsam1uhvo=; b=UHcogKdBD38AN/bVp2M68G8OyhdTnMTuFWuLd/YiL7jjowGn6owoKFqv95V9AnMzWB bqsNS3CcQa9hXbtoneD1CXimOIMwxXFUaDI1kb0ASOih/ccYHv2B37FCFQXuJ4QgOS+X v1BU/99domcJPuKwzuVwZLUIvJS4iy4dmLO9GaKHXD7Qu2cUGblbquwmgVOai+C1jzbZ ZbYZxluPhfDo2N2MS7l0I7vM1E7e+HVTfPlwZI/6IOMehqFauCckTUhUpTzwrY/gM6pF lCmX0HY6c1QSHud1pp67RhQPttjQN+01aooihugSrxomFtuV7cqXpHdB1q/jWnDzLm4l rujA== X-Gm-Message-State: AOAM533+ZQn26Un6I+OWo7LfLsbgeQxGNX+TUE4wEYJeLwzzofCgh1rU pz6Auy59m32jalygjVlqTO0ruYq+ihc= X-Received: by 2002:a05:6830:1657:: with SMTP id h23mr18929046otr.315.1629728383412; Mon, 23 Aug 2021 07:19:43 -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 m206sm3642468oif.23.2021.08.23.07.19.41 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 23 Aug 2021 07:19:42 -0700 (PDT) Sender: Larry Finger Subject: Re: [PATCH v2 2/5] staging: r8188eu: cast to restricted __be32 To: David Laight , Aakash Hemadri , Greg Kroah-Hartman , Phillip Potter Cc: "linux-staging@lists.linux.dev" , "linux-kernel@vger.kernel.org" References: <602aefc30b0d979dc6e402d52da2f096ea5c67cf.1629360917.git.aakashhemadri123@gmail.com> <4be5c5fa-c3fd-8c86-e904-8e2e60173380@lwfinger.net> <05aafb94be1b4e609250313709cd668d@AcuMS.aculab.com> From: Larry Finger Message-ID: Date: Mon, 23 Aug 2021 09:19:41 -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: <05aafb94be1b4e609250313709cd668d@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/22/21 4:30 PM, David Laight wrote: > From: Larry Finger >> Sent: 20 August 2021 22:45 >> u32 cookie = be32_to_cpu(dhcph->cookie); > > Modulo anything that really means it should get_unaligned_be32(). True, but cookie is 32-bit aligned, thus the code is correct. Larry