Closed AlexanderCurtin closed 8 years ago
I think one of the fields is indeed extraneous, and we should fix the code to use one or the other.
Looking back on it, the two attributes are `visorchannel.nbytes' and 'visorchannel.size'.
The issue is repaired:
David,
I switched the title of the patch to staging: Unisys: visorchannel: remove redundant member size
The previous headline was dealing too much with "issue" which I don't think makes sense in the kernel logs. Let me know if you have problems with the changed. It is currently in upstream-next and being processed.
The new title looks great!
The visorchannel struct both has nbytes and bytes. Both are set to the allocated bytes for the channel. They seem to be used interchangeably. Why?