th a new argument
> and a new static inline for the old hex_dump_to_buffer
> without modifying the argument list that calls
> hex_dump_to_buffer with whatever added argument content
> you need.
>
> Something like:
>
> static inline
> int hex_dump_to_buffer(const void
line, sizeof(line),
> - false) >= sizeof(line));
> + 0) >= sizeof(line));
> drm_printf(m, "[%04zx] %s\n", pos, line);
>
> pre
tel_engine_cs.c | 2 +-
For i915,
Acked-by: Jani Nikula
> drivers/isdn/hardware/mISDN/mISDNisar.c | 6 --
> drivers/mailbox/mailbox-test.c| 2 +-
> drivers/net/ethernet/amd/xgbe/xgbe-drv.c | 2 +-
> drivers/net/ethernet/synopsys/
On Tue, 19 Dec 2017, Joe Perches wrote:
> drivers/gpu/drm/i915/i915_sysfs.c | 12 ++--
For i915,
Acked-by: Jani Nikula
--
Jani Nikula, Intel Open Source Technology Center
___
devel mailing list
de...@linuxdriverproject.org
h
> it up some more, but it is also a more invasive change that we
>> can do separately at some point.
>
> Looks reasonable, but I think it'd be good to get Jani Nikula's explicit
> ack on this, since he dugg around a lot in this area. And he's on vacation
.
BR,
Jani.
--
Jani Nikula, Intel Open Source Technology Center
___
devel mailing list
de...@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel
ng comparison of the generated code. I'm a bit
surprised by what gcc does, I would have expected no difference, like
clang. https://godbolt.org/g/OdqUvN
The other changes adding const in this patch are, of course, good.
BR,
Jani.
--
Jani Nikula, Intel Open Source Technology Cen
+ .../vmbus-ed963694-e847-4b2a-85af-bc9cfc11d6f3/driver ->
> ../../../bus/vmbus/drivers/uio_hv_generic
> +
> +
> +
> +
> +
> +Things to know about uio_hv_generic
> +
> +On each interrupt, uio_hv_generic sets the Interr
On Fri, 01 Jul 2016, Markus Mayer wrote:
> On 1 July 2016 at 03:52, Jani Nikula wrote:
>> On Fri, 01 Jul 2016, Markus Mayer wrote:
>>> Add a function called strtolower() to convert strings to lower case
>>> in-place, overwriting the original string.
>>&
for (p = s; *p; p++)
> + *p = tolower(*p);
> +
> + return s;
Why does it return a value? Could be void?
BR,
Jani.
> +}
> +EXPORT_SYMBOL(strtolower);
--
Jani Nikula, Intel Open Source Technology Center
___
devel mailing list
de...@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel
10 matches
Mail list logo