Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932143AbYCAWct (ORCPT ); Sat, 1 Mar 2008 17:32:49 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1754473AbYCAWck (ORCPT ); Sat, 1 Mar 2008 17:32:40 -0500 Received: from twinlark.arctic.org ([208.69.40.136]:42545 "EHLO twinlark.arctic.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754337AbYCAWck (ORCPT ); Sat, 1 Mar 2008 17:32:40 -0500 Message-ID: <47C9D986.3040805@kernel.org> Date: Sat, 01 Mar 2008 14:32:38 -0800 From: "Andrew G. Morgan" User-Agent: Thunderbird 2.0.0.12 (X11/20080213) MIME-Version: 1.0 To: Andrew Morton CC: lkml Subject: [PATCH] cleanup: correct tabbing of check_kill_permission() X-Enigmail-Version: 0.95.6 Content-Type: multipart/mixed; boundary="------------070000020009010509080909" Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 3153 Lines: 68 This is a multi-part message in MIME format. --------------070000020009010509080909 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Andrew Here is a small patch to reformat the check_kill_permission() function. It doesn't change any functionality. There was something confusing about its tabbing previously, and it also ran over the 80 column limit. Cheers Andrew -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (GNU/Linux) iD8DBQFHydmF+bHCR3gb8jsRAmehAKDVnrOMVkHPhZslnhE1tVVXl2x07gCgsAse LdjzfIwC+dmOqfDGLwnhaOo= =pQEM -----END PGP SIGNATURE----- --------------070000020009010509080909 Content-Type: text/plain; name="0001-Reformat-check_kill_permission-function-to-make-it.patch" Content-Transfer-Encoding: base64 Content-Disposition: inline; filename*0="0001-Reformat-check_kill_permission-function-to-make-it.patc"; filename*1="h" RnJvbSA3ZGRhMGE3YWRiN2FiODcwZTAxZjkzYjZiMDY2NT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X3NpX3NwZWNpYWwoaW5mbykgJiYgU0lfRlJPTVVTRVIoaW5m bykpKSB7CisJCSAvKiBMZXQgYXVkaXQgc3lzdGVtIHNlZSB0aGUgc2lnbmFsICovCisJCWVy cm9yID0gYXVkaXRfc2lnbmFsX2luZm8oc2lnLCB0KTsKIAkJaWYgKGVycm9yKQogCQkJcmV0 dXJuIGVycm9yOwogCQllcnJvciA9IC1FUEVSTTsKLQkJaWYgKCgoc2lnICE9IFNJR0NPTlQp IHx8Ci0JCQkodGFza19zZXNzaW9uX25yKGN1cnJlbnQpICE9IHRhc2tfc2Vzc2lvbl9ucih0 KSkpCisJCWlmICgoKHNpZyAhPSBTSUdDT05UKQorCQkgICAgIHx8ICh0YXNrX3Nlc3Npb25f bnIoY3VycmVudCkgIT0gdGFza19zZXNzaW9uX25yKHQpKSkKIAkJICAgICYmIChjdXJyZW50 LT5ldWlkIF4gdC0+c3VpZCkgJiYgKGN1cnJlbnQtPmV1aWQgXiB0LT51aWQpCiAJCSAgICAm JiAoY3VycmVudC0+dWlkIF4gdC0+c3VpZCkgJiYgKGN1cnJlbnQtPnVpZCBeIHQtPnVpZCkK IAkJICAgICYmICFjYXBhYmxlKENBUF9LSUxMKSkKLQkJcmV0dXJuIGVycm9yOworCQkJcmV0 dXJuIGVycm9yOwogCX0KIAogCXJldHVybiBzZWN1cml0eV90YXNrX2tpbGwodCwgaW5mbywg c2lnLCAwKTsKLS0gCjEuNS4zLjcKCg== --------------070000020009010509080909-- -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/