summaryrefslogtreecommitdiff
path: root/bpfc
AgeCommit message (Expand)AuthorFilesLines
2013-07-30build: reduce Extra contents to bare minimumDaniel Borkmann1-0/+5
2013-07-11build: refactor tool specific flags into <tool>/MakefileDaniel Borkmann1-0/+2
2013-06-04xutils: eliminate xutils, move rest to epoll2Daniel Borkmann1-2/+0
2013-06-04sock: add socket management functionsDaniel Borkmann1-0/+1
2013-06-04xutils: break out string handling and lockingDaniel Borkmann1-0/+1
2013-03-15all: import netsniff-ng 0.5.8-rc0 sourceDaniel Borkmann2-0/+16
x/net-next.git/tree/Documentation?h=nds-private-remove&id=2f9ba5b2f8420e0e5712080dafc773f7dd47c3df'>Documentation parent7326fffb712f09a315bc73cc1ee63843f59b8bd4 (diff)
nvmem: core: return error for non word aligned access
nvmem providers have restrictions on register strides, so return error when users attempt to read/write buffers with sizes which are less than word size. Without this patch the userspace would continue to try as it does not get any error from the nvmem core, resulting in a hang or endless loop in userspace. Reported-by: Ariel D'Alessandro <ariel@vanguardiasur.com.ar> Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'Documentation')