Skip to content

Commit

Permalink
Merge branch 'trivial' of git://git.kernel.org/pub/scm/linux/kernel/g…
Browse files Browse the repository at this point in the history
…it/mmarek/kbuild-2.6

* 'trivial' of git://git.kernel.org/pub/scm/linux/kernel/git/mmarek/kbuild-2.6:
  gfs2: Drop __TIME__ usage
  isdn/diva: Drop __TIME__ usage
  atm: Drop __TIME__ usage
  dlm: Drop __TIME__ usage
  wan/pc300: Drop __TIME__ usage
  parport: Drop __TIME__ usage
  hdlcdrv: Drop __TIME__ usage
  baycom: Drop __TIME__ usage
  pmcraid: Drop __DATE__ usage
  edac: Drop __DATE__ usage
  rio: Drop __DATE__ usage
  scsi/wd33c93: Drop __TIME__ usage
  scsi/in2000: Drop __TIME__ usage
  aacraid: Drop __TIME__ usage
  media/cx231xx: Drop __TIME__ usage
  media/radio-maxiradio: Drop __TIME__ usage
  nozomi: Drop __TIME__ usage
  cyclades: Drop __TIME__ usage
  • Loading branch information
torvalds committed May 26, 2011
2 parents 14587a2 + 8d2c50e commit b7c2f03
Show file tree
Hide file tree
Showing 40 changed files with 44 additions and 54 deletions.
2 changes: 1 addition & 1 deletion drivers/edac/amd76x_edac.c
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
#include <linux/edac.h>
#include "edac_core.h"

#define AMD76X_REVISION " Ver: 2.0.2 " __DATE__
#define AMD76X_REVISION " Ver: 2.0.2"
#define EDAC_MOD_STR "amd76x_edac"

#define amd76x_printk(level, fmt, arg...) \
Expand Down
2 changes: 1 addition & 1 deletion drivers/edac/amd8111_edac.c
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
#include "edac_module.h"
#include "amd8111_edac.h"

#define AMD8111_EDAC_REVISION " Ver: 1.0.0 " __DATE__
#define AMD8111_EDAC_REVISION " Ver: 1.0.0"
#define AMD8111_EDAC_MOD_STR "amd8111_edac"

#define PCI_DEVICE_ID_AMD_8111_PCI 0x7460
Expand Down
2 changes: 1 addition & 1 deletion drivers/edac/amd8131_edac.c
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
#include "edac_module.h"
#include "amd8131_edac.h"

#define AMD8131_EDAC_REVISION " Ver: 1.0.0 " __DATE__
#define AMD8131_EDAC_REVISION " Ver: 1.0.0"
#define AMD8131_EDAC_MOD_STR "amd8131_edac"

/* Wrapper functions for accessing PCI configuration space */
Expand Down
2 changes: 1 addition & 1 deletion drivers/edac/cpc925_edac.c
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
#include "edac_core.h"
#include "edac_module.h"

#define CPC925_EDAC_REVISION " Ver: 1.0.0 " __DATE__
#define CPC925_EDAC_REVISION " Ver: 1.0.0"
#define CPC925_EDAC_MOD_STR "cpc925_edac"

#define cpc925_printk(level, fmt, arg...) \
Expand Down
2 changes: 1 addition & 1 deletion drivers/edac/e752x_edac.c
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
#include <linux/edac.h>
#include "edac_core.h"

#define E752X_REVISION " Ver: 2.0.2 " __DATE__
#define E752X_REVISION " Ver: 2.0.2"
#define EDAC_MOD_STR "e752x_edac"

static int report_non_memory_errors;
Expand Down
2 changes: 1 addition & 1 deletion drivers/edac/e7xxx_edac.c
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
#include <linux/edac.h>
#include "edac_core.h"

#define E7XXX_REVISION " Ver: 2.0.2 " __DATE__
#define E7XXX_REVISION " Ver: 2.0.2"
#define EDAC_MOD_STR "e7xxx_edac"

#define e7xxx_printk(level, fmt, arg...) \
Expand Down
2 changes: 1 addition & 1 deletion drivers/edac/edac_module.c
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
#include "edac_core.h"
#include "edac_module.h"

#define EDAC_VERSION "Ver: 2.1.0 " __DATE__
#define EDAC_VERSION "Ver: 2.1.0"

#ifdef CONFIG_EDAC_DEBUG
/* Values of 0 to 4 will generate output */
Expand Down
2 changes: 1 addition & 1 deletion drivers/edac/i5000_edac.c
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
/*
* Alter this version for the I5000 module when modifications are made
*/
#define I5000_REVISION " Ver: 2.0.12 " __DATE__
#define I5000_REVISION " Ver: 2.0.12"
#define EDAC_MOD_STR "i5000_edac"

