lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <B168F8A49F4BCF4C84FD23DA5F6363EE61213551@NWD2MBX7.ad.analog.com>
Date:	Mon, 5 Jan 2015 02:38:10 +0000
From:	"Zhang, Sonic" <Sonic.Zhang@...log.com>
To:	Rickard Strandqvist <rickard_strandqvist@...ctrumdigital.se>,
	Steven Miao <realmz6@...il.com>,
	"adi-buildroot-devel@...ts.sourceforge.net" 
	<adi-buildroot-devel@...ts.sourceforge.net>
CC:	"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: RE: [Adi-buildroot-devel] [PATCH] arch: blackfin: kernel: kgdb:
 Remove	unused function

Acked-by: Sonic Zhang <sonic.zhang@...log.com>

Sonic

>-----Original Message-----
>From: Rickard Strandqvist [mailto:rickard_strandqvist@...ctrumdigital.se]
>Sent: Friday, January 02, 2015 1:54 AM
>To: Steven Miao; adi-buildroot-devel@...ts.sourceforge.net
>Cc: linux-kernel@...r.kernel.org; Rickard Strandqvist
>Subject: [Adi-buildroot-devel] [PATCH] arch: blackfin: kernel: kgdb: Remove unused function
>
>Remove the function kgdb_post_primary_code() that is not used anywhere.
>
>This was partially found by using a static code analysis program called cppcheck.
>
>Signed-off-by: Rickard Strandqvist <rickard_strandqvist@...ctrumdigital.se>
>---
> arch/blackfin/kernel/kgdb.c |   13 -------------
> 1 file changed, 13 deletions(-)
>
>diff --git a/arch/blackfin/kernel/kgdb.c b/arch/blackfin/kernel/kgdb.c index fa53fae..b1cc04f 100644
>--- a/arch/blackfin/kernel/kgdb.c
>+++ b/arch/blackfin/kernel/kgdb.c
>@@ -359,19 +359,6 @@ void kgdb_roundup_cpu(int cpu, unsigned long flags)  static unsigned long kgdb_arch_imask;  #endif
>
>-void kgdb_post_primary_code(struct pt_regs *regs, int e_vector, int err_code) -{
>-	if (kgdb_single_step)
>-		preempt_enable();
>-
>-#ifdef CONFIG_IPIPE
>-	if (kgdb_arch_imask) {
>-		cpu_pda[raw_smp_processor_id()].ex_imask = kgdb_arch_imask;
>-		kgdb_arch_imask = 0;
>-	}
>-#endif
>-}
>-
> int kgdb_arch_handle_exception(int vector, int signo,
> 			       int err_code, char *remcom_in_buffer,
> 			       char *remcom_out_buffer,
>--
>1.7.10.4
>
>
>------------------------------------------------------------------------------
>Dive into the World of Parallel Programming! The Go Parallel Website,
>sponsored by Intel and developed in partnership with Slashdot Media, is your
>hub for all things parallel software development, from weekly thought
>leadership blogs to news, videos, case studies, tutorials and more. Take a
>look and join the conversation now. http://goparallel.sourceforge.net
>_______________________________________________
>Adi-buildroot-devel mailing list
>Adi-buildroot-devel@...ts.sourceforge.net
>https://lists.sourceforge.net/lists/listinfo/adi-buildroot-devel

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