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


Groups > linux.kernel > #1698511

Re: [PATCH v7 16/26] x86/insn-eval: Support both signed 32-bit and 64-bit effective addresses

From Borislav Petkov <bp@suse.de>
Newsgroups linux.kernel
Subject Re: [PATCH v7 16/26] x86/insn-eval: Support both signed 32-bit and 64-bit effective addresses
Date 2017-07-28 09:00 +0200
Message-ID <u87pD-gP-3@gated-at.bofh.it> (permalink)
References (1 earlier) <tDPZF-5j6-31@gated-at.bofh.it> <tPLnA-8w9-17@gated-at.bofh.it> <u7hKp-12B-13@gated-at.bofh.it> <u7R1w-6CD-15@gated-at.bofh.it> <u82T0-5RI-7@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Thu, Jul 27, 2017 at 07:04:52PM -0700, Ricardo Neri wrote:
> However using the union could be less readable than having two almost
> identical functions.

So having some small duplication for the sake of clarity and readability
is much better, if you ask me. And it's not like you're duplicating a
lot of code - it is only a handful of functions.

-- 
Regards/Gruss,
    Boris.

SUSE Linux GmbH, GF: Felix Imendörffer, Jane Smithard, Graham Norton, HRB 21284 (AG Nürnberg)
-- 

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


Thread

Re: [PATCH v7 16/26] x86/insn-eval: Support both signed 32-bit and  64-bit effective addresses Ricardo Neri <ricardo.neri-calderon@linux.intel.com> - 2017-07-26 01:50 +0200
  Re: [PATCH v7 16/26] x86/insn-eval: Support both signed 32-bit and  64-bit effective addresses Borislav Petkov <bp@suse.de> - 2017-07-27 15:30 +0200
    Re: [PATCH v7 16/26] x86/insn-eval: Support both signed 32-bit and  64-bit effective addresses Ricardo Neri <ricardo.neri-calderon@linux.intel.com> - 2017-07-28 04:10 +0200
      Re: [PATCH v7 16/26] x86/insn-eval: Support both signed 32-bit and  64-bit effective addresses Borislav Petkov <bp@suse.de> - 2017-07-28 09:00 +0200

csiph-web