libata: Marvell SATA support (PIO mode)
Quoted 6 lines
Review
Quoted 4 lines
(quoted diff) +4
-0+static inline void writelfl(unsigned long data, void __iomem *addr) +{ + writel(data, addr); + (void) readl(addr); /* flush */no need for the (void) case.
Not strictly necessary, but a redundant (void) cast is a pretty standard way of documenting "yes, I really mean to ignore the return value."
I'd like to suggest that it's helpful to the reader and should stay. (Maybe even, for those who don't know, change the comment to "Standard PCI flush trick.")
On your other style comments, I agree.
Well, except that "braces" are {}, while () are "parentheses" or "parens".