Re: [PATCH 1/3] Fix GPE registers read/write handling.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Gleb Natapov wrote:

It's strange that write_val() and reset_val() return a value. Won't it be cleaner to make val a pointer?

From functional programing POV no, it is not cleaner. But I don't really
care where to do assignment.

We're not doing functional programming:

  a = f(a, x)

is just duplication, but still has an assignment.

--
error compiling committee.c: too many arguments to function

--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux