Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1256705 > unrolled thread

[PATCH 2/2] drivers:staging:wlan_ng Fix no space is necessary after a cast

Started byBogicevic Sasa <brutallesale@gmail.com>
First post2015-10-27 12:30 +0100
Last post2015-10-28 06:50 +0100
Articles 5 — 4 participants

Back to article view | Back to linux.kernel


Contents

  [PATCH 2/2] drivers:staging:wlan_ng Fix no space is necessary after a cast Bogicevic Sasa <brutallesale@gmail.com> - 2015-10-27 12:30 +0100
    Re: [PATCH 2/2] drivers:staging:wlan_ng Fix no space is necessary  after a cast Albino B Neto <bino@bino.us> - 2015-10-27 13:10 +0100
      Re: [PATCH 2/2] drivers:staging:wlan_ng Fix no space is necessary  after a cast Greg KH <gregkh@linuxfoundation.org> - 2015-10-27 20:50 +0100
        Re: [PATCH 2/2] drivers:staging:wlan_ng Fix no space is necessary  after a cast Bogicevic Sasa <brutallesale@gmail.com> - 2015-10-27 23:30 +0100
          Re: [PATCH 2/2] drivers:staging:wlan_ng Fix no space is necessary  after a cast Sudip Mukherjee <sudipm.mukherjee@gmail.com> - 2015-10-28 06:50 +0100

#1256705 — [PATCH 2/2] drivers:staging:wlan_ng Fix no space is necessary after a cast

FromBogicevic Sasa <brutallesale@gmail.com>
Date2015-10-27 12:30 +0100
Subject[PATCH 2/2] drivers:staging:wlan_ng Fix no space is necessary after a cast
Message-ID<qoaBX-4AM-7@gated-at.bofh.it>
This fixes "No space is necessary after a cast" messages from
checkpatch.pl

Signed-off-by: Bogicevic Sasa <brutallesale@gmail.com>
---
 drivers/staging/wlan-ng/prism2usb.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/drivers/staging/wlan-ng/prism2usb.c b/drivers/staging/wlan-ng/prism2usb.c
index 9167f6e..1485c00 100644
--- a/drivers/staging/wlan-ng/prism2usb.c
+++ b/drivers/staging/wlan-ng/prism2usb.c
@@ -6,7 +6,7 @@
 
 #define PRISM_DEV(vid, pid, name)		\
 	{ USB_DEVICE(vid, pid),			\
-	.driver_info = (unsigned long) name }
+	.driver_info = (unsigned long)name }
 
 static struct usb_device_id usb_prism_tbl[] = {
 	PRISM_DEV(0x04bb, 0x0922, "IOData AirPort WN-B11/USBS"),
@@ -142,7 +142,7 @@ static void prism2sta_disconnect_usb(struct usb_interface *interface)
 {
 	wlandevice_t *wlandev;
 
-	wlandev = (wlandevice_t *) usb_get_intfdata(interface);
+	wlandev = (wlandevice_t *)usb_get_intfdata(interface);
 	if (wlandev != NULL) {
 		LIST_HEAD(cleanlist);
 		struct list_head *entry;
@@ -237,7 +237,7 @@ static int prism2sta_suspend(
 	hfa384x_t *hw = NULL;
 	wlandevice_t *wlandev;
 
-	wlandev = (wlandevice_t *) usb_get_intfdata(interface);
+	wlandev = (wlandevice_t *)usb_get_intfdata(interface);
 	if (!wlandev)
 		return -ENODEV;
 
@@ -260,7 +260,7 @@ static int prism2sta_resume(struct usb_interface *interface)
 	hfa384x_t *hw = NULL;
 	wlandevice_t *wlandev;
 
-	wlandev = (wlandevice_t *) usb_get_intfdata(interface);
+	wlandev = (wlandevice_t *)usb_get_intfdata(interface);
 	if (!wlandev)
 		return -ENODEV;
 
-- 
1.9.1

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

[toc] | [next] | [standalone]


#1256719 — Re: [PATCH 2/2] drivers:staging:wlan_ng Fix no space is necessary after a cast

FromAlbino B Neto <bino@bino.us>
Date2015-10-27 13:10 +0100
SubjectRe: [PATCH 2/2] drivers:staging:wlan_ng Fix no space is necessary after a cast
Message-ID<qobeG-53s-15@gated-at.bofh.it>
In reply to#1256705
2015-10-27 9:24 GMT-02:00 Bogicevic Sasa <brutallesale@gmail.com>:
> This fixes "No space is necessary after a cast" messages from
> checkpatch.pl
>
> Signed-off-by: Bogicevic Sasa <brutallesale@gmail.com>

Tips for read: https://www.kernel.org/doc/Documentation/CodingStyle

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

[toc] | [prev] | [next] | [standalone]


#1257164 — Re: [PATCH 2/2] drivers:staging:wlan_ng Fix no space is necessary after a cast

FromGreg KH <gregkh@linuxfoundation.org>
Date2015-10-27 20:50 +0100
SubjectRe: [PATCH 2/2] drivers:staging:wlan_ng Fix no space is necessary after a cast
Message-ID<qoipQ-Py-9@gated-at.bofh.it>
In reply to#1256719
On Tue, Oct 27, 2015 at 09:35:35AM -0200, Albino B Neto wrote:
> 2015-10-27 9:24 GMT-02:00 Bogicevic Sasa <brutallesale@gmail.com>:
> > This fixes "No space is necessary after a cast" messages from
> > checkpatch.pl
> >
> > Signed-off-by: Bogicevic Sasa <brutallesale@gmail.com>
> 
> Tips for read: https://www.kernel.org/doc/Documentation/CodingStyle

What does that mean?  What is wrong with this patch?
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[toc] | [prev] | [next] | [standalone]


#1257432 — Re: [PATCH 2/2] drivers:staging:wlan_ng Fix no space is necessary after a cast

FromBogicevic Sasa <brutallesale@gmail.com>
Date2015-10-27 23:30 +0100
SubjectRe: [PATCH 2/2] drivers:staging:wlan_ng Fix no space is necessary after a cast
Message-ID<qokUG-2vz-5@gated-at.bofh.it>
In reply to#1257164
It should be fine, I meant in a sence nothing is accepted from me yet
On 10/28, Greg KH wrote:
>On Tue, Oct 27, 2015 at 09:35:35AM -0200, Albino B Neto wrote:
>> 2015-10-27 9:24 GMT-02:00 Bogicevic Sasa <brutallesale@gmail.com>:
>> > This fixes "No space is necessary after a cast" messages from
>> > checkpatch.pl
>> >
>> > Signed-off-by: Bogicevic Sasa <brutallesale@gmail.com>
>>
>> Tips for read: https://www.kernel.org/doc/Documentation/CodingStyle
>
>What does that mean?  What is wrong with this patch?
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[toc] | [prev] | [next] | [standalone]


#1257684 — Re: [PATCH 2/2] drivers:staging:wlan_ng Fix no space is necessary after a cast

FromSudip Mukherjee <sudipm.mukherjee@gmail.com>
Date2015-10-28 06:50 +0100
SubjectRe: [PATCH 2/2] drivers:staging:wlan_ng Fix no space is necessary after a cast
Message-ID<qorMu-6X9-15@gated-at.bofh.it>
In reply to#1257432
On Tue, Oct 27, 2015 at 11:26:48PM +0100, Bogicevic Sasa wrote:
> It should be fine, I meant in a sence nothing is accepted from me yet

It doesnot generate any warning in my setup.
And please donot top post while replying.

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

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web