<feed xmlns='http://www.w3.org/2005/Atom'>
<title>user/sven/linux.git/drivers/hsi, branch v4.4.166</title>
<subtitle>Linux Kernel
</subtitle>
<id>https://git.stealer.net/cgit.cgi/user/sven/linux.git/atom?h=v4.4.166</id>
<link rel='self' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/atom?h=v4.4.166'/>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/'/>
<updated>2018-03-24T09:58:42Z</updated>
<entry>
<title>HSI: ssi_protocol: double free in ssip_pn_xmit()</title>
<updated>2018-03-24T09:58:42Z</updated>
<author>
<name>Dan Carpenter</name>
<email>dan.carpenter@oracle.com</email>
</author>
<published>2017-04-21T10:39:09Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=fd63c2b253338edd6fc594860333b2e4e1a0a910'/>
<id>urn:sha1:fd63c2b253338edd6fc594860333b2e4e1a0a910</id>
<content type='text'>
[ Upstream commit 3026050179a3a9a6f5c892c414b5e36ecf092081 ]

If skb_pad() fails then it frees skb and we don't need to free it again
at the end of the function.

Fixes: dc7bf5d7 ("HSI: Introduce driver for SSI Protocol")
Signed-off-by: Dan Carpenter &lt;dan.carpenter@oracle.com&gt;
Signed-off-by: Sebastian Reichel &lt;sre@kernel.org&gt;
Signed-off-by: Sasha Levin &lt;alexander.levin@microsoft.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>hsi: controllers:remove redundant code</title>
<updated>2015-10-30T15:10:40Z</updated>
<author>
<name>Sanjeev Sharma</name>
<email>sanjeev_sharma@mentor.com</email>
</author>
<published>2015-10-29T10:04:55Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=16bd5865cdb3b190105db21bd22a0ca0501e7b20'/>
<id>urn:sha1:16bd5865cdb3b190105db21bd22a0ca0501e7b20</id>
<content type='text'>
Use devm_ioremap_resource() in order to make the code simpler,
and remove redundant return value check of platform_get_resource()
because this value is alreadytaken care by devm_ioremap_resource()

Signed-off-by: Sanjeev Sharma &lt;sanjeev_sharma@mentor.com&gt;
Signed-off-by: Sebastian Reichel &lt;sre@kernel.org&gt;
</content>
</entry>
<entry>
<title>hsi: correctly handle return value of kzalloc</title>
<updated>2015-10-19T09:42:02Z</updated>
<author>
<name>Insu Yun</name>
<email>wuninsu@gmail.com</email>
</author>
<published>2015-10-17T19:25:07Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=d2c85ac24ed7636934f469fac8836b87c7e6cb40'/>
<id>urn:sha1:d2c85ac24ed7636934f469fac8836b87c7e6cb40</id>
<content type='text'>
Since kzalloc can be failed in memory pressure,
its return value should be checked and handled.

Signed-off-by: Insu Yun &lt;wuninsu@gmail.com&gt;
Signed-off-by: Sebastian Reichel &lt;sre@kernel.org&gt;
</content>
</entry>
<entry>
<title>hsi: omap_ssi_port: Prevent warning if cawake_gpio is not defined.</title>
<updated>2015-10-14T11:24:44Z</updated>
<author>
<name>Roger Quadros</name>
<email>rogerq@ti.com</email>
</author>
<published>2015-10-14T10:44:15Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=e74eba049356fdad6713ab66322d9aeb0e85608b'/>
<id>urn:sha1:e74eba049356fdad6713ab66322d9aeb0e85608b</id>
<content type='text'>
The error handling path is broken as cawake_gpio was defined as
unsigned integer causing the following warnings on boards that don't
use SSI port and so don't have cawake_gpio defined. e.g. beagleboard C4.

