netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: David Miller <davem@davemloft.net>
To: tanxiaojun@huawei.com
Cc: yisen.zhuang@huawei.com, salil.mehta@huawei.com,
	huawei.libin@huawei.com, netdev@vger.kernel.org,
	linux-kernel@vger.kernel.org, wangzhou1@hisilicon.com,
	linyunsheng@huawei.com
Subject: Re: [PATCH] net: hns3: fix length overflow when CONFIG_ARM64_64K_PAGES
Date: Wed, 04 Apr 2018 11:46:25 -0400 (EDT)	[thread overview]
Message-ID: <20180404.114625.963104761929638198.davem@davemloft.net> (raw)
In-Reply-To: <1522834848-63974-1-git-send-email-tanxiaojun@huawei.com>

From: Tan Xiaojun <tanxiaojun@huawei.com>
Date: Wed, 4 Apr 2018 17:40:48 +0800

> When enable the config item "CONFIG_ARM64_64K_PAGES", the size of PAGE_SIZE
> is 65536(64K). But the type of length is u16, it will overflow. So change it
> to u32.
> 
> Signed-off-by: Tan Xiaojun <tanxiaojun@huawei.com>

Applied, thanks.

      reply	other threads:[~2018-04-04 15:46 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-04-04  9:40 [PATCH] net: hns3: fix length overflow when CONFIG_ARM64_64K_PAGES Tan Xiaojun
2018-04-04 15:46 ` David Miller [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20180404.114625.963104761929638198.davem@davemloft.net \
    --to=davem@davemloft.net \
    --cc=huawei.libin@huawei.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linyunsheng@huawei.com \
    --cc=netdev@vger.kernel.org \
    --cc=salil.mehta@huawei.com \
    --cc=tanxiaojun@huawei.com \
    --cc=wangzhou1@hisilicon.com \
    --cc=yisen.zhuang@huawei.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).