Re: [rdma-core patch v3] srp_daemon: improve the debug message for is_enabled_by_rules_file

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

 



On Mon, Jul 15, 2019 at 12:16:14AM -0400, Honggang Li wrote:
> If the target was disallowed by rule file, user can not distinguish that
> from the old debug message.
> 
> pr_debug("Found an SRP target with id_ext %s - check if it allowed by rules file\n", target->id_ext);
> 
> It implicitly implied by the message next to the old debug message.
> 
> pr_debug("Found an SRP target with id_ext %s - check if it is already connected\n", target->id_ext);
> 
> The improved debug message will feedback the check result of rule file, user
> no longer needs to wonder the target is allowed or not.
> 
> Signed-off-by: Honggang Li <honli@xxxxxxxxxx>
>  srp_daemon/srp_daemon.c | 8 ++++++--
>  1 file changed, 6 insertions(+), 2 deletions(-)

Applied to for-next, thanks

Jason



[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]     [Yosemite Photos]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux