Re: [PATCH] mm: util: update the kerneldoc for kstrdup_const()

2020-06-30 Thread Joe Perches
On Tue, 2020-06-30 at 16:36 +0200, David Hildenbrand wrote: > On 30.06.20 16:14, Joe Perches wrote: > > On Tue, 2020-06-30 at 10:57 +0200, David Hildenbrand wrote: > > > On 29.06.20 21:21, Joe Perches wrote: > > > > On Mon, 2020-06-29 at 12:54 +0200, David Hildenbrand wrote: > > > > > On 28.06.20

Re: [PATCH] mm: util: update the kerneldoc for kstrdup_const()

2020-06-30 Thread David Hildenbrand
On 30.06.20 16:14, Joe Perches wrote: > On Tue, 2020-06-30 at 10:57 +0200, David Hildenbrand wrote: >> On 29.06.20 21:21, Joe Perches wrote: >>> On Mon, 2020-06-29 at 12:54 +0200, David Hildenbrand wrote: On 28.06.20 19:37, Joe Perches wrote: > On Sun, 2020-06-28 at 17:25 +0200, Bartosz

Re: [PATCH] mm: util: update the kerneldoc for kstrdup_const()

2020-06-30 Thread Joe Perches
On Tue, 2020-06-30 at 10:57 +0200, David Hildenbrand wrote: > On 29.06.20 21:21, Joe Perches wrote: > > On Mon, 2020-06-29 at 12:54 +0200, David Hildenbrand wrote: > > > On 28.06.20 19:37, Joe Perches wrote: > > > > On Sun, 2020-06-28 at 17:25 +0200, Bartosz Golaszewski wrote: > > > > > From:

Re: [PATCH] mm: util: update the kerneldoc for kstrdup_const()

2020-06-30 Thread David Hildenbrand
On 29.06.20 21:21, Joe Perches wrote: > On Mon, 2020-06-29 at 12:54 +0200, David Hildenbrand wrote: >> On 28.06.20 19:37, Joe Perches wrote: >>> On Sun, 2020-06-28 at 17:25 +0200, Bartosz Golaszewski wrote: From: Bartosz Golaszewski Memory allocated with kstrdup_const() must not be

Re: [PATCH] mm: util: update the kerneldoc for kstrdup_const()

2020-06-29 Thread Joe Perches
On Mon, 2020-06-29 at 12:54 +0200, David Hildenbrand wrote: > On 28.06.20 19:37, Joe Perches wrote: > > On Sun, 2020-06-28 at 17:25 +0200, Bartosz Golaszewski wrote: > > > From: Bartosz Golaszewski > > > > > > Memory allocated with kstrdup_const() must not be passed to regular > > > krealloc()

Re: [PATCH] mm: util: update the kerneldoc for kstrdup_const()

2020-06-29 Thread David Hildenbrand
On 28.06.20 19:37, Joe Perches wrote: > On Sun, 2020-06-28 at 17:25 +0200, Bartosz Golaszewski wrote: >> From: Bartosz Golaszewski >> >> Memory allocated with kstrdup_const() must not be passed to regular >> krealloc() as it is not aware of the possibility of the chunk residing >> in .rodata.

Re: [PATCH] mm: util: update the kerneldoc for kstrdup_const()

2020-06-28 Thread Joe Perches
On Sun, 2020-06-28 at 20:06 +0200, Bartosz Golaszewski wrote: > On Sun, Jun 28, 2020 at 7:37 PM Joe Perches wrote: > > On Sun, 2020-06-28 at 17:25 +0200, Bartosz Golaszewski wrote: > > > From: Bartosz Golaszewski > > > > > > Memory allocated with kstrdup_const() must not be passed to regular >

Re: [PATCH] mm: util: update the kerneldoc for kstrdup_const()

2020-06-28 Thread Bartosz Golaszewski
On Sun, Jun 28, 2020 at 7:37 PM Joe Perches wrote: > > On Sun, 2020-06-28 at 17:25 +0200, Bartosz Golaszewski wrote: > > From: Bartosz Golaszewski > > > > Memory allocated with kstrdup_const() must not be passed to regular > > krealloc() as it is not aware of the possibility of the chunk

Re: [PATCH] mm: util: update the kerneldoc for kstrdup_const()

2020-06-28 Thread Joe Perches
On Sun, 2020-06-28 at 17:25 +0200, Bartosz Golaszewski wrote: > From: Bartosz Golaszewski > > Memory allocated with kstrdup_const() must not be passed to regular > krealloc() as it is not aware of the possibility of the chunk residing > in .rodata. Since there are no potential users of