Messages in this thread | | | From | "Eads, Gage" <> | Subject | RE: [PATCH v2 02/19] dlb2: initialize PF device | Date | Mon, 24 Aug 2020 16:50:58 +0000 |
| |
> > +#include <linux/io.h> > > + > > +#define DLB2_PCI_REG_READ(addr) ioread32(addr) > > +#define DLB2_PCI_REG_WRITE(reg, value) iowrite32(value, reg) > > Why create a macro that is larger than the native call, this saves > nothing except make the reviewer wonder what in the world is happening. > > Just use the real call.
Sure, I'll change this in v3. I'll wait for more reviews before re-submitting.
Thanks, Gage
| |