lkml.org 
[lkml]   [2021]   [Nov]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v2 1/2] mwifiex: Use a define for firmware version string length
On Wed, Nov 03, 2021 at 02:55:28PM +0100, Jonas Dreßler wrote:
> Since the version string we get from the firmware is always 128
> characters long, use a define for this size instead of having the number
> 128 copied all over the place.

Just answered to the previous one :-) Okay, you may ignore that thread
since you did what you and I were talking about.

...

> + sizeof(char) * MWIFIEX_VERSION_STR_LENGTH);

While at it, drop the redundant sizeof().

--
With Best Regards,
Andy Shevchenko


\
 
 \ /
  Last update: 2021-11-03 15:18    [W:0.087 / U:0.104 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site