Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

rio: Drop __DATE__ usage

The kernel already prints its build timestamp during boot, no need to
repeat it in random drivers and produce different object files each
time. As the buildDate field is part of the userspace API, I replaced it
with the date of the last code change.

Acked-by: Greg Kroah-Hartman <gregkh@suse.de>
Signed-off-by: Michal Marek <mmarek@suse.cz>

+1 -1
+1 -1
drivers/staging/generic_serial/rio/rioinit.c
··· 381 381 { 382 382 strlcpy(stVersion.version, "RIO driver for linux V1.0", 383 383 sizeof(stVersion.version)); 384 - strlcpy(stVersion.buildDate, __DATE__, 384 + strlcpy(stVersion.buildDate, "Aug 15 2010", 385 385 sizeof(stVersion.buildDate)); 386 386 387 387 return &stVersion;