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


Groups > linux.kernel > #1609489

Re: selinux: Delete unnecessary variable assignments in policydb_index()

From SF Markus Elfring <elfring@users.sourceforge.net>
Newsgroups linux.kernel
Subject Re: selinux: Delete unnecessary variable assignments in policydb_index()
Date 2017-03-27 08:30 +0200
Message-ID <tpwk9-3HQ-7@gated-at.bofh.it> (permalink)
References <sZUrL-3Jh-9@gated-at.bofh.it> <sZUBs-41H-27@gated-at.bofh.it> <toisW-8cF-27@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


> However, I agree with Casey that this patch is mostly just code churn
> so I'm going to drop this from your series.

How do you think about to return only constant error codes in this function?
Would it be acceptable to replace any statements “goto out;” with
“return -ENOMEM;” here instead?

Regards,
Markus

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


Thread

Re: [PATCH 07/46] selinux: Delete unnecessary variable assignments in policydb_index() Paul Moore <paul@paul-moore.com> - 2017-03-23 22:30 +0100
  Re: selinux: Delete unnecessary variable assignments in  policydb_index() SF Markus Elfring <elfring@users.sourceforge.net> - 2017-03-27 08:30 +0200

csiph-web