Re: [PATCH v7 04/15] octeontx2-af: Add mailbox support infra

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: sunil.kovvuri@xxxxxxxxx
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.



[Index of Archives]     [Linux Samsung SoC]     [Linux Rockchip SoC]     [Linux Actions SoC]     [Linux for Synopsys ARC Processors]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]


  Powered by Linux