Re: watchdog pdev id set to -1

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

 



Hi,

(don't top-post)

On Fri, Feb 18, 2011 at 04:39:48PM +0530, Koyamangalath, Abhilash wrote:
> I understand, but is there a subtle reason why are starting from
> an erroneous-looking -1 rather than a more natural 0 (or 1 ?).

-1 means no ID. The IDs are zero-based, so we can't use zero. Just
change that value and see how things change on sysfs and dmesg then you
will know what I'm talking about. That's just an implementation decision
of using -1 to signify "no ID needed".

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


[Index of Archives]     [Linux Arm (vger)]     [ARM Kernel]     [ARM MSM]     [Linux Tegra]     [Linux WPAN Networking]     [Linux Wireless Networking]     [Maemo Users]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux