[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20181006.144249.1076298435915338095.davem@davemloft.net>
Date: Sat, 06 Oct 2018 14:42:49 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: sunil.kovvuri@...il.com
Cc: netdev@...r.kernel.org, arnd@...db.de, linux-soc@...r.kernel.org,
amakarov@...vell.com, sgoutham@...vell.com, lbartosik@...vell.com
Subject: Re: [PATCH v7 04/15] octeontx2-af: Add mailbox support infra
From: sunil.kovvuri@...il.com
Date: Sat, 6 Oct 2018 11:36:22 +0530
> + tx_hdr = (struct mbox_hdr *)(mdev->mbase + mbox->tx_start);
> + rx_hdr = (struct mbox_hdr *)(mdev->mbase + mbox->rx_start);
Since mdev->mbase is a void pointer, you do not need these casts, nor
the parenthesis, at all.
Please remove them.
Powered by blists - more mailing lists