Re: [PATCH] Generic WorkQueue Engine (GenWQE) device driver

From: Frank Haverkamp
Date: Fri Jul 26 2013 - 08:21:10 EST


Hi Michael,

Am Donnerstag, den 25.07.2013, 15:21 +0200 schrieb Michal Marek:
> On 25.7.2013 10:28, Frank Haverkamp wrote:
> > + dev_info(&pci_dev->dev, "GenWQE driver version: %s (build %s) %s%u\n",
> > + DRV_VERS_STRING, __DATE__, GENWQE_DEVNAME, cd->card_idx);
> [...]
> > + len += scnprintf(&buf[len], PAGE_SIZE - len,
> > + "GenWQE driver version: %s (build %s)\n"
> > + " Device Name/Type: %s %s CardIdx: %d\n"
> > + " SLU/APP Config : 0x%016llx/0x%016llx\n"
> > + " Build Date/Type : %u/%x/%u %s\n"
> > + " Base Clock : %u MHz\n"
> > + " Arch/SVN Release: %u/%llx\n"
> > + " Bitstream : %llx\n",
> > + DRV_VERS_STRING, __DATE__, dev_name(&pci_dev->dev),
>
> Please remove the __DATE__ macros, so that the generated object code
> does not literally change with the phase of the moon.
>
> Michal

Thanks for reviewing. I removed them in my copy. Would that be something
scripts/checkpatch.pl could warn about?

Regards,

Frank


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/