Messages in this thread | | | Date | Fri, 16 Feb 2018 15:33:12 +0100 | From | Greg KH <> | Subject | Re: [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 :(
| |