From: Dan Carpenter <dan.carpenter@oracle.com>
To: kernel-janitors@vger.kernel.org
Subject: Re: [PATCH 3/4] drivers/staging/vt6656/iocmd.h: Removed ttype.h and
Date: Fri, 04 Nov 2011 11:07:13 +0000 [thread overview]
Message-ID: <20111104110713.GN4682@mwanda> (raw)
In-Reply-To: <CAGkUK2tYVKSawyp47bs2d8U1D=EKzBk216RLP-OC5P0e=VcNjw@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 1443 bytes --]
This patch was mangled by your mail client. Read
Documentation/email-clients.txt, send the patch to yourself. Verify
that it applies and then resend.
On Fri, Nov 04, 2011 at 07:10:56AM -0300, Marcos Souza wrote:
> I forgot to sent these patches, so I'm sending now
>
> Removed comments about functions/veriables static and stuff like these.
variables
Normally, we don't comment too much on changelog spelling but since
you're going to resend this anyway, could you fix the typo there?
> @@ -123,18 +115,16 @@ typedef struct tagSCmdBSSJoin {
> u16 wBBPType;
> u8 ssid[SSID_MAXLEN + 2];
> u32 uChannel;
> - BOOL bPSEnable;
> - BOOL bShareKeyAuth;
> + int bPSEnable;
> + int bShareKeyAuth;
These should be bool. Obviously in the original code, BOOL was
defined as int and changing it has the potential to break things so
it needs care. You would need to look at all the places where
bPSEnable is used and verify that it works for type "bool". Use grep
or cscope. If you don't feel comfortable doing that, then I would
leave it as is for now.
> - BOOL bWrite;
> + int bWrite;
Same thing for all the other places as well.
Some people might complain that this patch does too many things in
a single patch. Maybe break out the white space changes from the
other changes.
regards,
dan carpenter
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 836 bytes --]
next prev parent reply other threads:[~2011-11-04 11:07 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-11-04 10:10 [PATCH 3/4] drivers/staging/vt6656/iocmd.h: Removed ttype.h and some Marcos Souza
2011-11-04 11:07 ` Dan Carpenter [this message]
2011-11-04 11:34 ` [PATCH 3/4] drivers/staging/vt6656/iocmd.h: Removed ttype.h and Marcos Souza
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20111104110713.GN4682@mwanda \
--to=dan.carpenter@oracle.com \
--cc=kernel-janitors@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox