Re: [PATCH] net: ppp: use {get,put}_unaligned_be{16,32}

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Jan 6, 2011 at 1:37 AM, Changli Gao <xiaosuo@xxxxxxxxx> wrote:
> Signed-off-by: Changli Gao <xiaosuo@xxxxxxxxx>
> ---
> Âdrivers/net/ppp_async.c  |  10 +++++-----
> Âdrivers/net/ppp_deflate.c | Â Â9 ++++-----
> Âdrivers/net/ppp_generic.c | Â Â9 ++++-----
> Âdrivers/net/ppp_mppe.c  Â|  Â7 +++----
> Âdrivers/net/ppp_synctty.c | Â Â3 ++-
> Â5 files changed, 18 insertions(+), 20 deletions(-)
> diff --git a/drivers/net/ppp_async.c b/drivers/net/ppp_async.c
> index 78d70a6..cbe1e13 100644
> --- a/drivers/net/ppp_async.c
> +++ b/drivers/net/ppp_async.c
> @@ -32,6 +32,7 @@
> Â#include <linux/init.h>
> Â#include <linux/jiffies.h>
> Â#include <linux/slab.h>
> +#include <linux/unaligned/be_struct.h>

#include <asm/unaligned.h>

Same for the other occurances, otherwise looks OK.

Harvey
--
To unsubscribe from this list: send the line "unsubscribe linux-ppp" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Audio Users]     [Linux for Hams]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Fedora Users]

  Powered by Linux