[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <9f7b9736-e67e-19fb-0f7b-6ee6735d5d13@gmail.com>
Date: Sat, 8 Jan 2022 16:21:01 +0300
From: Pavel Skripkin <paskripkin@...il.com>
To: alex.aring@...il.com, davem@...emloft.net, kuba@...nel.org
Cc: linux-wpan@...r.kernel.org, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH -next v2] ieee802154: atusb: move to new USB API
On 1/8/22 16:18, Pavel Skripkin wrote:
> Old USB API is prone to uninit value bugs if error handling is not
> correct. Let's move atusb to use new USB API to
>
> 1) Make code more simple, since new API does not require memory
> to be allocates via kmalloc()
>
> 2) Defend driver from usb-related uninit value bugs.
>
> 3) Make code more modern and simple
>
> This patch removes atusb usb wrappers as Greg suggested [0], this will make
> code more obvious and easier to understand over time, and replaces old
> API calls with new ones.
>
> Also this patch adds and updates usb related error handling to prevent
> possible uninit value bugs in future
>
> Link: https://lore.kernel.org/all/YdL0GPxy4TdGDzOO@kroah.com/ [0]
> Signed-off-by: Pavel Skripkin <paskripkin@...il.com>
Please, ignore this one.
Typo in git send-email args caused this email to be send in wrong thread
and missed Stefan in CC list.
With regards,
Pavel Skripkin
Powered by blists - more mailing lists