From: Chunfeng Yun <chunfeng.yun@mediatek.com>
To: Felipe Balbi <balbi@kernel.org>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
Matthias Brugger <matthias.bgg@gmail.com>,
Florian Fainelli <f.fainelli@gmail.com>,
Chunfeng Yun <chunfeng.yun@mediatek.com>,
Al Cooper <alcooperx@gmail.com>,
Sasi Kumar <sasi.kumar@broadcom.com>,
Nathan Chancellor <natechancellor@gmail.com>,
Colin Ian King <colin.king@canonical.com>,
<linux-usb@vger.kernel.org>, <linux-kernel@vger.kernel.org>,
<linux-arm-kernel@lists.infradead.org>,
<linux-mediatek@lists.infradead.org>
Subject: [PATCH RESEND v3 09/11] usb: gadget: bdc: fix checkpatch.pl tab warning
Date: Fri, 25 Sep 2020 14:01:40 +0800 [thread overview]
Message-ID: <1601013702-29079-8-git-send-email-chunfeng.yun@mediatek.com> (raw)
In-Reply-To: <1601013702-29079-1-git-send-email-chunfeng.yun@mediatek.com>
WARNING:SUSPECT_CODE_INDENT: suspect code indent for conditional statements
WARNING:TABSTOP: Statements should start on a tabstop
Cc: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: Chunfeng Yun <chunfeng.yun@mediatek.com>
Acked-by: Florian Fainelli <f.fainelli@gmail.com>
---
v3: add acked-by Florian
v2: add Cc Florian
---
drivers/usb/gadget/udc/bdc/bdc_cmd.c | 2 +-
drivers/usb/gadget/udc/bdc/bdc_ep.c | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/usb/gadget/udc/bdc/bdc_cmd.c b/drivers/usb/gadget/udc/bdc/bdc_cmd.c
index 44c2a5e..995f79c 100644
--- a/drivers/usb/gadget/udc/bdc/bdc_cmd.c
+++ b/drivers/usb/gadget/udc/bdc/bdc_cmd.c
@@ -163,7 +163,7 @@ int bdc_config_ep(struct bdc *bdc, struct bdc_ep *ep)
usb_endpoint_xfer_isoc(desc)) {
param2 |= si;
if (usb_endpoint_xfer_isoc(desc) && comp_desc)
- mul = comp_desc->bmAttributes;
+ mul = comp_desc->bmAttributes;
}
param2 |= mul << EPM_SHIFT;
diff --git a/drivers/usb/gadget/udc/bdc/bdc_ep.c b/drivers/usb/gadget/udc/bdc/bdc_ep.c
index 3fb36c8..d227d26 100644
--- a/drivers/usb/gadget/udc/bdc/bdc_ep.c
+++ b/drivers/usb/gadget/udc/bdc/bdc_ep.c
@@ -275,7 +275,7 @@ static inline int find_end_bdi(struct bdc_ep *ep, int next_hwd_bdi)
end_bdi = next_hwd_bdi - 1;
if (end_bdi < 0)
end_bdi = ep->bd_list.max_bdi - 1;
- else if ((end_bdi % (ep->bd_list.num_bds_table-1)) == 0)
+ else if ((end_bdi % (ep->bd_list.num_bds_table-1)) == 0)
end_bdi--;
return end_bdi;
@@ -795,7 +795,7 @@ static int ep_dequeue(struct bdc_ep *ep, struct bdc_req *req)
start_pending = true;
end_pending = true;
} else if (end_bdi >= curr_hw_dqpi || end_bdi <= eqp_bdi) {
- end_pending = true;
+ end_pending = true;
}
} else {
if (start_bdi >= curr_hw_dqpi) {
--
1.9.1
next prev parent reply other threads:[~2020-09-25 6:04 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-09-25 6:01 [PATCH RESEND v3 02/11] usb: gadget: bdc: remove bdc_ep_set_halt() declaration Chunfeng Yun
2020-09-25 6:01 ` [PATCH RESEND v3 03/11] usb: gadget: bdc: prefer pointer dereference to pointer type Chunfeng Yun
2020-09-25 6:01 ` [PATCH RESEND v3 04/11] usb: gadget: bdc: fix warning of embedded function name Chunfeng Yun
2020-09-25 6:01 ` [PATCH RESEND v3 05/11] usb: gadget: bdc: fix check warning of block comments alignment Chunfeng Yun
2020-09-25 6:01 ` [PATCH RESEND v3 06/11] usb: gadget: bdc: add identifier name for function declaraion Chunfeng Yun
2020-09-25 6:01 ` [PATCH RESEND v3 07/11] usb: gadget: bdc: avoid precedence issues Chunfeng Yun
2020-09-25 6:01 ` [PATCH RESEND v3 08/11] usb: gadget: bdc: use the BIT macro to define bit filed Chunfeng Yun
2020-09-25 6:01 ` Chunfeng Yun [this message]
2020-09-25 6:01 ` [PATCH RESEND v3 10/11] usb: gadget: bdc: fix checkpatch.pl spacing error Chunfeng Yun
2020-09-25 6:01 ` [PATCH RESEND v3 11/11] usb: gadget: bdc: fix checkpatch.pl repeated word warning Chunfeng Yun
2020-09-25 6:12 ` [PATCH RESEND v3 02/11] usb: gadget: bdc: remove bdc_ep_set_halt() declaration Chunfeng Yun
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=1601013702-29079-8-git-send-email-chunfeng.yun@mediatek.com \
--to=chunfeng.yun@mediatek.com \
--cc=alcooperx@gmail.com \
--cc=balbi@kernel.org \
--cc=colin.king@canonical.com \
--cc=f.fainelli@gmail.com \
--cc=gregkh@linuxfoundation.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mediatek@lists.infradead.org \
--cc=linux-usb@vger.kernel.org \
--cc=matthias.bgg@gmail.com \
--cc=natechancellor@gmail.com \
--cc=sasi.kumar@broadcom.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).