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] [thread-next>] [day] [month] [year] [list]
Date:   Fri, 12 Feb 2021 07:31:40 -0800
From:   Richard Cochran <richardcochran@...il.com>
To:     vincent.cheng.xh@...esas.com
Cc:     netdev@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH net-next 1/2] ptp: ptp_clockmatrix: Add
 wait_for_sys_apll_dpll_lock.

On Thu, Feb 11, 2021 at 11:38:44PM -0500, vincent.cheng.xh@...esas.com wrote:

> +static int wait_for_sys_apll_dpll_lock(struct idtcm *idtcm)
> +{
> +	char *fmt = "%d ms SYS lock timeout: APLL Loss Lock %d  DPLL state %d";

Probably you want: const char *fmt

> diff --git a/drivers/ptp/ptp_clockmatrix.h b/drivers/ptp/ptp_clockmatrix.h
> index 645de2c..fb32327 100644
> --- a/drivers/ptp/ptp_clockmatrix.h
> +++ b/drivers/ptp/ptp_clockmatrix.h
> @@ -15,7 +15,6 @@
>  #define FW_FILENAME	"idtcm.bin"
>  #define MAX_TOD		(4)
>  #define MAX_PLL		(8)
> -#define MAX_OUTPUT	(12)

...

> @@ -123,7 +137,6 @@ struct idtcm_channel {
>  	enum pll_mode		pll_mode;
>  	u8			pll;
>  	u16			output_mask;
> -	u8			output_phase_adj[MAX_OUTPUT][4];
>  };

Looks like this removal is unrelated to the patch subject, and so it
deserves its own small patch.

Acked-by: Richard Cochran <richardcochran@...il.com>

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