[   30.094635] WARNING: CPU: 0 PID: 322 at drivers/gpio/gpiolib.c:86 gpio_to_desc+0xa4/0xb8()
[   30.103363] invalid GPIO -2
[   30.106292] Modules linked in: omap_ssi_port(+) cpufreq_dt cfbfillrect cfbimgblt leds_gpio cfbcopyarea thermal_sys led_class hwmon gpio_keys encoder_tfp410 connector_analog_tv connector_dvi omap_hdq snd phy_i
[   30.145477] CPU: 0 PID: 322 Comm: modprobe Not tainted 4.3.0-rc4-00030-gca978c0-dirty #335
[   30.154174] Hardware name: Generic OMAP3-GP (Flattened Device Tree)
[   30.160827] [&lt;c0016ef4&gt;] (unwind_backtrace) from [&lt;c00131f4&gt;] (show_stack+0x10/0x14)
[   30.168975] [&lt;c00131f4&gt;] (show_stack) from [&lt;c033cf08&gt;] (dump_stack+0x80/0x9c)
[   30.176635] [&lt;c033cf08&gt;] (dump_stack) from [&lt;c003e920&gt;] (warn_slowpath_common+0x7c/0xb8)
[   30.185180] [&lt;c003e920&gt;] (warn_slowpath_common) from [&lt;c003e9f0&gt;] (warn_slowpath_fmt+0x30/0x40)
[   30.194366] [&lt;c003e9f0&gt;] (warn_slowpath_fmt) from [&lt;c0376314&gt;] (gpio_to_desc+0xa4/0xb8)
[   30.202819] [&lt;c0376314&gt;] (gpio_to_desc) from [&lt;c0376ac8&gt;] (gpio_request_one+0x14/0x11c)
[   30.211273] [&lt;c0376ac8&gt;] (gpio_request_one) from [&lt;c037370c&gt;] (devm_gpio_request_one+0x3c/0x78)
[   30.220458] [&lt;c037370c&gt;] (devm_gpio_request_one) from [&lt;bf184210&gt;] (ssi_port_probe+0x118/0x504 [omap_ssi_port])
[   30.231170] [&lt;bf184210&gt;] (ssi_port_probe [omap_ssi_port]) from [&lt;c03d4cfc&gt;] (platform_drv_probe+0x48/0xa4)
[   30.241424] [&lt;c03d4cfc&gt;] (platform_drv_probe) from [&lt;c03d3678&gt;] (driver_probe_device+0x1dc/0x2a0)
[   30.250793] [&lt;c03d3678&gt;] (driver_probe_device) from [&lt;c03d37d0&gt;] (__driver_attach+0x94/0x98)
[   30.259643] [&lt;c03d37d0&gt;] (__driver_attach) from [&lt;c03d1d60&gt;] (bus_for_each_dev+0x54/0x88)
[   30.268249] [&lt;c03d1d60&gt;] (bus_for_each_dev) from [&lt;c03d2d50&gt;] (bus_add_driver+0xe8/0x1f8)
[   30.276916] [&lt;c03d2d50&gt;] (bus_add_driver) from [&lt;c03d4118&gt;] (driver_register+0x78/0xf4)
[   30.285369] [&lt;c03d4118&gt;] (driver_register) from [&lt;c03d5380&gt;] (__platform_driver_probe+0x34/0xd8)
[   30.294647] [&lt;c03d5380&gt;] (__platform_driver_probe) from [&lt;c00097e4&gt;] (do_one_initcall+0x80/0x1d8)
[   30.303985] [&lt;c00097e4&gt;] (do_one_initcall) from [&lt;c011617c&gt;] (do_init_module+0x5c/0x1cc)
[   30.312561] [&lt;c011617c&gt;] (do_init_module) from [&lt;c00c7a68&gt;] (load_module+0x18c8/0x1f0c)
[   30.320983] [&lt;c00c7a68&gt;] (load_module) from [&lt;c00c8188&gt;] (SyS_init_module+0xdc/0x150)
[   30.329223] [&lt;c00c8188&gt;] (SyS_init_module) from [&lt;c000f7e0&gt;] (ret_fast_syscall+0x0/0x1c)

Fixes: b209e047bc743 ("HSI: Introduce OMAP SSI driver")
Signed-off-by: Roger Quadros &lt;rogerq@ti.com&gt;
Signed-off-by: Sebastian Reichel &lt;sre@kernel.org&gt;
</content>
</entry>
<entry>
<title>hsi: fix double kfree</title>
<updated>2015-10-14T11:22:00Z</updated>
<author>
<name>Geliang Tang</name>
<email>geliangtang@163.com</email>
</author>
<published>2015-10-01T14:35:21Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=f098a045350ecd6045f2f2d5a50fecf2a98962d7'/>
<id>urn:sha1:f098a045350ecd6045f2f2d5a50fecf2a98962d7</id>
<content type='text'>
When device_register() fails, kfree() is called in hsi_client_release(),
hence there is no need to call kfree in err3 again.

Fixes: a2aa24734d9db ("HSI: Add common DT binding for HSI client devices")
Signed-off-by: Geliang Tang &lt;geliangtang@163.com&gt;
Signed-off-by: Sebastian Reichel &lt;sre@kernel.org&gt;
</content>
</entry>
<entry>
<title>HSI: Fix a typo</title>
<updated>2015-09-18T21:02:08Z</updated>
<author>
<name>Jakub Wilk</name>
<email>jwilk@jwilk.net</email>
</author>
<published>2015-08-12T14:15:35Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=c616ac28a5b392a03eaa1bbab2bdb1d8931cfdb8'/>
<id>urn:sha1:c616ac28a5b392a03eaa1bbab2bdb1d8931cfdb8</id>
<content type='text'>
Signed-off-by: Jakub Wilk &lt;jwilk@jwilk.net&gt;
Signed-off-by: Sebastian Reichel &lt;sre@kernel.org&gt;
</content>
</entry>
<entry>
<title>mm: mark most vm_operations_struct const</title>
<updated>2015-09-10T20:29:01Z</updated>
<author>
<name>Kirill A. Shutemov</name>
<email>kirill.shutemov@linux.intel.com</email>
</author>
<published>2015-09-09T22:39:26Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=7cbea8dc0127a95226c7722a738ac6534950ef67'/>
<id>urn:sha1:7cbea8dc0127a95226c7722a738ac6534950ef67</id>
<content type='text'>
With two exceptions (drm/qxl and drm/radeon) all vm_operations_struct
structs should be constant.

