<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/fs/cifs/cifs_debug.h, branch linux-4.4.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-4.4.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-4.4.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2016-10-28T07:01:30Z</updated>
<entry>
<title>lib: update single-char callers of strtobool()</title>
<updated>2016-10-28T07:01:30Z</updated>
<author>
<name>Kees Cook</name>
</author>
<published>2016-03-17T21:22:54Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=7367f9deceadab778cea65448e880ebb295fe995'/>
<id>urn:sha1:7367f9deceadab778cea65448e880ebb295fe995</id>
<content type='text'>
commit 1404297ebf76fd91a41de215fc8c94c2619e5fdb upstream.

Some callers of strtobool() were passing a pointer to unterminated
strings.  In preparation of adding multi-character processing to
kstrtobool(), update the callers to not pass single-character pointers,
and switch to using the new kstrtobool_from_user() helper where
possible.

Signed-off-by: Kees Cook &lt;keescook@chromium.org&gt;
Cc: Amitkumar Karwar &lt;akarwar@marvell.com&gt;
Cc: Nishant Sarmukadam &lt;nishants@marvell.com&gt;
Cc: Kalle Valo &lt;kvalo@codeaurora.org&gt;
Cc: Steve French &lt;sfrench@samba.org&gt;
Cc: Andy Shevchenko &lt;andy.shevchenko@gmail.com&gt;
Cc: Daniel Borkmann &lt;daniel@iogearbox.net&gt;
Cc: Heiko Carstens &lt;heiko.carstens@de.ibm.com&gt;
Cc: Joe Perches &lt;joe@perches.com&gt;
Cc: Kees Cook &lt;keescook@chromium.org&gt;
Cc: Martin Schwidefsky &lt;schwidefsky@de.ibm.com&gt;
Cc: Michael Ellerman &lt;mpe@ellerman.id.au&gt;
Cc: Rasmus Villemoes &lt;linux@rasmusvillemoes.dk&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
[removed mwifiex driver change as it was correct and not needed for 4.4.y]
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;

</content>
</entry>
<entry>
<title>cifs: Ratelimit kernel log messages</title>
<updated>2016-02-25T20:01:17Z</updated>
<author>
<name>Jamie Bainbridge</name>
</author>
<published>2015-11-07T12:13:49Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=88413fceab844abec9e8007aaeec35c4bfc3f3fc'/>
<id>urn:sha1:88413fceab844abec9e8007aaeec35c4bfc3f3fc</id>
<content type='text'>
commit ec7147a99e33a9e4abad6fc6e1b40d15df045d53 upstream.

Under some conditions, CIFS can repeatedly call the cifs_dbg() logging
wrapper. If done rapidly enough, the console framebuffer can softlockup
or "rcu_sched self-detected stall". Apply the built-in log ratelimiters
to prevent such hangs.

Signed-off-by: Jamie Bainbridge &lt;jamie.bainbridge@gmail.com&gt;
Signed-off-by: Steve French &lt;smfrench@gmail.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;

</content>
</entry>
<entry>
<title>cifs: convert printk(LEVEL...) to pr_&lt;level&gt;</title>
<updated>2014-12-08T04:48:07Z</updated>
<author>
<name>Andy Shevchenko</name>
</author>
<published>2014-08-27T13:49:44Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=0b456f04bcdf5b1151136adaada158bfc26f1be7'/>
<id>urn:sha1:0b456f04bcdf5b1151136adaada158bfc26f1be7</id>
<content type='text'>
The useful macros embed message level in the name. Thus, it cleans up the code
a bit. In cases when it was plain printk() the conversion was done to info
level.

Signed-off-by: Andy Shevchenko &lt;andriy.shevchenko@linux.intel.com&gt;
Signed-off-by: Steve French &lt;steve.french@primarydata.com&gt;
</content>
</entry>
<entry>
<title>[CIFS] cifs: Rename cERROR and cFYI to cifs_dbg</title>
<updated>2013-05-05T03:17:23Z</updated>
<author>
<name>Joe Perches</name>
</author>
<published>2013-05-05T03:12:25Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=f96637be081141d6f8813429499f164260b49d70'/>
<id>urn:sha1:f96637be081141d6f8813429499f164260b49d70</id>
<content type='text'>
It's not obvious from reading the macro names that these macros
are for debugging.  Convert the names to a single more typical
kernel style cifs_dbg macro.

	cERROR(1, ...)   -&gt; cifs_dbg(VFS, ...)
	cFYI(1, ...)     -&gt; cifs_dbg(FYI, ...)
	cFYI(DBG2, ...)  -&gt; cifs_dbg(NOISY, ...)

Move the terminating format newline from the macro to the call site.

Add CONFIG_CIFS_DEBUG function cifs_vfs_err to emit the
"CIFS VFS: " prefix for VFS messages.

Size is reduced ~ 1% when CONFIG_CIFS_DEBUG is set (default y)

$ size fs/cifs/cifs.ko*
   text    data     bss     dec     hex filename
 265245	   2525	    132	 267902	  4167e	fs/cifs/cifs.ko.new
 268359    2525     132  271016   422a8 fs/cifs/cifs.ko.old

Other miscellaneous changes around these conversions:

o Miscellaneous typo fixes
o Add terminating \n's to almost all formats and remove them
  from the macros to be more kernel style like.  A few formats
  previously had defective \n's
