[PATCH 3/4] staging: unisys: style: Replace typedefs with structs in visorchipset_main.c

Dan Carpenter dan.carpenter at oracle.com
Mon Feb 16 09:15:02 UTC 2015


On Mon, Feb 16, 2015 at 01:39:46AM +0100, Frederico Cadete wrote:
> Signed-off-by: Frederico Cadete <frederico at cadete.eu>
> ---
>  .../staging/unisys/visorchipset/visorchipset_main.c  | 20 ++++++++++----------
>  1 file changed, 10 insertions(+), 10 deletions(-)
> 
> diff --git a/drivers/staging/unisys/visorchipset/visorchipset_main.c b/drivers/staging/unisys/visorchipset/visorchipset_main.c
> index 848afaa..9c5b190 100644
> --- a/drivers/staging/unisys/visorchipset/visorchipset_main.c
> +++ b/drivers/staging/unisys/visorchipset/visorchipset_main.c
> @@ -98,19 +98,19 @@ static LIST_HEAD(DevInfoList);
>  
>  static struct visorchannel *ControlVm_channel;
>  
> -typedef struct {
> +struct CONTROLVM_PAYLOAD_INFO {

Ugh.  Please fix the name as well.

regards,
dan carpenter



More information about the devel mailing list