Re: [bug report] isofs: Implement show_options

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

 



Dan Carpenter <dan.carpenter@xxxxxxxxxx> wrote:

>    495          if (sbi->s_session != -1)       seq_printf(m, ",session=%u", sbi->s_session);
>                     ^^^^^^^^^^^^^^^^^^^^
> ->s_session is a u8 so it can't be -1

This should probably be 255 then.  It might make sense to initialise
popt->session to that too, rather than -1.

David
--
To unsubscribe from this list: send the line "unsubscribe kernel-janitors" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Kernel Development]     [Kernel Announce]     [Kernel Newbies]     [Linux Networking Development]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Device Mapper]

  Powered by Linux