Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1705625

Re: [PATCH] block/ps3vram: Delete an error message for a failed memory allocation in ps3vram_cache_init()

From Joe Perches <joe@perches.com>
Newsgroups linux.kernel
Subject Re: [PATCH] block/ps3vram: Delete an error message for a failed memory allocation in ps3vram_cache_init()
Date 2017-08-07 17:20 +0200
Message-ID <ubRYZ-1OG-13@gated-at.bofh.it> (permalink)
References <ubNVo-77X-11@gated-at.bofh.it> <ubRYZ-1OG-15@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Mon, 2017-08-07 at 08:10 -0700, Geoff Levand wrote:
> On 08/07/2017 03:52 AM, SF Markus Elfring wrote:
> > Omit an extra message for a memory allocation failure in this function.
> NACK
> 
> When a user asks me for help I would certainly like to get 
> 'Could not allocate cache tags' as apposed to nothing, since
> the return value of ps3vram_cache_init() is not checked.

You still get a dump_stack on alloc failure.

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH] block/ps3vram: Delete an error message for a failed memory  allocation in ps3vram_cache_init() SF Markus Elfring <elfring@users.sourceforge.net> - 2017-08-07 13:00 +0200
  Re: [PATCH] block/ps3vram: Delete an error message for a failed  memory allocation in ps3vram_cache_init() Joe Perches <joe@perches.com> - 2017-08-07 17:20 +0200
  Re: [PATCH] block/ps3vram: Delete an error message for a failed  memory allocation in ps3vram_cache_init() Geoff Levand <geoff@infradead.org> - 2017-08-07 17:20 +0200
    Re: block/ps3vram: Delete an error message for a failed memory  allocation in ps3vram_cache_init() SF Markus Elfring <elfring@users.sourceforge.net> - 2017-08-07 18:30 +0200
      Re: block/ps3vram: Delete an error message for a failed memory  allocation in ps3vram_cache_init() Geoff Levand <geoff@infradead.org> - 2017-08-07 20:30 +0200
        Re: block/ps3vram: Delete an error message for a failed memory  allocation in ps3vram_cache_init() SF Markus Elfring <elfring@users.sourceforge.net> - 2017-08-07 20:40 +0200
          Re: block/ps3vram: Delete an error message for a failed memory  allocation in ps3vram_cache_init() Geoff Levand <geoff@infradead.org> - 2017-08-07 20:50 +0200
            Re: block/ps3vram: Delete an error message for a failed memory  allocation in ps3vram_cache_init() SF Markus Elfring <elfring@users.sourceforge.net> - 2017-08-07 21:10 +0200
              Re: block/ps3vram: Delete an error message for a failed memory  allocation in ps3vram_cache_init() Geoff Levand <geoff@infradead.org> - 2017-08-07 22:20 +0200
                Re: block/ps3vram: Delete an error message for a failed memory  allocation in ps3vram_cache_init() SF Markus Elfring <elfring@users.sourceforge.net> - 2017-08-08 10:30 +0200
              Re: block/ps3vram: Delete an error message for a failed memory allocation in ps3vram_cache_init() Michael Ellerman <mpe@ellerman.id.au> - 2017-08-08 04:20 +0200

csiph-web