Skip to content

Commit

Permalink
deploy: 756871e
Browse files Browse the repository at this point in the history
  • Loading branch information
jserv committed Oct 8, 2024
1 parent e841210 commit 308ad88
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 16 deletions.
12 changes: 6 additions & 6 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2530,15 +2530,15 @@ <h3 class='sectionHead' id='sysfs-interacting-with-your-module'><span class='tit
<a id='x1-38103r20'></a><span class='ecrm-0500'>20</span><span class='ectt-0800'>}</span>
<a id='x1-38105r21'></a><span class='ecrm-0500'>21</span>
<a id='x1-38107r22'></a><span class='ecrm-0500'>22</span><span id='textcolor1006'><span class='ectt-0800'>static</span></span><span class='ectt-0800'> </span><span id='textcolor1007'><span class='ectt-0800'>ssize_t</span></span><span class='ectt-0800'> myvariable_store(</span><span id='textcolor1008'><span class='ectt-0800'>struct</span></span><span class='ectt-0800'> kobject *kobj,</span>
<a id='x1-38109r23'></a><span class='ecrm-0500'>23</span><span class='ectt-0800'>                                </span><span id='textcolor1009'><span class='ectt-0800'>struct</span></span><span class='ectt-0800'> kobj_attribute *attr, </span><span id='textcolor1010'><span class='ectt-0800'>char</span></span><span class='ectt-0800'> *buf,</span>
<a id='x1-38111r24'></a><span class='ecrm-0500'>24</span><span class='ectt-0800'>                                </span><span id='textcolor1011'><span class='ectt-0800'>size_t</span></span><span class='ectt-0800'> count)</span>
<a id='x1-38109r23'></a><span class='ecrm-0500'>23</span><span class='ectt-0800'>                                </span><span id='textcolor1009'><span class='ectt-0800'>struct</span></span><span class='ectt-0800'> kobj_attribute *attr, </span><span id='textcolor1010'><span class='ectt-0800'>const</span></span><span class='ectt-0800'> </span><span id='textcolor1011'><span class='ectt-0800'>char</span></span><span class='ectt-0800'> *buf,</span>
<a id='x1-38111r24'></a><span class='ecrm-0500'>24</span><span class='ectt-0800'>                                </span><span id='textcolor1012'><span class='ectt-0800'>size_t</span></span><span class='ectt-0800'> count)</span>
<a id='x1-38113r25'></a><span class='ecrm-0500'>25</span><span class='ectt-0800'>{</span>
<a id='x1-38115r26'></a><span class='ecrm-0500'>26</span><span class='ectt-0800'>    sscanf(buf, </span><span id='textcolor1012'><span class='ectt-0800'>"%d"</span></span><span class='ectt-0800'>, &amp;myvariable);</span>
<a id='x1-38117r27'></a><span class='ecrm-0500'>27</span><span class='ectt-0800'>    </span><span id='textcolor1013'><span class='ectt-0800'>return</span></span><span class='ectt-0800'> count;</span>
<a id='x1-38115r26'></a><span class='ecrm-0500'>26</span><span class='ectt-0800'>    sscanf(buf, </span><span id='textcolor1013'><span class='ectt-0800'>"%d"</span></span><span class='ectt-0800'>, &amp;myvariable);</span>
<a id='x1-38117r27'></a><span class='ecrm-0500'>27</span><span class='ectt-0800'>    </span><span id='textcolor1014'><span class='ectt-0800'>return</span></span><span class='ectt-0800'> count;</span>
<a id='x1-38119r28'></a><span class='ecrm-0500'>28</span><span class='ectt-0800'>}</span>
<a id='x1-38121r29'></a><span class='ecrm-0500'>29</span>
<a id='x1-38123r30'></a><span class='ecrm-0500'>30</span><span id='textcolor1014'><span class='ectt-0800'>static</span></span><span class='ectt-0800'> </span><span id='textcolor1015'><span class='ectt-0800'>struct</span></span><span class='ectt-0800'> kobj_attribute myvariable_attribute =</span>
<a id='x1-38125r31'></a><span class='ecrm-0500'>31</span><span class='ectt-0800'>    __ATTR(myvariable, 0660, myvariable_show, (</span><span id='textcolor1016'><span class='ectt-0800'>void</span></span><span class='ectt-0800'> *)myvariable_store);</span>
<a id='x1-38123r30'></a><span class='ecrm-0500'>30</span><span id='textcolor1015'><span class='ectt-0800'>static</span></span><span class='ectt-0800'> </span><span id='textcolor1016'><span class='ectt-0800'>struct</span></span><span class='ectt-0800'> kobj_attribute myvariable_attribute =</span>
<a id='x1-38125r31'></a><span class='ecrm-0500'>31</span><span class='ectt-0800'>    __ATTR(myvariable, 0660, myvariable_show, myvariable_store);</span>
<a id='x1-38127r32'></a><span class='ecrm-0500'>32</span>
<a id='x1-38129r33'></a><span class='ecrm-0500'>33</span><span id='textcolor1017'><span class='ectt-0800'>static</span></span><span class='ectt-0800'> </span><span id='textcolor1018'><span class='ectt-0800'>int</span></span><span class='ectt-0800'> __init mymodule_init(</span><span id='textcolor1019'><span class='ectt-0800'>void</span></span><span class='ectt-0800'>)</span>
<a id='x1-38131r34'></a><span class='ecrm-0500'>34</span><span class='ectt-0800'>{</span>
Expand Down
8 changes: 4 additions & 4 deletions lkmpg-for-ht.css
Original file line number Diff line number Diff line change
Expand Up @@ -1488,13 +1488,13 @@ span#textcolor1006{color:rgb(0,0,255)}
span#textcolor1007{color:rgb(43,145,175)}
span#textcolor1008{color:rgb(0,0,255)}
span#textcolor1009{color:rgb(0,0,255)}
span#textcolor1010{color:rgb(43,145,175)}
span#textcolor1010{color:rgb(0,0,255)}
span#textcolor1011{color:rgb(43,145,175)}
span#textcolor1012{color:rgb(163,20,20)}
span#textcolor1013{color:rgb(0,0,255)}
span#textcolor1012{color:rgb(43,145,175)}
span#textcolor1013{color:rgb(163,20,20)}
span#textcolor1014{color:rgb(0,0,255)}
span#textcolor1015{color:rgb(0,0,255)}
span#textcolor1016{color:rgb(43,145,175)}
span#textcolor1016{color:rgb(0,0,255)}
span#textcolor1017{color:rgb(0,0,255)}
span#textcolor1018{color:rgb(43,145,175)}
span#textcolor1019{color:rgb(43,145,175)}
Expand Down
12 changes: 6 additions & 6 deletions lkmpg-for-ht.html
Original file line number Diff line number Diff line change
Expand Up @@ -2530,15 +2530,15 @@ <h3 class='sectionHead' id='sysfs-interacting-with-your-module'><span class='tit
<a id='x1-38103r20'></a><span class='ecrm-0500'>20</span><span class='ectt-0800'>}</span>
<a id='x1-38105r21'></a><span class='ecrm-0500'>21</span>
<a id='x1-38107r22'></a><span class='ecrm-0500'>22</span><span id='textcolor1006'><span class='ectt-0800'>static</span></span><span class='ectt-0800'> </span><span id='textcolor1007'><span class='ectt-0800'>ssize_t</span></span><span class='ectt-0800'> myvariable_store(</span><span id='textcolor1008'><span class='ectt-0800'>struct</span></span><span class='ectt-0800'> kobject *kobj,</span>
<a id='x1-38109r23'></a><span class='ecrm-0500'>23</span><span class='ectt-0800'>                                </span><span id='textcolor1009'><span class='ectt-0800'>struct</span></span><span class='ectt-0800'> kobj_attribute *attr, </span><span id='textcolor1010'><span class='ectt-0800'>char</span></span><span class='ectt-0800'> *buf,</span>
<a id='x1-38111r24'></a><span class='ecrm-0500'>24</span><span class='ectt-0800'>                                </span><span id='textcolor1011'><span class='ectt-0800'>size_t</span></span><span class='ectt-0800'> count)</span>
<a id='x1-38109r23'></a><span class='ecrm-0500'>23</span><span class='ectt-0800'>                                </span><span id='textcolor1009'><span class='ectt-0800'>struct</span></span><span class='ectt-0800'> kobj_attribute *attr, </span><span id='textcolor1010'><span class='ectt-0800'>const</span></span><span class='ectt-0800'> </span><span id='textcolor1011'><span class='ectt-0800'>char</span></span><span class='ectt-0800'> *buf,</span>
<a id='x1-38111r24'></a><span class='ecrm-0500'>24</span><span class='ectt-0800'>                                </span><span id='textcolor1012'><span class='ectt-0800'>size_t</span></span><span class='ectt-0800'> count)</span>
<a id='x1-38113r25'></a><span class='ecrm-0500'>25</span><span class='ectt-0800'>{</span>
<a id='x1-38115r26'></a><span class='ecrm-0500'>26</span><span class='ectt-0800'>    sscanf(buf, </span><span id='textcolor1012'><span class='ectt-0800'>"%d"</span></span><span class='ectt-0800'>, &amp;myvariable);</span>
<a id='x1-38117r27'></a><span class='ecrm-0500'>27</span><span class='ectt-0800'>    </span><span id='textcolor1013'><span class='ectt-0800'>return</span></span><span class='ectt-0800'> count;</span>
<a id='x1-38115r26'></a><span class='ecrm-0500'>26</span><span class='ectt-0800'>    sscanf(buf, </span><span id='textcolor1013'><span class='ectt-0800'>"%d"</span></span><span class='ectt-0800'>, &amp;myvariable);</span>
<a id='x1-38117r27'></a><span class='ecrm-0500'>27</span><span class='ectt-0800'>    </span><span id='textcolor1014'><span class='ectt-0800'>return</span></span><span class='ectt-0800'> count;</span>
<a id='x1-38119r28'></a><span class='ecrm-0500'>28</span><span class='ectt-0800'>}</span>
<a id='x1-38121r29'></a><span class='ecrm-0500'>29</span>
<a id='x1-38123r30'></a><span class='ecrm-0500'>30</span><span id='textcolor1014'><span class='ectt-0800'>static</span></span><span class='ectt-0800'> </span><span id='textcolor1015'><span class='ectt-0800'>struct</span></span><span class='ectt-0800'> kobj_attribute myvariable_attribute =</span>
<a id='x1-38125r31'></a><span class='ecrm-0500'>31</span><span class='ectt-0800'>    __ATTR(myvariable, 0660, myvariable_show, (</span><span id='textcolor1016'><span class='ectt-0800'>void</span></span><span class='ectt-0800'> *)myvariable_store);</span>
<a id='x1-38123r30'></a><span class='ecrm-0500'>30</span><span id='textcolor1015'><span class='ectt-0800'>static</span></span><span class='ectt-0800'> </span><span id='textcolor1016'><span class='ectt-0800'>struct</span></span><span class='ectt-0800'> kobj_attribute myvariable_attribute =</span>
<a id='x1-38125r31'></a><span class='ecrm-0500'>31</span><span class='ectt-0800'>    __ATTR(myvariable, 0660, myvariable_show, myvariable_store);</span>
<a id='x1-38127r32'></a><span class='ecrm-0500'>32</span>
<a id='x1-38129r33'></a><span class='ecrm-0500'>33</span><span id='textcolor1017'><span class='ectt-0800'>static</span></span><span class='ectt-0800'> </span><span id='textcolor1018'><span class='ectt-0800'>int</span></span><span class='ectt-0800'> __init mymodule_init(</span><span id='textcolor1019'><span class='ectt-0800'>void</span></span><span class='ectt-0800'>)</span>
<a id='x1-38131r34'></a><span class='ecrm-0500'>34</span><span class='ectt-0800'>{</span>
Expand Down

0 comments on commit 308ad88

Please sign in to comment.