mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-07 04:12:04 -04:00
staging: IB/hfi1: use TASK_COMM_LEN in hfi1_ctxtdata
Use comm[TASK_COMM_LEN] instead of comm[16]. Signed-off-by: Geliang Tang <geliangtang@163.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
ac0a366799
commit
c3af8a28f4
1 changed files with 1 additions and 1 deletions
|
|
@ -262,7 +262,7 @@ struct hfi1_ctxtdata {
|
|||
pid_t pid;
|
||||
pid_t subpid[HFI1_MAX_SHARED_CTXTS];
|
||||
/* same size as task_struct .comm[], command that opened context */
|
||||
char comm[16];
|
||||
char comm[TASK_COMM_LEN];
|
||||
/* so file ops can get at unit */
|
||||
struct hfi1_devdata *dd;
|
||||
/* so functions that need physical port can get it easily */
|
||||
|
|
|
|||
Loading…
Reference in a new issue