if (count > LED_MAX_LENGTH)
count = LED_MAX_LENGTH;
buf = memdup_user_nul(buffer, count); if (IS_ERR(buf)) return PTR_ERR(buf);
/* work around \n when echo'ing into proc */ if (buf[count - 1] == '\n')
buf[count - 1] = '\0';
/* before we change anything we want to stop any running timers, * otherwise calls such as on will have no persistent effect
*/
timer_delete_sync(&led_blink_timer);
MODULE_AUTHOR("Lars Kotthoff ");
MODULE_DESCRIPTION("Provides control of the front LED on SPARC systems.");
MODULE_LICENSE("GPL");
MODULE_VERSION(LED_VERSION);
Messung V0.5
¤ Dauer der Verarbeitung: 0.11 Sekunden
(vorverarbeitet)
¤
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.