Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1675325
| From | Greg Kroah-Hartman <gregkh@linuxfoundation.org> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: 答复: [RFC PATCH] char: misc: Init misc->list in a safe way |
| Date | 2017-06-27 08:30 +0200 |
| Message-ID | <tWSaB-4ZW-7@gated-at.bofh.it> (permalink) |
| References | (2 earlier) <tWAGK-1PD-5@gated-at.bofh.it> <tWBju-2iS-57@gated-at.bofh.it> <tWD1U-3pT-11@gated-at.bofh.it> <tWD1T-3pT-9@gated-at.bofh.it> <tWO6Z-2cR-9@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail? A: No. Q: Should I include quotations after my reply? http://daringfireball.net/2007/07/on_top On Tue, Jun 27, 2017 at 02:02:13AM +0000, Zhongping Tan (谭中平) wrote: > Ok, firstly we need to discuss the list usage, for list head we need > do initialization, but for list node we don't need initialization at > all. I don't understand, why is your misc driver touching that field at all? Do I need to go and make it "private" somehow? > And for misc_list head, we use LIST_HEAD to define and initialize > it. So I don't know why we put INIT_LIST_HEAD(&misc->list) in function > misc_register, any bugs when without it? Again, what is wrong with the code today? What driver is this causing problems for? thanks, greg k-h
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[RFC PATCH] char: misc: Init misc->list in a safe way Orson Zhai <orson.zhai@spreadtrum.com> - 2017-06-26 11:40 +0200
Re: [RFC PATCH] char: misc: Init misc->list in a safe way Arnd Bergmann <arnd@arndb.de> - 2017-06-26 12:10 +0200
RE: [RFC PATCH] char: misc: Init misc->list in a safe way Zhongping Tan (谭中平) <Zhongping.Tan@spreadtrum.com> - 2017-06-26 13:50 +0200
Re: [RFC PATCH] char: misc: Init misc->list in a safe way Arnd Bergmann <arnd@arndb.de> - 2017-06-26 14:30 +0200
Re: 答复: [RFC PATCH] char: misc: Init misc->list in a safe way Arnd Bergmann <arnd@arndb.de> - 2017-06-26 16:20 +0200
RE: 答复: [RFC PATCH] char: misc: Init misc->list in a safe way Zhongping Tan (谭中平) <Zhongping.Tan@spreadtrum.com> - 2017-06-27 04:10 +0200
Re: 答复: [RFC PATCH] char: misc: Init misc->list in a safe way Greg Kroah-Hartman <gregkh@linuxfoundation.org> - 2017-06-27 08:30 +0200
Re: [RFC PATCH] char: misc: Init misc->list in a safe way Orson Zhai <orson.zhai@spreadtrum.com> - 2017-06-28 04:00 +0200
Re: [RFC PATCH] char: misc: Init misc->list in a safe way Greg Kroah-Hartman <gregkh@linuxfoundation.org> - 2017-06-28 07:20 +0200
Re: [RFC PATCH] char: misc: Init misc->list in a safe way Arnd Bergmann <arnd@arndb.de> - 2017-06-28 12:40 +0200
Re: [RFC PATCH] char: misc: Init misc->list in a safe way Greg Kroah-Hartman <gregkh@linuxfoundation.org> - 2017-06-28 13:30 +0200
Re: [RFC PATCH] char: misc: Init misc->list in a safe way Chunyan Zhang <zhang.lyra@gmail.com> - 2017-06-29 09:00 +0200
Re: [RFC PATCH] char: misc: Init misc->list in a safe way Greg Kroah-Hartman <gregkh@linuxfoundation.org> - 2017-06-29 09:10 +0200
Re: [RFC PATCH] char: misc: Init misc->list in a safe way Chunyan Zhang <zhang.lyra@gmail.com> - 2017-06-29 09:40 +0200
csiph-web