lkml.org 
[lkml]   [2018]   [May]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH 1/4] arcnet: com20020: Add com20020 io mapped version
From
From: Andrea Greco <andrea.greco.gapmilano@gmail.com>
Date: Thu, 17 May 2018 15:05:29 +0200

> + /* Will be set by userspace during if setup */
> + dev->dev_addr[0] = 0;

Hmmm... really?

Also, every error path from this point forward will leak 'dev'.

\
 
 \ /
  Last update: 2018-05-17 22:31    [W:0.090 / U:5.252 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site