* [PATCH] Staging: wfx: Fix style issues with hif_rx.c
@ 2019-12-27 20:16 ` Matthew Hanzelik
0 siblings, 0 replies; 4+ messages in thread
From: Matthew Hanzelik @ 2019-12-27 20:16 UTC (permalink / raw)
To: jerome.pouiller, gregkh; +Cc: devel, linux-kernel
Fixes style issues with hif_rx.c.
Signed-off-by: Matthew Hanzelik <mrhanzelik@gmail.com>
---
drivers/staging/wfx/hif_rx.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/drivers/staging/wfx/hif_rx.c b/drivers/staging/wfx/hif_rx.c
index 820de216be0c..1da9a153dda0 100644
--- a/drivers/staging/wfx/hif_rx.c
+++ b/drivers/staging/wfx/hif_rx.c
@@ -76,7 +76,8 @@ static int hif_multi_tx_confirm(struct wfx_dev *wdev, struct hif_msg *hif,
void *buf)
{
struct hif_cnf_multi_transmit *body = buf;
- struct hif_cnf_tx *buf_loc = (struct hif_cnf_tx *) &body->tx_conf_payload;
+ struct hif_cnf_tx *buf_loc = (struct hif_cnf_tx *)
+ &body->tx_conf_payload;
struct wfx_vif *wvif = wdev_to_wvif(wdev, hif->interface);
int count = body->num_tx_confs;
int i;
@@ -302,6 +303,7 @@ static int hif_exception_indication(struct wfx_dev *wdev,
struct hif_msg *hif, void *buf)
{
size_t len = hif->len - 4; // drop header
+
dev_err(wdev->dev, "firmware exception\n");
print_hex_dump_bytes("Dump: ", DUMP_PREFIX_NONE, buf, len);
wdev->chip_frozen = 1;
--
2.24.1
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [PATCH] Staging: wfx: Fix style issues with hif_rx.c
@ 2019-12-27 20:16 ` Matthew Hanzelik
0 siblings, 0 replies; 4+ messages in thread
From: Matthew Hanzelik @ 2019-12-27 20:16 UTC (permalink / raw)
To: jerome.pouiller, gregkh; +Cc: devel, linux-kernel
Fixes style issues with hif_rx.c.
Signed-off-by: Matthew Hanzelik <mrhanzelik@gmail.com>
---
drivers/staging/wfx/hif_rx.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/drivers/staging/wfx/hif_rx.c b/drivers/staging/wfx/hif_rx.c
index 820de216be0c..1da9a153dda0 100644
--- a/drivers/staging/wfx/hif_rx.c
+++ b/drivers/staging/wfx/hif_rx.c
@@ -76,7 +76,8 @@ static int hif_multi_tx_confirm(struct wfx_dev *wdev, struct hif_msg *hif,
void *buf)
{
struct hif_cnf_multi_transmit *body = buf;
- struct hif_cnf_tx *buf_loc = (struct hif_cnf_tx *) &body->tx_conf_payload;
+ struct hif_cnf_tx *buf_loc = (struct hif_cnf_tx *)
+ &body->tx_conf_payload;
struct wfx_vif *wvif = wdev_to_wvif(wdev, hif->interface);
int count = body->num_tx_confs;
int i;
@@ -302,6 +303,7 @@ static int hif_exception_indication(struct wfx_dev *wdev,
struct hif_msg *hif, void *buf)
{
size_t len = hif->len - 4; // drop header
+
dev_err(wdev->dev, "firmware exception\n");
print_hex_dump_bytes("Dump: ", DUMP_PREFIX_NONE, buf, len);
wdev->chip_frozen = 1;
--
2.24.1
_______________________________________________
devel mailing list
devel@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH] Staging: wfx: Fix style issues with hif_rx.c
2019-12-27 20:16 ` Matthew Hanzelik
@ 2019-12-27 22:30 ` Greg KH
-1 siblings, 0 replies; 4+ messages in thread
From: Greg KH @ 2019-12-27 22:30 UTC (permalink / raw)
To: Matthew Hanzelik; +Cc: jerome.pouiller, devel, linux-kernel
On Fri, Dec 27, 2019 at 03:16:56PM -0500, Matthew Hanzelik wrote:
> Fixes style issues with hif_rx.c.
Please be specific as to _what_ you did, this is pretty vague :(
thanks,
greg k-h
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] Staging: wfx: Fix style issues with hif_rx.c
@ 2019-12-27 22:30 ` Greg KH
0 siblings, 0 replies; 4+ messages in thread
From: Greg KH @ 2019-12-27 22:30 UTC (permalink / raw)
To: Matthew Hanzelik; +Cc: devel, linux-kernel
On Fri, Dec 27, 2019 at 03:16:56PM -0500, Matthew Hanzelik wrote:
> Fixes style issues with hif_rx.c.
Please be specific as to _what_ you did, this is pretty vague :(
thanks,
greg k-h
_______________________________________________
devel mailing list
devel@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2019-12-27 22:31 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-12-27 20:16 [PATCH] Staging: wfx: Fix style issues with hif_rx.c Matthew Hanzelik
2019-12-27 20:16 ` Matthew Hanzelik
2019-12-27 22:30 ` Greg KH
2019-12-27 22:30 ` Greg KH
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.