if (p[i] != td->pattern[i]) 
if (p[td->offs + i] != td->pattern[i]) 
static int check_short_pattern (uint8_t *buf, int len, int paglen, struct nand_bbt_descr *td){	int i;	uint8_t *p = buf;	/* Compare the pattern */	for (i = 0; i < td->len; i++) {		if (p[i] != td->pattern[i])			return -1;	}	return 0;}
4520	/local/tlutelli/issta_data/temp/c/2005_temp/2005/4520/19870da7ea2fc483bf73a189046a430fd9b01391/nand_bbt.c/clean/drivers/mtd/nand/nand_bbt.c