Signed-off-by: Kirill A. Shutemov &lt;kirill.shutemov@linux.intel.com&gt;
Reviewed-by: Oleg Nesterov &lt;oleg@redhat.com&gt;
Cc: "H. Peter Anvin" &lt;hpa@zytor.com&gt;
Cc: Andy Lutomirski &lt;luto@amacapital.net&gt;
Cc: Dave Hansen &lt;dave.hansen@linux.intel.com&gt;
Cc: Ingo Molnar &lt;mingo@elte.hu&gt;
Cc: Minchan Kim &lt;minchan@kernel.org&gt;
Cc: Thomas Gleixner &lt;tglx@linutronix.de&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
</entry>
<entry>
<title>Merge tag 'module-implicit-v4.1-rc8' of git://git.kernel.org/pub/scm/linux/kernel/git/paulg/linux</title>
<updated>2015-07-02T17:25:22Z</updated>
<author>
<name>Linus Torvalds</name>
<email>torvalds@linux-foundation.org</email>
</author>
<published>2015-07-02T17:25:22Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=9d86b4128cdf791a3e7c21ac1cf4564a4fca36b6'/>
<id>urn:sha1:9d86b4128cdf791a3e7c21ac1cf4564a4fca36b6</id>
<content type='text'>
Pull implicit module.h fixes from Paul Gortmaker:
 "Fix up implicit &lt;module.h&gt; users that will break later.

  The files changed here are simply modular source files that are
  implicitly relying on &lt;module.h&gt; being present.  We fix them up now,
  so that we can decouple some of the module related init code from the
  core init code in the future.

  The addition of the module.h include to several files here is also a
  no-op from a code generation point of view, else there would already
  be compile issues with these files today.

  There may be lots more implicit includes of &lt;module.h&gt; in tree, but
  these are the ones that extensive build test coverage has shown that
  must be fixed in order to avoid build breakage fallout for the pending
  module.h &lt;---&gt; init.h code relocation we desire to complete"

* tag 'module-implicit-v4.1-rc8' of git://git.kernel.org/pub/scm/linux/kernel/git/paulg/linux:
  frv: add module.h to mb93090-mb00/flash.c to avoid compile fail
  drivers/cpufreq: include &lt;module.h&gt; for modular exynos-cpufreq.c code
  drivers/staging: include &lt;module.h&gt; for modular android tegra_ion code
  crypto/asymmetric_keys: pkcs7_key_type needs module.h
  sh: mach-highlander/psw.c is tristate and should use module.h
  drivers/regulator: include &lt;module.h&gt; for modular max77802 code
  drivers/pcmcia: include &lt;module.h&gt; for modular xxs1500_ss code
  drivers/hsi: include &lt;module.h&gt; for modular omap_ssi code
  drivers/gpu: include &lt;module.h&gt; for modular rockchip code
  drivers/gpio: include &lt;module.h&gt; for modular crystalcove code
  drivers/clk: include &lt;module.h&gt; for clk-max77xxx modular code
</content>
</entry>
<entry>
<title>HSI: nokia-modem: use flags argument of devm_gpiod_get to set direction</title>
<updated>2015-06-23T00:40:03Z</updated>
<author>
<name>Uwe Kleine-König</name>
<email>u.kleine-koenig@pengutronix.de</email>
</author>
<published>2015-06-08T09:53:45Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=f451e76f896922137f8316cb071ae2cab78091ad'/>
<id>urn:sha1:f451e76f896922137f8316cb071ae2cab78091ad</id>
<content type='text'>
Since 39b2bbe3d715 (gpio: add flags argument to gpiod_get*() functions)
which appeared in v3.17-rc1, the gpiod_get* functions take an additional
parameter that allows to specify direction and initial value for output.

Use this to simplify the driver. Furthermore this is one caller less
that stops us making the flags argument to gpiod_get*() mandatory.

Signed-off-by: Uwe Kleine-König &lt;u.kleine-koenig@pengutronix.de&gt;
Acked-by: Alexandre Courbot &lt;acourbot@nvidia.com&gt;
Signed-off-by: Sebastian Reichel &lt;sre@kernel.org&gt;
</content>
</entry>
<entry>
<title>HSI: nokia-modem: Reduce missing driver message to debug level</title>
<updated>2015-06-23T00:40:03Z</updated>
<author>
<name>Sebastian Reichel</name>
<email>sre@kernel.org</email>
</author>
<published>2015-05-04T13:51:36Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=505875e12a6c3bf08f333d1dba59e5e14f883c05'/>
<id>urn:sha1:505875e12a6c3bf08f333d1dba59e5e14f883c05</id>
<content type='text'>
Reduce message priority from dev_err to dev_dbg for missing cmt-speech
or ssi-protocol drivers, since they will be probed again and it may
result in spamming the boot log.

Reported-by: Aaro Koskinen &lt;aaro.koskinen@iki.fi&gt;
Signed-off-by: Sebastian Reichel &lt;sre@kernel.org&gt;
</content>
</entry>
</feed>
