davidker / unisys

Master repository for new changes to drivers/staging/unisys and drivers/visorbus
Other
2 stars 1 forks source link

visornic: visornic_rx(): clean up issues involving return value #44

Closed selltc closed 8 years ago

selltc commented 8 years ago
1154  /**
1155   *      visornic_rx - Handle receive packets coming back from IO Part
1156   *      @cmdrsp: Receive packet returned from IO Part
1157   *
1158   *      Got a receive packet back from the IO Part, handle it and send
1159   *      it up the stack.
1160   *      Returns void

Source: Dan Carpenter dan.carpenter@oracle.com Mon 5/2/2016 5:53 AM

Actually it returns either zero or one but in a convoluted way. Update it to use literals and update the comment.

See KanBoard-1002

davidker commented 8 years ago

Patch?

ghost commented 8 years ago

branch: visornic_rx_rtn_val, commit 6422c33 checkpatch-cleared: yes T710-1 verified:

selltc commented 8 years ago

6/8 - Greg committed this to staging-testing and staging-next: