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


Groups > linux.kernel > #1248113

Re: [PATCH] keys: correctly check failed allocation for kmemdup

From David Howells <dhowells@redhat.com>
Newsgroups linux.kernel
Subject Re: [PATCH] keys: correctly check failed allocation for kmemdup
Date 2015-10-15 21:50 +0200
Message-ID <qjWHg-7WB-23@gated-at.bofh.it> (permalink)
References <qjWHg-7WB-25@gated-at.bofh.it> <qjTzI-3md-23@gated-at.bofh.it> <qjVUR-6LD-1@gated-at.bofh.it> <qjWHg-7WB-25@gated-at.bofh.it>
Organization Red Hat UK Ltd. Registered Address: Red Hat UK Ltd, Amberley Place, 107-111 Peascod Street, Windsor, Berkshire, SI4 1TE, United Kingdom. Registered in England and Wales under Company Registration No. 3798903

Show all headers | View raw


Insu Yun <wuninsu@gmail.com> wrote:

> Thanks David. Then it is not a bug.
> It's a pure question. 
> Why use different name for allocation and check?
> For me, it is quite confusing. 

Either I didn't notice at the time, or the shorter variant is the original.

If you want to give me a patch making it consistent, feel free.

David
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

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


Thread

[PATCH] keys: correctly check failed allocation for kmemdup Insu Yun <wuninsu@gmail.com> - 2015-10-15 18:30 +0200
  Re: [PATCH] keys: correctly check failed allocation for kmemdup David Howells <dhowells@redhat.com> - 2015-10-15 21:00 +0200
    Re: [PATCH] keys: correctly check failed allocation for kmemdup David Howells <dhowells@redhat.com> - 2015-10-15 21:50 +0200

csiph-web