RE: [PATCH v7 2/3] aerdrv: Enhanced AER logging

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

 



> > +	char *prefix = NULL;
> 
> What are you doing here? You dropped the 'prefix' argument being passed
> down in this function and are defining a local variable of the same
> name
> which is used in the function later:
> 
>         printk("%s""aer_status: 0x%08x, aer_mask: 0x%08x\n",
>                prefix, status, mask);
> 

Boris,

I removed the prefix argument because it was never used by its caller and never set.  The reason I added the prefix variable and set it to NULL was to help in breaking up the patch and adding it would help the intermittent patch build without changing too much code.   I knew I was actually going to use the variable in patch 3. 

Lance

��.n��������+%������w��{.n�����{���"�)��jg��������ݢj����G�������j:+v���w�m������w�������h�����٥



[Index of Archives]     [DMA Engine]     [Linux Coverity]     [Linux USB]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Greybus]

  Powered by Linux