]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
libata-eh.c: local functions should not be exposed globally
authorH Hartley Sweeten <hartleys@visionengravers.com>
Thu, 12 Apr 2012 22:40:37 +0000 (15:40 -0700)
committerJeff Garzik <jgarzik@redhat.com>
Wed, 25 Jul 2012 19:17:32 +0000 (15:17 -0400)
commit604284071ab09df80fc9872c84c3b4b914ce0f95
tree27d909e116ad79fc6717b5a459478a911872351e
parentb0e73af78a1ceeeabf2bb30e798ecf55243edba8
libata-eh.c: local functions should not be exposed globally

The function ata_ering_clear_cb is only referenced in this file and
should be marked static to prevent it from being exposed globally.

This quiets the sparse warning:

warning: symbol 'ata_ering_clear_cb' was not declared. Should it be static?

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
drivers/ata/libata-eh.c