lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<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

Powered by Openwall GNU/*/Linux Powered by OpenVZ