#define i5000_printk(level, fmt, arg...) \
Expand Down
2 changes: 1 addition & 1 deletion drivers/edac/i5400_edac.c
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
/*
* Alter this version for the I5400 module when modifications are made
*/
#define I5400_REVISION " Ver: 1.0.0 " __DATE__
#define I5400_REVISION " Ver: 1.0.0"

#define EDAC_MOD_STR "i5400_edac"

Expand Down
2 changes: 1 addition & 1 deletion drivers/edac/i7300_edac.c
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
/*
* Alter this version for the I7300 module when modifications are made
*/
#define I7300_REVISION " Ver: 1.0.0 " __DATE__
#define I7300_REVISION " Ver: 1.0.0"

#define EDAC_MOD_STR "i7300_edac"

Expand Down
2 changes: 1 addition & 1 deletion drivers/edac/i7core_edac.c
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ MODULE_PARM_DESC(use_pci_fixup, "Enable PCI fixup to seek for hidden devices");
/*
* Alter this version for the module when modifications are made
*/
#define I7CORE_REVISION " Ver: 1.0.0 " __DATE__
#define I7CORE_REVISION " Ver: 1.0.0"
#define EDAC_MOD_STR "i7core_edac"

/*
Expand Down
2 changes: 1 addition & 1 deletion drivers/edac/i82860_edac.c
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
#include <linux/edac.h>
#include "edac_core.h"

#define I82860_REVISION " Ver: 2.0.2 " __DATE__
#define I82860_REVISION " Ver: 2.0.2"
#define EDAC_MOD_STR "i82860_edac"

#define i82860_printk(level, fmt, arg...) \
Expand Down
2 changes: 1 addition & 1 deletion drivers/edac/i82875p_edac.c
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
#include <linux/edac.h>
#include "edac_core.h"

#define I82875P_REVISION " Ver: 2.0.2 " __DATE__
#define I82875P_REVISION " Ver: 2.0.2"
#define EDAC_MOD_STR "i82875p_edac"

#define i82875p_printk(level, fmt, arg...) \
Expand Down
2 changes: 1 addition & 1 deletion drivers/edac/i82975x_edac.c
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
#include <linux/edac.h>
#include "edac_core.h"

#define I82975X_REVISION " Ver: 1.0.0 " __DATE__
#define I82975X_REVISION " Ver: 1.0.0"
#define EDAC_MOD_STR "i82975x_edac"

#define i82975x_printk(level, fmt, arg...) \
Expand Down
2 changes: 1 addition & 1 deletion drivers/edac/mpc85xx_edac.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
#ifndef _MPC85XX_EDAC_H_
#define _MPC85XX_EDAC_H_

#define MPC85XX_REVISION " Ver: 2.0.0 " __DATE__
#define MPC85XX_REVISION " Ver: 2.0.0"
#define EDAC_MOD_STR "MPC85xx_edac"

#define mpc85xx_printk(level, fmt, arg...) \
Expand Down
2 changes: 1 addition & 1 deletion drivers/edac/mv64x60_edac.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
#ifndef _MV64X60_EDAC_H_
#define _MV64X60_EDAC_H_

#define MV64x60_REVISION " Ver: 2.0.0 " __DATE__
#define MV64x60_REVISION " Ver: 2.0.0"
#define EDAC_MOD_STR "MV64x60_edac"

#define mv64x60_printk(level, fmt, arg...) \
Expand Down
2 changes: 1 addition & 1 deletion drivers/edac/ppc4xx_edac.c
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@
#define EDAC_OPSTATE_UNKNOWN_STR "unknown"

#define PPC4XX_EDAC_MODULE_NAME "ppc4xx_edac"
#define PPC4XX_EDAC_MODULE_REVISION "v1.0.0 " __DATE__
#define PPC4XX_EDAC_MODULE_REVISION "v1.0.0"

#define PPC4XX_EDAC_MESSAGE_SIZE 256

Expand Down
2 changes: 1 addition & 1 deletion drivers/edac/r82600_edac.c
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
#include <linux/edac.h>
#include "edac_core.h"

#define R82600_REVISION " Ver: 2.0.2 " __DATE__
#define R82600_REVISION " Ver: 2.0.2"
#define EDAC_MOD_STR "r82600_edac"

#define r82600_printk(level, fmt, arg...) \
Expand Down
5 changes: 2 additions & 3 deletions drivers/isdn/hardware/eicon/divasfunc.c
Original file line number Diff line number Diff line change
Expand Up @@ -113,9 +113,8 @@ void diva_xdi_didd_remove_adapter(int card)
static void start_dbg(void)
{
DbgRegister("DIVAS", DRIVERRELEASE_DIVAS, (debugmask) ? debugmask : DBG_DEFAULT);
DBG_LOG(("DIVA ISDNXDI BUILD (%s[%s]-%s-%s)",
DIVA_BUILD, diva_xdi_common_code_build, __DATE__,
__TIME__))
DBG_LOG(("DIVA ISDNXDI BUILD (%s[%s])",
DIVA_BUILD, diva_xdi_common_code_build))
}

/*
Expand Down
3 changes: 1 addition & 2 deletions drivers/media/radio/radio-maxiradio.c
Original file line number Diff line number Diff line change
Expand Up @@ -412,8 +412,7 @@ static int __devinit maxiradio_init_one(struct pci_dev *pdev, const struct pci_d
goto err_out_free_region;
}

v4l2_info(v4l2_dev, "version " DRIVER_VERSION
" time " __TIME__ " " __DATE__ "\n");
v4l2_info(v4l2_dev, "version " DRIVER_VERSION "\n");

v4l2_info(v4l2_dev, "found Guillemot MAXI Radio device (io = 0x%x)\n",
dev->io);
Expand Down
2 changes: 1 addition & 1 deletion drivers/media/video/cx231xx/cx231xx-avcore.c
Original file line number Diff line number Diff line change
Expand Up @@ -1354,7 +1354,7 @@ void cx231xx_dump_SC_reg(struct cx231xx *dev)
{
u8 value[4] = { 0, 0, 0, 0 };
int status = 0;
cx231xx_info("cx231xx_dump_SC_reg %s!\n", __TIME__);
cx231xx_info("cx231xx_dump_SC_reg!\n");

status = cx231xx_read_ctrl_reg(dev, VRT_GET_REGISTER, BOARD_CFG_STAT,
value, 4);
Expand Down
2 changes: 1 addition & 1 deletion drivers/net/hamradio/baycom_epp.c
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ static const char paranoia_str[] = KERN_ERR

static const char bc_drvname[] = "baycom_epp";
static const char bc_drvinfo[] = KERN_INFO "baycom_epp: (C) 1998-2000 Thomas Sailer, HB9JNX/AE4WA\n"
"baycom_epp: version 0.7 compiled " __TIME__ " " __DATE__ "\n";
"baycom_epp: version 0.7\n";

/* --------------------------------------------------------------------- */

