On Mon, Aug 23, 2021 at 02:15:47PM -0700, Dan Williams wrote: > > +static inline bool dax_supported(struct dax_device *dax_dev, > > + struct block_device *bdev, int blocksize, sector_t start, > > + sector_t len) > > +{ > > + return false; > > +} > > I've started clang-formatting new dax and nvdimm code: > > static inline bool dax_supported(struct dax_device *dax_dev, > struct block_device *bdev, int blocksize, > sector_t start, sector_t len) > { > return false; > } > > ...but I also don't mind staying consistent with the surrounding code for now. While Linux has historically used both styles, I find this second one pretty horrible. It is hard to read due to the huge amounts of wasted space, and needs constant realignment when the return type or symbol name changes.