lkml.org 
[lkml]   [2018]   [Feb]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 2/2] Staging: netlogic: platform_net.c: introduced a helper function
On Wed, Jan 17, 2018 at 02:10:47PM +0530, Naveen Panwar wrote:
> In staging/netlogic/platform.c Refactoring the identical code used
> in several places for calculating the physical address of
> memory-mapped objects on the device.Put that into an inline helper
> function and use it.
>
> Adjust the types of arguments of xlr_resource_init() - 'offset' and 'irq'
> are actually unsigned. The values passed to those fit into 0..2G range,
> so the behaviour is unchanged, but it's more consistent that way.
>
> Signed-off-by: Naveen Panwar <naveen.panwar27@gmail.com>
> ---
> drivers/staging/netlogic/platform_net.c | 21 +++++++++++----------
> 1 file changed, 11 insertions(+), 10 deletions(-)

This patch does not apply at all :(

\
 
 \ /
  Last update: 2018-02-16 15:34    [W:0.040 / U:0.472 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site