Expand Down
2 changes: 1 addition & 1 deletion drivers/net/hamradio/baycom_par.c
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@

static const char bc_drvname[] = "baycom_par";
static const char bc_drvinfo[] = KERN_INFO "baycom_par: (C) 1996-2000 Thomas Sailer, HB9JNX/AE4WA\n"
"baycom_par: version 0.9 compiled " __TIME__ " " __DATE__ "\n";
"baycom_par: version 0.9\n";

/* --------------------------------------------------------------------- */

Expand Down
2 changes: 1 addition & 1 deletion drivers/net/hamradio/baycom_ser_fdx.c
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@

static const char bc_drvname[] = "baycom_ser_fdx";
static const char bc_drvinfo[] = KERN_INFO "baycom_ser_fdx: (C) 1996-2000 Thomas Sailer, HB9JNX/AE4WA\n"
"baycom_ser_fdx: version 0.10 compiled " __TIME__ " " __DATE__ "\n";
"baycom_ser_fdx: version 0.10\n";

/* --------------------------------------------------------------------- */

Expand Down
2 changes: 1 addition & 1 deletion drivers/net/hamradio/baycom_ser_hdx.c
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@

static const char bc_drvname[] = "baycom_ser_hdx";
static const char bc_drvinfo[] = KERN_INFO "baycom_ser_hdx: (C) 1996-2000 Thomas Sailer, HB9JNX/AE4WA\n"
"baycom_ser_hdx: version 0.10 compiled " __TIME__ " " __DATE__ "\n";
"baycom_ser_hdx: version 0.10\n";

/* --------------------------------------------------------------------- */

Expand Down
2 changes: 1 addition & 1 deletion drivers/net/hamradio/hdlcdrv.c
Original file line number Diff line number Diff line change
Expand Up @@ -749,7 +749,7 @@ EXPORT_SYMBOL(hdlcdrv_unregister);
static int __init hdlcdrv_init_driver(void)
{
printk(KERN_INFO "hdlcdrv: (C) 1996-2000 Thomas Sailer HB9JNX/AE4WA\n");
printk(KERN_INFO "hdlcdrv: version 0.8 compiled " __TIME__ " " __DATE__ "\n");
printk(KERN_INFO "hdlcdrv: version 0.8\n");
return 0;
}

