From: "Bjørn Mork" <bjorn@mork.no>
To: Mauro Carvalho Chehab <mchehab@redhat.com>
Cc: Linux Media Mailing List <linux-media@vger.kernel.org>
Subject: Re: [PATCH 4/6] siano: remove the remaining CamelCase compliants
Date: Thu, 21 Mar 2013 14:18:11 +0100 [thread overview]
Message-ID: <87d2usj3ho.fsf@nemi.mork.no> (raw)
In-Reply-To: <1363870963-28552-4-git-send-email-mchehab@redhat.com> (Mauro Carvalho Chehab's message of "Thu, 21 Mar 2013 10:02:41 -0300")
Mauro Carvalho Chehab <mchehab@redhat.com> writes:
> Remove the remaining CamelCase checkpatch.pl compliants.
> There are still a few left, but those are due to USB and
> DVB APIs.
[..]
> @@ -840,31 +840,31 @@ int smscore_configure_board(struct smscore_device_t *coredev)
> }
>
> if (board->mtu) {
> - struct sms_msg_data MtuMsg;
> + struct sms_msg_data mtu_msg;
> sms_debug("set max transmit unit %d", board->mtu);
>
> - MtuMsg.x_msg_header.msg_src_id = 0;
> - MtuMsg.x_msg_header.msg_dst_id = HIF_TASK;
> - MtuMsg.x_msg_header.msg_flags = 0;
> - MtuMsg.x_msg_header.msg_type = MSG_SMS_SET_MAX_TX_MSG_LEN_REQ;
> - MtuMsg.x_msg_header.msg_length = sizeof(MtuMsg);
> - MtuMsg.msgData[0] = board->mtu;
> + mtu_msg.x_msg_header.msg_src_id = 0;
> + mtu_msg.x_msg_header.msg_dst_id = HIF_TASK;
> + mtu_msg.x_msg_header.msg_flags = 0;
> + mtu_msg.x_msg_header.msg_type = MSG_SMS_SET_MAX_TX_MSG_LEN_REQ;
> + mtu_msg.x_msg_header.msg_length = sizeof(mtu_msg);
> + mtu_msg.msg_data[0] = board->mtu;
>
Ah, right. Why don't you just squash patch 1 and 4 together, reducing
the set with about the size of patch 4, and making all this somewhat
more meaningful?
Tounching the exact same lines twice in the same patchset, doing the
exact same type of cleanup, does *not* help review.
Bjørn
next prev parent reply other threads:[~2013-03-21 13:18 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-03-21 13:02 [PATCH 1/6] siano: get rid of CammelCase from smscoreapi.h Mauro Carvalho Chehab
2013-03-21 13:02 ` [PATCH 2/6] siano: convert structure names to lowercase Mauro Carvalho Chehab
2013-03-21 13:02 ` [PATCH 3/6] [siano] fix checkpatch.pl compliants on smscoreapi.h Mauro Carvalho Chehab
2013-03-21 13:02 ` [PATCH 4/6] siano: remove the remaining CamelCase compliants Mauro Carvalho Chehab
2013-03-21 13:18 ` Bjørn Mork [this message]
2013-03-21 13:24 ` Mauro Carvalho Chehab
2013-03-21 13:02 ` [PATCH 5/6] siano: Fix the remaining checkpatch.pl compliants Mauro Carvalho Chehab
2013-03-21 13:02 ` [PATCH 6/6] siano: make some functions static Mauro Carvalho Chehab
2013-03-21 13:10 ` [PATCH 1/6] siano: get rid of CammelCase from smscoreapi.h Bjørn Mork
2013-03-21 13:20 ` Mauro Carvalho Chehab
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=87d2usj3ho.fsf@nemi.mork.no \
--to=bjorn@mork.no \
--cc=linux-media@vger.kernel.org \
--cc=mchehab@redhat.com \
/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;
as well as URLs for NNTP newsgroup(s).