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]
Message-ID: <1138f22c-028c-184a-19c0-5b8f64bd977f@grandegger.com>
Date:   Fri, 8 Mar 2019 11:25:35 +0100
From:   Wolfgang Grandegger <wg@...ndegger.com>
To:     Dan Murphy <dmurphy@...com>, mkl@...gutronix.de,
        davem@...emloft.net
Cc:     linux-can@...r.kernel.org, netdev@...r.kernel.org,
        linux-kernel@...r.kernel.org
Subject: Re: [PATCH v7 2/4] can: m_can: Rename m_can_priv to m_can_classdev



Am 05.03.19 um 16:52 schrieb Dan Murphy:
> Rename the common m_can_priv class structure to
> m_can_classdev as this is more descriptive.
> 
> Signed-off-by: Dan Murphy <dmurphy@...com>
> ---
> 
> v7 - Fixed remaining checkpatch issues, renamed priv to cdev - https://lore.kernel.org/patchwork/patch/1047219/
> 
> v6 - No changes only rebase changes possibly can squash into the first patch - 
> https://lore.kernel.org/patchwork/patch/1042444/
> 
>  drivers/net/can/m_can/m_can.c          | 524 ++++++++++++-------------
>  drivers/net/can/m_can/m_can.h          |  28 +-
>  drivers/net/can/m_can/m_can_platform.c |  16 +-
>  3 files changed, 284 insertions(+), 284 deletions(-)

...snip...

> diff --git a/drivers/net/can/m_can/m_can.h b/drivers/net/can/m_can/m_can.h
> index b60f27dd9f33..1299cc747194 100644
> --- a/drivers/net/can/m_can/m_can.h
> +++ b/drivers/net/can/m_can/m_can.h
> @@ -57,19 +57,19 @@ struct mram_cfg {
>  	u8  num;
>  };
>  
> -struct m_can_priv;
> +struct m_can_classdev;
>  struct m_can_ops {
>  	/* Device specific call backs */
> -	int (*clear_interrupts)(struct m_can_priv *m_can_class);
> -	u32 (*read_reg)(struct m_can_priv *m_can_class, int reg);
> -	int (*write_reg)(struct m_can_priv *m_can_class, int reg, int val);
> -	u32 (*read_fifo)(struct m_can_priv *m_can_class, int addr_offset);
> -	int (*write_fifo)(struct m_can_priv *m_can_class, int addr_offset,
> +	int (*clear_interrupts)(struct m_can_classdev *m_can_class);
> +	u32 (*read_reg)(struct m_can_classdev *m_can_class, int reg);
> +	int (*write_reg)(struct m_can_classdev *m_can_class, int reg, int val);
> +	u32 (*read_fifo)(struct m_can_classdev *m_can_class, int addr_offset);
> +	int (*write_fifo)(struct m_can_classdev *m_can_class, int addr_offset,

Could you please replace the variable name "m_can_class" with "cdev"
here and below and in "c_can_platform.c " and "tcan4x5x.c" as well.

Thanks,

Wolfgang.

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