Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 866e6b9e authored by Harvey Harrison's avatar Harvey Harrison Committed by Paul Mundt
Browse files

sh: replace remaining __FUNCTION__ occurrences



__FUNCTION__ is gcc-specific, use __func__

Signed-off-by: default avatarHarvey Harrison <harvey.harrison@gmail.com>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarPaul Mundt <lethal@linux-sh.org>
parent ad0caae0
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -68,7 +68,7 @@ static void __ilsel_enable(ilsel_source_t set, unsigned int bit)
	shift = mk_ilsel_shift(bit);

	pr_debug("%s: bit#%d: addr - 0x%08lx (shift %d, set %d)\n",
		 __FUNCTION__, bit, addr, shift, set);
		 __func__, bit, addr, shift, set);

	tmp = ctrl_inw(addr);
	tmp &= ~(0xf << shift);
+1 −1
Original line number Diff line number Diff line
@@ -127,7 +127,7 @@ static unsigned long microdev_isa_port2addr(unsigned long offset)
			 *	safe default.
			 */
		printk("Warning: unexpected port in %s( offset = 0x%lx )\n",
		       __FUNCTION__, offset);
		       __func__, offset);
		result = PVR;
	}

+2 −2
Original line number Diff line number Diff line
@@ -216,7 +216,7 @@ void sq_unmap(unsigned long vaddr)

	if (unlikely(!map)) {
		printk("%s: bad store queue address 0x%08lx\n",
		       __FUNCTION__, vaddr);
		       __func__, vaddr);
		return;
	}

@@ -233,7 +233,7 @@ void sq_unmap(unsigned long vaddr)
		vma = remove_vm_area((void *)(map->sq_addr & PAGE_MASK));
		if (!vma) {
			printk(KERN_ERR "%s: bad address 0x%08lx\n",
			       __FUNCTION__, map->sq_addr);
			       __func__, map->sq_addr);
			return;
		}
	}
+1 −1
Original line number Diff line number Diff line
@@ -149,7 +149,7 @@ static int lookup_prev_stack_frame(unsigned long fp, unsigned long pc,
			if (dest >= 63) {
				printk(KERN_NOTICE "%s: Invalid dest reg %d "
				       "specified in movi handler. Failed "
				       "opcode was 0x%lx: ", __FUNCTION__,
				       "opcode was 0x%lx: ", __func__,
				       dest, op);

				continue;
+1 −1
Original line number Diff line number Diff line
@@ -77,7 +77,7 @@ static unsigned long cmt_timer_get_offset(void)
				count -= LATCH;
			} else {
				printk("%s (): hardware timer problem?\n",
				       __FUNCTION__);
				       __func__);
			}
		}
	} else
Loading