[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20190511001739.GA6185@osadl.at>
Date: Sat, 11 May 2019 02:17:39 +0200
From: Nicholas Mc Guire <der.herr@...r.at>
To: David Miller <davem@...emloft.net>
Cc: hofrat@...dl.org, aneela@...eaurora.org,
gregkh@...uxfoundation.org, anshuman.khandual@....com,
david@...hat.com, arnd@...db.de, johannes.berg@...el.com,
netdev@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] net: qrtr: use protocol endiannes variable
On Fri, May 10, 2019 at 01:28:00PM -0700, David Miller wrote:
> From: Nicholas Mc Guire <hofrat@...dl.org>
> Date: Fri, 10 May 2019 03:08:53 +0200
>
> > diff --git a/net/qrtr/qrtr.c b/net/qrtr/qrtr.c
> > index dd0e97f..c90edaa 100644
> > --- a/net/qrtr/qrtr.c
> > +++ b/net/qrtr/qrtr.c
> > @@ -733,7 +733,8 @@ static int qrtr_sendmsg(struct socket *sock, struct msghdr *msg, size_t len)
> > struct qrtr_node *node;
> > struct sk_buff *skb;
> > size_t plen;
> > - u32 type = QRTR_TYPE_DATA;
> > + u32 type = 0;
> > + __le32 qrtr_type = cpu_to_le32(QRTR_TYPE_DATA);
> > int rc;
>
> Please try to preserve as much of the reverse chrimstas tree here rather
> than making it worse.
>
sorry - did not really think about that at all - will re-order the declarations and resend
thx!
hofrat
Powered by blists - more mailing lists