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: <AANLkTimE9Q2kgWf67zmATJwJDMSCPJV8XLPkqiw7SvhG@mail.gmail.com>
Date:	Sun, 24 Oct 2010 13:44:51 +0400
From:	Denis Kirjanov <kirjanov@...il.com>
To:	Neil Munro <neilmunro@...il.com>
Cc:	gregkh@...e.de, wfp5p@...ginia.edu, devel@...verdev.osuosl.org,
	linux-kernel@...r.kernel.org
Subject: Re: [PATCH] Staging: RT2860: Fixed two errors in usb_main_dev.c

On Sat, Oct 23, 2010 at 10:25 PM, Neil Munro <neilmunro@...il.com> wrote:
> usb_main_dev.c has now been cleaned of all errors, just needed spaces around colon symbols.
>
> Signed-off-by: Neil Munro <neilmunro@...il.com>
> ---
>  drivers/staging/rt2860/usb_main_dev.c |    4 ++--
>  1 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/staging/rt2860/usb_main_dev.c b/drivers/staging/rt2860/usb_main_dev.c
> index ebf9074..30c16dd 100644
> --- a/drivers/staging/rt2860/usb_main_dev.c
> +++ b/drivers/staging/rt2860/usb_main_dev.c
> @@ -368,8 +368,8 @@ struct usb_driver rtusb_driver = {
>        .id_table = rtusb_usb_id,
>
>  #ifdef CONFIG_PM
> -suspend:rt2870_suspend,
> -resume:rt2870_resume,
> +suspend : rt2870_suspend,
> +resume : rt2870_resume,

Structure should _not_ be initialized like this.
There are tons of examples through the kernel tree.

>  #endif
>  };
>
> --
> 1.7.3.2
>
> _______________________________________________
> devel mailing list
> devel@...uxdriverproject.org
> http://driverdev.linuxdriverproject.org/mailman/listinfo/devel
>

-- 
Regards,
Denis
--
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