Expand Down
3 changes: 1 addition & 2 deletions drivers/net/wan/pc300_drv.c
Original file line number Diff line number Diff line change
Expand Up @@ -3242,8 +3242,7 @@ static inline void show_version(void)
rcsdate++;
tmp = strrchr(rcsdate, ' ');
*tmp = '\0';
printk(KERN_INFO "Cyclades-PC300 driver %s %s (built %s %s)\n",
rcsvers, rcsdate, __DATE__, __TIME__);
printk(KERN_INFO "Cyclades-PC300 driver %s %s\n", rcsvers, rcsdate);
} /* show_version */

static const struct net_device_ops cpc_netdev_ops = {
Expand Down
1 change: 0 additions & 1 deletion drivers/parport/parport_ip32.c
Original file line number Diff line number Diff line change
Expand Up @@ -2203,7 +2203,6 @@ static __exit void parport_ip32_unregister_port(struct parport *p)
static int __init parport_ip32_init(void)
{
pr_info(PPIP32 "SGI IP32 built-in parallel port driver v0.6\n");
pr_debug1(PPIP32 "Compiled on %s, %s\n", __DATE__, __TIME__);
this_port = parport_ip32_probe_port();
return IS_ERR(this_port) ? PTR_ERR(this_port) : 0;
}
Expand Down
3 changes: 1 addition & 2 deletions drivers/scsi/aacraid/linit.c
Original file line number Diff line number Diff line change
Expand Up @@ -59,15 +59,14 @@
#ifndef AAC_DRIVER_BRANCH
#define AAC_DRIVER_BRANCH ""
#endif
#define AAC_DRIVER_BUILD_DATE __DATE__ " " __TIME__
#define AAC_DRIVERNAME "aacraid"

#ifdef AAC_DRIVER_BUILD
#define _str(x) #x
#define str(x) _str(x)
#define AAC_DRIVER_FULL_VERSION AAC_DRIVER_VERSION "[" str(AAC_DRIVER_BUILD) "]" AAC_DRIVER_BRANCH
#else
#define AAC_DRIVER_FULL_VERSION AAC_DRIVER_VERSION AAC_DRIVER_BRANCH " " AAC_DRIVER_BUILD_DATE
#define AAC_DRIVER_FULL_VERSION AAC_DRIVER_VERSION AAC_DRIVER_BRANCH
#endif

MODULE_AUTHOR("Red Hat Inc and Adaptec");
Expand Down
2 changes: 1 addition & 1 deletion drivers/scsi/in2000.c
Original file line number Diff line number Diff line change
Expand Up @@ -2227,7 +2227,7 @@ static int in2000_proc_info(struct Scsi_Host *instance, char *buf, char **start,
bp = buf;
*bp = '\0';
if (hd->proc & PR_VERSION) {
sprintf(tbuf, "\nVersion %s - %s. Compiled %s %s", IN2000_VERSION, IN2000_DATE, __DATE__, __TIME__);
sprintf(tbuf, "\nVersion %s - %s.", IN2000_VERSION, IN2000_DATE);
strcat(bp, tbuf);
}
if (hd->proc & PR_INFO) {
Expand Down
9 changes: 4 additions & 5 deletions drivers/scsi/pmcraid.c
Original file line number Diff line number Diff line change
Expand Up @@ -4252,8 +4252,8 @@ static ssize_t pmcraid_show_drv_version(
char *buf
)
{
return snprintf(buf, PAGE_SIZE, "version: %s, build date: %s\n",
PMCRAID_DRIVER_VERSION, PMCRAID_DRIVER_DATE);
return snprintf(buf, PAGE_SIZE, "version: %s\n",
PMCRAID_DRIVER_VERSION);
}

static struct device_attribute pmcraid_driver_version_attr = {
Expand Down Expand Up @@ -6096,9 +6096,8 @@ static int __init pmcraid_init(void)
dev_t dev;
int error;

pmcraid_info("%s Device Driver version: %s %s\n",
PMCRAID_DRIVER_NAME,
PMCRAID_DRIVER_VERSION, PMCRAID_DRIVER_DATE);
pmcraid_info("%s Device Driver version: %s\n",
PMCRAID_DRIVER_NAME, PMCRAID_DRIVER_VERSION);

error = alloc_chrdev_region(&dev, 0,
PMCRAID_MAX_ADAPTERS,
Expand Down
1 change: 0 additions & 1 deletion drivers/scsi/pmcraid.h
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@
#define PMCRAID_DRIVER_NAME "PMC MaxRAID"
#define PMCRAID_DEVFILE "pmcsas"
#define PMCRAID_DRIVER_VERSION "1.0.3"
#define PMCRAID_DRIVER_DATE __DATE__

#define PMCRAID_FW_VERSION_1 0x002

Expand Down
7 changes: 3 additions & 4 deletions drivers/scsi/wd33c93.c
Original file line number Diff line number Diff line change
Expand Up @@ -2051,8 +2051,7 @@ wd33c93_init(struct Scsi_Host *instance, const wd33c93_regs regs,
for (i = 0; i < MAX_SETUP_ARGS; i++)
printk("%s,", setup_args[i]);
printk("\n");
printk(" Version %s - %s, Compiled %s at %s\n",
WD33C93_VERSION, WD33C93_DATE, __DATE__, __TIME__);
printk(" Version %s - %s\n", WD33C93_VERSION, WD33C93_DATE);
}

int
Expand Down Expand Up @@ -2132,8 +2131,8 @@ wd33c93_proc_info(struct Scsi_Host *instance, char *buf, char **start, off_t off
bp = buf;
*bp = '\0';
if (hd->proc & PR_VERSION) {
sprintf(tbuf, "\nVersion %s - %s. Compiled %s %s",
WD33C93_VERSION, WD33C93_DATE, __DATE__, __TIME__);
sprintf(tbuf, "\nVersion %s - %s.",
WD33C93_VERSION, WD33C93_DATE);
strcat(bp, tbuf);
}
if (hd->proc & PR_INFO) {
Expand Down
2 changes: 1 addition & 1 deletion drivers/staging/generic_serial/rio/rioinit.c
Original file line number Diff line number Diff line change
Expand Up @@ -381,7 +381,7 @@ struct rioVersion *RIOVersid(void)
{
strlcpy(stVersion.version, "RIO driver for linux V1.0",
sizeof(stVersion.version));
strlcpy(stVersion.buildDate, __DATE__,
strlcpy(stVersion.buildDate, "Aug 15 2010",
sizeof(stVersion.buildDate));

return &stVersion;
Expand Down
3 changes: 1 addition & 2 deletions drivers/tty/cyclades.c
Original file line number Diff line number Diff line change
Expand Up @@ -4096,8 +4096,7 @@ static int __init cy_init(void)
if (!cy_serial_driver)
goto err;

printk(KERN_INFO "Cyclades driver " CY_VERSION " (built %s %s)\n",
__DATE__, __TIME__);
printk(KERN_INFO "Cyclades driver " CY_VERSION "\n");

/* Initialize the tty_driver structure */

Expand Down
3 changes: 1 addition & 2 deletions drivers/tty/nozomi.c
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,7 @@
#include <linux/delay.h>


#define VERSION_STRING DRIVER_DESC " 2.1d (build date: " \
__DATE__ " " __TIME__ ")"
#define VERSION_STRING DRIVER_DESC " 2.1d"

/* Macros definitions */

Expand Down
2 changes: 1 addition & 1 deletion fs/dlm/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ static int __init init_dlm(void)
if (error)
goto out_netlink;

printk("DLM (built %s %s) installed\n", __DATE__, __TIME__);
printk("DLM installed\n");

return 0;

Expand Down
2 changes: 1 addition & 1 deletion fs/gfs2/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ static int __init init_gfs2_fs(void)

gfs2_register_debugfs();

printk("GFS2 (built %s %s) installed\n", __DATE__, __TIME__);
printk("GFS2 installed\n");

return 0;

Expand Down
2 changes: 1 addition & 1 deletion net/atm/lec.c
Original file line number Diff line number Diff line change
Expand Up @@ -1171,7 +1171,7 @@ static int __init lane_module_init(void)
#endif

register_atm_ioctl(&lane_ioctl_ops);
pr_info("lec.c: " __DATE__ " " __TIME__ " initialized\n");
pr_info("lec.c: initialized\n");
return 0;
}

Expand Down
2 changes: 1 addition & 1 deletion net/atm/mpc.c
Original file line number Diff line number Diff line change
Expand Up @@ -1482,7 +1482,7 @@ static __init int atm_mpoa_init(void)
if (mpc_proc_init() != 0)
pr_info("failed to initialize /proc/mpoa\n");

pr_info("mpc.c: " __DATE__ " " __TIME__ " initialized\n");
pr_info("mpc.c: initialized\n");

return 0;
}
Expand Down

0 comments on commit b7c2f03

Please sign in to comment.