[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <z5l3dfardxqrwf2lzzpktuifqaxvv2clrgah5gnz4t6iphskeb@otrcl5cwyghx>
Date: Tue, 7 May 2024 19:46:51 -0400
From: Lars Kellogg-Stedman <lars@...bit.com>
To: Duoming Zhou <duoming@....edu.cn>
Cc: netdev@...r.kernel.org, linux-kernel@...r.kernel.org,
linux-hams@...r.kernel.org, pabeni@...hat.com, kuba@...nel.org, edumazet@...gle.com,
jreuter@...na.de, dan.carpenter@...aro.org
Subject: Re: [PATCH net v5 1/4] ax25: Use kernel universal linked list to
implement ax25_dev_list
On Tue, May 07, 2024 at 03:43:11PM GMT, Lars Kellogg-Stedman wrote:
> On Tue, May 07, 2024 at 03:03:39PM GMT, Duoming Zhou wrote:
> > typedef struct ax25_dev {
> > - struct ax25_dev *next;
> > + struct list_head list;
>
> Would it make sense to replace this with:
>
> LIST_HEAD(ax25_dev_list);
Sorry, *this*:
> +static struct list_head ax25_dev_list;
--
Lars Kellogg-Stedman <lars@...bit.com> | larsks @ {irc,twitter,github}
http://blog.oddbit.com/ | N1LKS
Powered by blists - more mailing lists