All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Toke Høiland-Jørgensen" <toke@toke.dk>
To: Sergey Matyukevich <sergey.matyukevich.os@quantenna.com>
Cc: linux-wireless@vger.kernel.org,
	Igor Mitsyanko <igor.mitsyanko.os@quantenna.com>
Subject: Re: [PATCH v2 1/3] wireless-drivers: Dynamically allocate struct station_info
Date: Thu, 10 May 2018 11:11:41 +0200	[thread overview]
Message-ID: <87in7vyiwi.fsf@toke.dk> (raw)
In-Reply-To: <20180510085052.oscm2ezf4k6p2kwf@bars>

Sergey Matyukevich <sergey.matyukevich.os@quantenna.com> writes:

> Hello Toke and all,
>
>> Since the addition of the TXQ stats to cfg80211, the station_info struct
>> has grown to be quite large, which results in warnings when allocated on
>> the stack. Fix the affected places to do dynamic allocations instead.
>>=20
>> Fixes: 52539ca89f36 ("cfg80211: Expose TXQ stats and parameters to users=
pace")
>> Signed-off-by: Toke H=C3=B8iland-J=C3=B8rgensen <toke@toke.dk>
>> ---
>>  drivers/net/wireless/ath/ath6kl/main.c             |   14 ++++++----
>>  drivers/net/wireless/ath/wil6210/debugfs.c         |   22 ++++++++++---=
--
>>  drivers/net/wireless/ath/wil6210/wmi.c             |   19 ++++++++-----
>>  .../broadcom/brcm80211/brcmfmac/cfg80211.c         |   18 ++++++++----
>>  drivers/net/wireless/marvell/mwifiex/uap_event.c   |   25 +++++++++++--=
----
>>  drivers/net/wireless/quantenna/qtnfmac/event.c     |   29 +++++++++++++=
-------
>>  6 files changed, 82 insertions(+), 45 deletions(-)
>
> Thanks for taking care of this. As for qtnfmac part, there are two
> more EINVALs returned during payload processing. So they should be
> modified as well to avoid memleaks. Here is a fixup on top of your
> patch:

Ah yes, so there is; guess I missed those. Thanks for noticing! I'll
fold in your changes and resend :)

-Toke

      reply	other threads:[~2018-05-10  9:11 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-05-09 21:41 [PATCH v2 1/3] wireless-drivers: Dynamically allocate struct station_info Toke Høiland-Jørgensen
2018-05-09 21:41 ` [PATCH v2 2/3] staging: " Toke Høiland-Jørgensen
2018-05-09 21:41 ` [PATCH v2 3/3] net: " Toke Høiland-Jørgensen
2018-05-10  8:50 ` [PATCH v2 1/3] wireless-drivers: " Sergey Matyukevich
2018-05-10  9:11   ` Toke Høiland-Jørgensen [this message]

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=87in7vyiwi.fsf@toke.dk \
    --to=toke@toke.dk \
    --cc=igor.mitsyanko.os@quantenna.com \
    --cc=linux-wireless@vger.kernel.org \
    --cc=sergey.matyukevich.os@quantenna.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 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.