o Remove unnecessary OOM messages as kmalloc() calls dump_stack
o Coalesce formats to make grep easier,
  added missing spaces when coalescing formats
o Use %s, __func__ instead of embedded function name
o Removed unnecessary "cifs: " prefixes
o Convert kzalloc with multiply to kcalloc
o Remove unused cifswarn macro

Signed-off-by: Joe Perches &lt;joe@perches.com&gt;
Signed-off-by: Jeff Layton &lt;jlayton@redhat.com&gt;
Signed-off-by: Steve French &lt;smfrench@gmail.com&gt;
</content>
</entry>
<entry>
<title>cifs: eliminate cifsERROR variable</title>
<updated>2012-12-20T17:27:17Z</updated>
<author>
<name>Jeff Layton</name>
</author>
<published>2012-12-18T11:35:10Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=9acbd26b0a5ac4a3d52d31034feb3d935e39032a'/>
<id>urn:sha1:9acbd26b0a5ac4a3d52d31034feb3d935e39032a</id>
<content type='text'>
It's always set to "1" and there's no way to change it to anything else.

Signed-off-by: Jeff Layton &lt;jlayton@redhat.com&gt;
Signed-off-by: Steve French &lt;sfrench@us.ibm.com&gt;
</content>
</entry>
<entry>
<title>cifs: Add CONFIG_CIFS_DEBUG and rename use of CIFS_DEBUG</title>
<updated>2012-12-05T20:58:36Z</updated>
<author>
<name>Joe Perches</name>
</author>
<published>2012-12-05T20:42:58Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=471b1f98719a8e8f34f3a696d488e50754f8cf73'/>
<id>urn:sha1:471b1f98719a8e8f34f3a696d488e50754f8cf73</id>
<content type='text'>
This can reduce the size of the module by ~120KB which
could be useful for embedded systems.

$ size fs/cifs/built-in.o*
   text	   data	    bss	    dec	    hex	filename
 388567	  34459	 100440	 523466	  7fcca	fs/cifs/built-in.o.new
 495970	  34599	 117904	 648473	  9e519	fs/cifs/built-in.o.old

Signed-off-by: Joe Perches &lt;joe@perches.com&gt;
Reviewed-by: Jeff Layton &lt;jlayton@redhat.com&gt;
</content>
</entry>
<entry>
<title>cifs: Make CIFS_DEBUG possible to undefine</title>
<updated>2012-12-05T20:58:09Z</updated>
<author>
<name>Joe Perches</name>
</author>
<published>2012-12-05T20:42:47Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=bde98197310fd085ee4bb00ab310abcbe55b0664'/>
<id>urn:sha1:bde98197310fd085ee4bb00ab310abcbe55b0664</id>
<content type='text'>
Make the compilation work again when CIFS_DEBUG is not #define'd.

Add format and argument verification for the various macros when
CIFS_DEBUG is not #define'd.

Signed-off-by: Joe Perches &lt;joe@perches.com&gt;
Reviewed-by: Jeff Layton &lt;jlayton@redhat.com&gt;
</content>
</entry>
<entry>
<title>cifs: Remove unused cEVENT macro</title>
<updated>2012-12-05T19:27:31Z</updated>
<author>
<name>Joe Perches</name>
</author>
<published>2012-11-29T19:37:18Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=176c9b3939d22bb1177eb15010e600bc59a1b0b5'/>
<id>urn:sha1:176c9b3939d22bb1177eb15010e600bc59a1b0b5</id>
<content type='text'>
It uses an undefined KERN_EVENT and is itself unused.

Signed-off-by: Joe Perches &lt;joe@perches.com&gt;
Reviewed-by: Jeff Layton &lt;jlayton@redhat.com&gt;
Signed-off-by: Steve French &lt;sfrench@us.ibm.com&gt;
Signed-off-by: Steve French &lt;smfrench@gmail.com&gt;
</content>
</entry>
<entry>
<title>CIFS: Move protocol specific demultiplex thread calls to ops struct</title>
<updated>2012-05-23T08:33:11Z</updated>
<author>
<name>Pavel Shilovsky</name>
</author>
<published>2012-05-17T09:25:35Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=8aa26f3ed80ddbaf78804b6481fcfdbd447caa1c'/>
<id>urn:sha1:8aa26f3ed80ddbaf78804b6481fcfdbd447caa1c</id>
<content type='text'>
Acked-by: Shirish Pargaonkar &lt;shirishpargaonkar@gmail.com&gt;
Signed-off-by: Pavel Shilovsky &lt;piastry@etersoft.ru&gt;
Signed-off-by: Steve French &lt;sfrench@us.ibm.com&gt;
</content>
</entry>
<entry>
<title>CIFS: Separate protocol-specific code from demultiplex code</title>
<updated>2012-03-23T18:28:02Z</updated>
<author>
<name>Pavel Shilovsky</name>
</author>
<published>2012-03-23T18:28:02Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=d4e4854fd1c85ac8ba4d6de39703e07704754b85'/>
<id>urn:sha1:d4e4854fd1c85ac8ba4d6de39703e07704754b85</id>
<content type='text'>
Signed-off-by: Pavel Shilovsky &lt;piastry@etersoft.ru&gt;
</content>
</entry>
</feed>
