• Randy Dunlap's avatar
    [PATCH] poison: add & use more constants · a7807a32
    Randy Dunlap authored
    Add more poison values to include/linux/poison.h.  It's not clear to me
    whether some others should be added or not, so I haven't added any of
    these:
    
    ./include/linux/libata.h:#define ATA_TAG_POISON		0xfafbfcfdU
    ./arch/ppc/8260_io/fcc_enet.c:1918:	memset((char *)(&(immap->im_dprambase[(mem_addr+64)])), 0x88, 32);
    ./drivers/usb/mon/mon_text.c:429:	memset(mem, 0xe5, sizeof(struct mon_event_text));
    ./drivers/char/ftape/lowlevel/ftape-ctl.c:738:		memset(ft_buffer[i]->address, 0xAA, FT_BUFF_SIZE);
    ./drivers/block/sx8.c:/* 0xf is just arbitrary, non-zero noise; this is sorta like poisoning */
    Signed-off-by: default avatarRandy Dunlap <rdunlap@xenotime.net>
    Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
    Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
    a7807a32
mutex-debug.c 11.7 KB