if (ready)
return;
- rv = ipmi_create_user(if_num, &ipmi_poweroff_handler, 0, &ipmi_user);
+ rv = ipmi_create_user(if_num, &ipmi_poweroff_handler, NULL, &ipmi_user);
if (rv) {
printk(KERN_ERR PFX "could not create IPMI user, error %d\n",
rv);
#endif
-static int mtd_parts_nb = 0;
-static struct mtd_partition *mtd_parts = 0;
+static int mtd_parts_nb;
+static struct mtd_partition *mtd_parts;
int __init init_edb7312nor(void)
{
static const char *rom_probe_types[] = PROBETYPES;
const char **type;
- const char *part_type = 0;
+ const char *part_type = NULL;
printk(KERN_NOTICE MSG_PREFIX "0x%08x at 0x%08x\n",
WINDOW_SIZE, WINDOW_ADDR);
simple_map_init(&edb7312nor_map);
- mymtd = 0;
+ mymtd = NULL;
type = rom_probe_types;
for(; !mymtd && *type; type++) {
mymtd = do_map_probe(*type, &edb7312nor_map);
{
static const char *rom_probe_types[] = PROBETYPES;
const char **type;
- const char *part_type = 0;
+ const char *part_type = NULL;
int i;
static struct { u_long addr; u_long size; } pt[NUM_FLASHBANKS] = {
{ WINDOW_ADDR0, WINDOW_SIZE0 },
}
simple_map_init(&impa7_map[i]);
- impa7_mtd[i] = 0;
+ impa7_mtd[i] = NULL;
type = rom_probe_types;
for(; !impa7_mtd[i] && *type; type++) {
impa7_mtd[i] = do_map_probe(*type, &impa7_map[i]);
#else
-#define ehci_hub_suspend 0
-#define ehci_hub_resume 0
+#define ehci_hub_suspend NULL
+#define ehci_hub_resume NULL
#endif /* CONFIG_PM */
unsigned long ip_ct_sctp_timeout_shutdown_ack_sent = 3 SECS;
static unsigned long * sctp_timeouts[]
-= { 0, /* SCTP_CONNTRACK_NONE */
+= { NULL, /* SCTP_CONNTRACK_NONE */
&ip_ct_sctp_timeout_closed, /* SCTP_CONNTRACK_CLOSED */
&ip_ct_sctp_timeout_cookie_wait, /* SCTP_CONNTRACK_COOKIE_WAIT */
&ip_ct_sctp_timeout_cookie_echoed, /* SCTP_CONNTRACK_COOKIE_ECHOED */
out_err:
if (md5cksum.data)
kfree(md5cksum.data);
- token->data = 0;
+ token->data = NULL;
token->len = 0;
return GSS_S_FAILURE;
}