Re: [V2 PATCH 2/9] csiostor: Chelsio FCoE offload driver submission (sources part 2).

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

 



On Wed, 5 Sep 2012 23:13:46 +0530
Naresh Kumar Inna <naresh@xxxxxxxxxxx> wrote:

> On 9/5/2012 9:59 PM, Stephen Hemminger wrote:
> > On Wed,  5 Sep 2012 18:03:55 +0530
> > Naresh Kumar Inna <naresh@xxxxxxxxxxx> wrote:
> > 
> >> This patch contains code for driver initialization, driver resource
> >> allocation and the Work Request module functionality. Driver initialization
> >> includes module entry/exit points, registration with PCI, FC transport and
> >> SCSI mid layer subsystems. The Work Request module provides services for
> >> allocation of DMA queues, posting Work Requests on them and processing
> >> completions.
> >>
> >> Signed-off-by: Naresh Kumar Inna <naresh@xxxxxxxxxxx>
> > 
> > Although the comments say you are using proc fs, there is no
> > code here related to that.
> 
> I will remove that comment.
> 
> > 
> > Any use of debugfs must be conditional the DEBUG_FS kernel configuration
> > parameter.  Your code probably will break if DEBUG_FS is not
> > enabled.  For a possible alternative see how a sub-config parameter
> > was added in sky2 driver.
> > 
> 
> It appears that debugfs_create_dir() returns an error if DEBUG_FS is not
> enabled. Considering the driver handles this error and continues
> initialization, do you still think I should guard this code within DEBUG_FS?
> 
> Thanks.

That works, just make sure and test it.
--
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]
  Powered by Linux