Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1721290

Re: [PATCH] Staging rtlwifi efuse fix up a warning kzalloc

From Dan Carpenter <dan.carpenter@oracle.com>
Newsgroups linux.kernel
Subject Re: [PATCH] Staging rtlwifi efuse fix up a warning kzalloc
Date 2017-08-28 10:40 +0200
Message-ID <ujnKr-3jU-45@gated-at.bofh.it> (permalink)
References <uiJ0C-1BI-19@gated-at.bofh.it> <uiKzo-2nK-7@gated-at.bofh.it> <uiLc5-2R7-5@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Yeah...  I reviewed this code to see where
rtlpriv->cfg->maps[EFUSE_HWSET_MAX_SIZE] gets set and if it can be
controlled by the user.

It looks to me like it's only set when we declare rtl8822be_hal_cfg in
drivers/staging/rtlwifi/rtl8822be/sw.c so it's fine. I think it should
probably be a big struct instead of an array.

regards,
dan carpenter

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH] Staging rtlwifi efuse fix up a warning kzalloc Yurii Pavlenko <pyldev@gmail.com> - 2017-08-26 15:10 +0200
  Re: [PATCH] Staging rtlwifi efuse fix up a warning kzalloc Larry Finger <Larry.Finger@lwfinger.net> - 2017-08-26 16:50 +0200
    Re: [PATCH] Staging rtlwifi efuse fix up a warning kzalloc Joe Perches <joe@perches.com> - 2017-08-26 17:30 +0200
      Re: [PATCH] Staging rtlwifi efuse fix up a warning kzalloc Dan Carpenter <dan.carpenter@oracle.com> - 2017-08-28 10:40 +0200

csiph-web