* [PATCH 1/4] drivers/staging/vt6656/wpa2.h: Removed ttype.h and some
@ 2011-11-04 10:09 Marcos Souza
2011-11-04 10:54 ` [PATCH 1/4] drivers/staging/vt6656/wpa2.h: Removed ttype.h and Dan Carpenter
0 siblings, 1 reply; 2+ messages in thread
From: Marcos Souza @ 2011-11-04 10:09 UTC (permalink / raw)
To: kernel-janitors
So, I forgot to include kernels janitors on theses patches, so, forwarding...
Removed some old comments and removed ttype.h of the file.
Signed-off-by: Marcos Paulo de Souza <marcos.mage@gmail.com>
---
drivers/staging/vt6656/wpa2.h | 20 +++++---------------
1 files changed, 5 insertions(+), 15 deletions(-)
diff --git a/drivers/staging/vt6656/wpa2.h b/drivers/staging/vt6656/wpa2.h
index 46c2959..de80801 100644
--- a/drivers/staging/vt6656/wpa2.h
+++ b/drivers/staging/vt6656/wpa2.h
@@ -31,33 +31,23 @@
#ifndef __WPA2_H__
#define __WPA2_H__
-#include "ttype.h"
#include "80211mgr.h"
#include "80211hdr.h"
#include "bssdb.h"
-/*--------------------- Export Definitions -------------------------*/
-#define MAX_PMKID_CACHE 16
+#define MAX_PMKID_CACHE 16
typedef struct tagsPMKIDInfo {
- BYTE abyBSSID[6];
- BYTE abyPMKID[16];
+ unsigned char abyBSSID[6];
+ unsigned char abyPMKID[16];
} PMKIDInfo, *PPMKIDInfo;
typedef struct tagSPMKIDCache {
- unsigned long BSSIDInfoCount;
- PMKIDInfo BSSIDInfo[MAX_PMKID_CACHE];
+ unsigned long BSSIDInfoCount;
+ PMKIDInfo BSSIDInfo[MAX_PMKID_CACHE];
} SPMKIDCache, *PSPMKIDCache;
-/*--------------------- Export Classes ----------------------------*/
-
-/*--------------------- Export Variables --------------------------*/
-
-/*--------------------- Export Types ------------------------------*/
-
-/*--------------------- Export Functions --------------------------*/
-
void WPA2_ClearRSN(PKnownBSS pBSSNode);
void WPA2vParseRSN(PKnownBSS pBSSNode, PWLAN_IE_RSN pRSN);
--
1.7.4.4
--
Marcos Paulo de Souza
*Porque uma vida sem desafios é uma vida sem razão.*
--
To unsubscribe from this list: send the line "unsubscribe kernel-janitors" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH 1/4] drivers/staging/vt6656/wpa2.h: Removed ttype.h and
2011-11-04 10:09 [PATCH 1/4] drivers/staging/vt6656/wpa2.h: Removed ttype.h and some Marcos Souza
@ 2011-11-04 10:54 ` Dan Carpenter
0 siblings, 0 replies; 2+ messages in thread
From: Dan Carpenter @ 2011-11-04 10:54 UTC (permalink / raw)
To: kernel-janitors
[-- Attachment #1: Type: text/plain, Size: 1389 bytes --]
On Fri, Nov 04, 2011 at 07:09:07AM -0300, Marcos Souza wrote:
> So, I forgot to include kernels janitors on theses patches, so, forwarding...
>
These should go to what the get_maintainer.pl script says.
./scripts/get_maintainer.pl -f drivers/staging/vt6656/wpa2.h
Don't include linux-kernel though, they don't care about white space
fixes.
Why are you removing the "ttype.h" include? I'm not saying you're
wrong to do that, but you should explain that in the change log. Is
the ttype.h file not needed anymore or something?
Also don't put "So, I forgot to include kernels janitors on theses
patches, so, forwarding..." in the changelog part of the email. How
maintainers apply patches is that they save the raw text of the email
and then cat raw_email.txt | git am. Those kind of comments should
go after the --- and before the diff where I've marked below. git am
ignores the stuff there.
> Removed some old comments and removed ttype.h of the file.
>
> Signed-off-by: Marcos Paulo de Souza <marcos.mage@gmail.com>
> ---
^^^
Put extra comments here, below those three dashes.
> typedef struct tagsPMKIDInfo {
> - BYTE abyBSSID[6];
> - BYTE abyPMKID[16];
> + unsigned char abyBSSID[6];
> + unsigned char abyPMKID[16];
It's not a big deal either way, but normally people would use "u8"
here.
regards,
dan carpenter
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 836 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-11-04 10:54 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-11-04 10:09 [PATCH 1/4] drivers/staging/vt6656/wpa2.h: Removed ttype.h and some Marcos Souza
2011-11-04 10:54 ` [PATCH 1/4] drivers/staging/vt6656/wpa2.h: Removed ttype.h and Dan Carpenter
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox