public inbox for linux-next@vger.kernel.org 
 help / color / mirror / Atom feed
From: Stephen Rothwell <sfr@canb•auug.org.au>
To: Randy Dunlap <rdunlap@infradead•org>, Jiri Kosina <jkosina@suse•cz>
Cc: linux-next@vger•kernel.org, linux-kernel@vger•kernel.org,
	"Rickard Strandqvist" <rickard_strandqvist@spectrumdigital•se>,
	"Pali Rohár" <pali.rohar@gmail•com>
Subject: linux-next: manual merge of the rd-docs tree with the trivial tree
Date: Wed, 9 Jul 2014 17:14:14 +1000	[thread overview]
Message-ID: <20140709171414.5d995396@canb.auug.org.au> (raw)

[-- Attachment #1: Type: text/plain, Size: 1181 bytes --]

Hi Randy,

Today's linux-next merge of the rd-docs tree got a conflict in
Documentation/laptops/freefall.c between commit d5ae11dc402f ("doc:
hpfall.c: fix missing null-terminate after strncpy call") from the
trivial tree and commit 0af05db576e9 ("Dell kernel driver dell-smo8800
provides same freefall interface as hp_accel so") from the rd-docs tree.

I fixed it up (see below) and can carry the fix as necessary (no action
is required).

-- 
Cheers,
Stephen Rothwell                    sfr@canb•auug.org.au

diff --cc Documentation/laptops/freefall.c
index 67084321dab4,aab2ff09e868..000000000000
--- a/Documentation/laptops/freefall.c
+++ b/Documentation/laptops/freefall.c
@@@ -27,8 -33,8 +33,9 @@@ static int set_unload_heads_path(char *
  
  	if (strlen(device) <= 5 || strncmp(device, "/dev/", 5) != 0)
  		return -EINVAL;
- 	strncpy(devname, device + 5, sizeof(devname));
+ 	strncpy(devname, device + 5, sizeof(devname) - 1);
 +	devname[sizeof(devname) - 1] = '\0';
+ 	strncpy(device_path, device, sizeof(device_path) - 1);
  
  	snprintf(unload_heads_path, sizeof(unload_heads_path) - 1,
  				"/sys/block/%s/device/unload_heads", devname);

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 819 bytes --]

             reply	other threads:[~2014-07-09  7:14 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-07-09  7:14 Stephen Rothwell [this message]
  -- strict thread matches above, loose matches on Subject: below --
2014-08-26  5:48 linux-next: manual merge of the rd-docs tree with the trivial tree Stephen Rothwell

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=20140709171414.5d995396@canb.auug.org.au \
    --to=sfr@canb$(echo .)auug.org.au \
    --cc=jkosina@suse$(echo .)cz \
    --cc=linux-kernel@vger$(echo .)kernel.org \
    --cc=linux-next@vger$(echo .)kernel.org \
    --cc=pali.rohar@gmail$(echo .)com \
    --cc=rdunlap@infradead$(echo .)org \
    --cc=rickard_strandqvist@spectrumdigital$(echo .)se \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html
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