mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/herbert/cryptodev-2.6.git
synced 2026-04-23 05:56:14 -04:00
[MTD] replace remaining __FUNCTION__ occurrences
__FUNCTION__ is gcc-specific, use __func__ Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: David Woodhouse <dwmw2@infradead.org>
This commit is contained in:
committed by
David Woodhouse
parent
35d086b143
commit
cb53b3b999
@@ -384,7 +384,7 @@ read_pri_intelext(struct map_info *map, __u16 adr)
|
||||
if (extp_size > 4096) {
|
||||
printk(KERN_ERR
|
||||
"%s: cfi_pri_intelext is too fat\n",
|
||||
__FUNCTION__);
|
||||
__func__);
|
||||
return NULL;
|
||||
}
|
||||
goto again;
|
||||
@@ -641,7 +641,7 @@ static int cfi_intelext_partition_fixup(struct mtd_info *mtd,
|
||||
if ((1 << partshift) < mtd->erasesize) {
|
||||
printk( KERN_ERR
|
||||
"%s: bad number of hw partitions (%d)\n",
|
||||
__FUNCTION__, numparts);
|
||||
__func__, numparts);
|
||||
return -EINVAL;
|
||||
}
|
||||
|
||||
@@ -2013,7 +2013,7 @@ static int cfi_intelext_lock(struct mtd_info *mtd, loff_t ofs, size_t len)
|
||||
|
||||
#ifdef DEBUG_LOCK_BITS
|
||||
printk(KERN_DEBUG "%s: lock status before, ofs=0x%08llx, len=0x%08X\n",
|
||||
__FUNCTION__, ofs, len);
|
||||
__func__, ofs, len);
|
||||
cfi_varsize_frob(mtd, do_printlockstatus_oneblock,
|
||||
ofs, len, NULL);
|
||||
#endif
|
||||
@@ -2023,7 +2023,7 @@ static int cfi_intelext_lock(struct mtd_info *mtd, loff_t ofs, size_t len)
|
||||
|
||||
#ifdef DEBUG_LOCK_BITS
|
||||
printk(KERN_DEBUG "%s: lock status after, ret=%d\n",
|
||||
__FUNCTION__, ret);
|
||||
__func__, ret);
|
||||
cfi_varsize_frob(mtd, do_printlockstatus_oneblock,
|
||||
ofs, len, NULL);
|
||||
#endif
|
||||
@@ -2037,7 +2037,7 @@ static int cfi_intelext_unlock(struct mtd_info *mtd, loff_t ofs, size_t len)
|
||||
|
||||
#ifdef DEBUG_LOCK_BITS
|
||||
printk(KERN_DEBUG "%s: lock status before, ofs=0x%08llx, len=0x%08X\n",
|
||||
__FUNCTION__, ofs, len);
|
||||
__func__, ofs, len);
|
||||
cfi_varsize_frob(mtd, do_printlockstatus_oneblock,
|
||||
ofs, len, NULL);
|
||||
#endif
|
||||
@@ -2047,7 +2047,7 @@ static int cfi_intelext_unlock(struct mtd_info *mtd, loff_t ofs, size_t len)
|
||||
|
||||
#ifdef DEBUG_LOCK_BITS
|
||||
printk(KERN_DEBUG "%s: lock status after, ret=%d\n",
|
||||
__FUNCTION__, ret);
|
||||
__func__, ret);
|
||||
cfi_varsize_frob(mtd, do_printlockstatus_oneblock,
|
||||
ofs, len, NULL);
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user